Project

General

Profile

Backport #5299

Segmentation fault when using TweetStream gem in ruby 1.9.3

Added by dushyanth (Dushyanth Maguluru) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:39380]

Description

=begin
=== Using tweetstream gem like this results in segfault:
TweetStream::Client.new('username','password').track('term1', 'term2') do |status|
puts "#{status.text}"
end

=== Environment:
ruby 1.9.3dev (2011-09-02 revision 33163) [x86_64-linux]

CentOS 5.2 (2.6.18-238.19.1.el5.centos.plus)

=== Attached files:
(1) List of gems installed (bundler's Gemfile)
(2) Ruby trace
(3) GDB trace
=end

Gemfile (2.16 KB) Gemfile dushyanth (Dushyanth Maguluru), 09/09/2011 05:52 AM
ruby_trace.txt (33.4 KB) ruby_trace.txt dushyanth (Dushyanth Maguluru), 09/09/2011 05:52 AM
gdb_trace.txt (16.3 KB) gdb_trace.txt dushyanth (Dushyanth Maguluru), 09/09/2011 05:52 AM
Gemfile.txt (2.16 KB) Gemfile.txt dushyanth (Dushyanth Maguluru), 09/09/2011 05:55 AM

Related issues

Related to Ruby trunk - Bug #5306: Application Hangs Due to Recent rb_thread_select ChangesClosed2011-09-10

Associated revisions

Revision 33231
Added by nobu (Nobuyoshi Nakada) over 6 years ago

  • thread.c (rb_thread_select): fix a typo to initialize efds properly. [Bug #5299]

Revision 33231
Added by nobu (Nobuyoshi Nakada) over 6 years ago

  • thread.c (rb_thread_select): fix a typo to initialize efds properly. [Bug #5299]

Revision 33231
Added by nobu (Nobuyoshi Nakada) over 6 years ago

  • thread.c (rb_thread_select): fix a typo to initialize efds properly. [Bug #5299]

Revision 33231
Added by nobu (Nobuyoshi Nakada) over 6 years ago

  • thread.c (rb_thread_select): fix a typo to initialize efds properly. [Bug #5299]

Revision 33258
Added by kosaki (Motohiro KOSAKI) over 6 years ago

  • Backport r33231.

  • thread.c (rb_thread_select): fix a typo to initialize efds
    properly. [Bug #5299]

History

#2 [ruby-core:39383] Updated by dushyanth (Dushyanth Maguluru) over 6 years ago

Please note that this happens outside of a rails app as well.

#3 Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r33231.
Dushyanth, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • thread.c (rb_thread_select): fix a typo to initialize efds properly. [Bug #5299]

#4 Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby trunk to Backport193
  • Status changed from Closed to Assigned
  • Assignee set to kosaki (Motohiro KOSAKI)
  • Priority changed from Normal to 6
  • Target version deleted (1.9.3)

#5 [ruby-core:39430] Updated by kosaki (Motohiro KOSAKI) over 6 years ago

Yes, it's regression. we need to backport it soon.

#6 [ruby-core:39433] Updated by cfis (Charlie Savage) over 6 years ago

Does "backport it soon" means backport it for the 1.9.3 release? I hope the answer is yes, its a pretty important bug for us.

#7 [ruby-core:39436] Updated by kosaki (Motohiro KOSAKI) over 6 years ago

Does "backport it soon" means backport it for the 1.9.3 release?  I hope the answer is yes, its a pretty important bug for us.

Yes, I mean backport it for 1.9.3p0.

#8 Updated by kosaki (Motohiro KOSAKI) over 6 years ago

  • Status changed from Assigned to Closed

This issue was solved with changeset r33258.
Dushyanth, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • Backport r33231.

  • thread.c (rb_thread_select): fix a typo to initialize efds
    properly. [Bug #5299]

Also available in: Atom PDF