Forum: Ruby-core [ruby-trunk - Bug #5756][Open] crashs when Twitter.update_with_media with rails

Posted by SungHee Kang (Guest)
on 2011-12-13 07:58
(Received via mailing list)
Issue #5756 has been reported by SungHee Kang.

----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
http://redmine.ruby-lang.org/issues/5756

Author: SungHee Kang
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 1.9.3.dev


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by Shota Fukumori (Guest)
on 2011-12-13 08:11
(Received via mailing list)
Issue #5756 has been updated by Shota Fukumori.

Status changed from Open to Feedback

* please upload full of log; your uploaded "crashog.txt" seems partial.
* "ruby -v" is not output of `ruby -v`; please paste exact output of 
"ruby -v" like this: ruby 2.0.0dev (2011-11-25 trunk 33837) 
[x86_64-darwin11.2.0]

thanks.
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
http://redmine.ruby-lang.org/issues/5756

Author: SungHee Kang
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 1.9.3.dev


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by SungHee Kang (Guest)
on 2011-12-14 08:25
(Received via mailing list)
Issue #5756 has been updated by SungHee Kang.


I can't upload full logs because it's too long. It was rendered only 600 
lines.
'ruby -v' is ruby 1.9.3dev (2011-09-23 revision 33323) 
[x86_64-darwin10.6.0]

best regards.
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
http://redmine.ruby-lang.org/issues/5756

Author: SungHee Kang
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 1.9.3.dev


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by Shota Fukumori (Guest)
on 2011-12-14 08:45
(Received via mailing list)
Issue #5756 has been updated by Shota Fukumori.

ruby -v changed from 1.9.3.dev to ruby 1.9.3dev (2011-09-23 revision 
33323) [x86_64-darwin10.6.0]

take a log doing like this: `ruby aaa.rb|&tee crash.log` or `ruby aaa.rb 
2>&1 >crash.log`
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
http://redmine.ruby-lang.org/issues/5756

Author: SungHee Kang
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.6.0]


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by SungHee Kang (Guest)
on 2011-12-14 08:48
(Received via mailing list)
Issue #5756 has been updated by SungHee Kang.


Thanks. But how can I do this on rails?
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
http://redmine.ruby-lang.org/issues/5756

Author: SungHee Kang
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.6.0]


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by SungHee Kang (Guest)
on 2011-12-14 09:00
(Received via mailing list)
Issue #5756 has been updated by SungHee Kang.

File crash.log added

Got It! I changed the iTerm scrollback status to unlimited then I should 
take a full log.

Best regards.
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
http://redmine.ruby-lang.org/issues/5756

Author: SungHee Kang
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.6.0]


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by Shota Fukumori (Guest)
on 2011-12-14 11:23
(Received via mailing list)
Issue #5756 has been updated by Shota Fukumori.


SungHee Kang wrote:
> Thanks. But how can I do this on rails?

Simply do `rails something|&tee…  :-)

If you're using OSX, please upload a crash log generated by OS X
See: 
http://bugs.ruby-lang.org/projects/ruby/wiki/HowTo...
>If Ruby crashed on OS X, you should have a crashlog under 
~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter. You should paste or 
attach it if available.
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
http://redmine.ruby-lang.org/issues/5756

Author: SungHee Kang
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.6.0]


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by SungHee Kang (Guest)
on 2011-12-14 12:56
(Received via mailing list)
Issue #5756 has been updated by SungHee Kang.

File crash_macos.log added

Thanks for the response. I will attach the crash log for MacOS.
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
http://redmine.ruby-lang.org/issues/5756

Author: SungHee Kang
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.6.0]


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by mame (Yusuke Endoh) (Guest)
on 2012-10-30 17:53
(Received via mailing list)
Issue #5756 has been updated by mame (Yusuke Endoh).

Status changed from Feedback to Assigned
Assignee set to sorah (Shota Fukumori)

OP provided a feedback.  Sorah, please check it.

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
https://bugs.ruby-lang.org/issues/5756#change-32025

Author: paranoiase (SungHee Kang)
Status: Assigned
Priority: Normal
Assignee: sorah (Shota Fukumori)
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.6.0]


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by sorah (Shota Fukumori) (Guest)
on 2012-10-31 03:21
(Received via mailing list)
Issue #5756 has been updated by sorah (Shota Fukumori).

Status changed from Assigned to Feedback

seems crashing on openssl. please try building ruby again with openssl 
NOT COMES WITH OS X (building by your hand, including using homebrew or 
macports or some)
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
https://bugs.ruby-lang.org/issues/5756#change-32050

Author: paranoiase (SungHee Kang)
Status: Feedback
Priority: Normal
Assignee: sorah (Shota Fukumori)
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.6.0]


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Posted by drbrain (Eric Hodel) (Guest)
on 2013-01-25 22:49
(Received via mailing list)
Issue #5756 has been updated by drbrain (Eric Hodel).

Status changed from Feedback to Rejected

No response from the submitter after a feedback request so I am 
rejecting this.
----------------------------------------
Bug #5756: crashs when Twitter.update_with_media with rails
https://bugs.ruby-lang.org/issues/5756#change-35649

Author: paranoiase (SungHee Kang)
Status: Rejected
Priority: Normal
Assignee: sorah (Shota Fukumori)
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-darwin10.6.0]


I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the 
interpreter crashs.

~~ ruby
class WelcomeController < ApplicationController
  def upload
    Twitter.update_with_media("I'm tweeting with gem!", 
File.new('screenshot.png'))
  end
~~

it doesn't crash when I use 1.9.2. or 1.9.3dev without rails.
You can reproduse this situation to

 1. create new rails 3.1.3 projects
 2. add gem 'twitter' in your Gemfile
 3. configure twitter consumer key, secret and oauth token, secret in 
your config/initializers
 4. make the action WelcomeController#upload and route it to POST 
/upload
 5. run the server and access POST /upload
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.