[Bug 779265] New: SEGFAULT in timeout when processing http request in Ruby 1.8.7
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c0 Summary: SEGFAULT in timeout when processing http request in Ruby 1.8.7 Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jaroslav@kamenik.cz QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 I have ruby app not compatible with Ruby 1.9 so I had to install older version of Ruby. I used version 1.8.7.p357-1.10 from repo devel:languages:ruby at buildserver. It always crashed doing http request with: /usr/lib64/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux] Reproducible: Always Steps to Reproduce: #!/usr/bin/ruby1.8 require 'net/http' Net::HTTP.start('google.com') do |http| req = Net::HTTP::Get.new("/aaa") resp = http.request(req) end Actual Results: ./crash.rb /usr/lib64/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux] Neúspěšně ukončen (SIGABRT) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |dmueller@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmueller@suse.com |mrueckert@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |BuildService Version|Final |unspecified AssignedTo|mrueckert@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 12.2 |openSUSE.org QAContact|qa-bugs@suse.de |adrian@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c1 Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |mrueckert@suse.com InfoProvider| |jaroslav@kamenik.cz AssignedTo|bnc-team-screening@forge.pr |mrueckert@suse.com |ovo.novell.com | --- Comment #1 from Marcus Rückert <mrueckert@suse.com> 2012-09-11 15:17:40 UTC --- works for me? maybe because i dont run into the timeout. a few notes: 1. please provide a stack trace 2. this package is not part of the distro in 12.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Severity|Critical |Normal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c2 --- Comment #2 from Jaroslav Kameník <jaroslav@kamenik.cz> 2012-09-12 08:30:35 UTC --- Could you try it again some slower server? I have no stacktrace, it did not write nothing else I sent earlier. I can produce core dump if it helps you. And where should I report bugs for repo http://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_12... ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c3 --- Comment #3 from Marcus Rückert <mrueckert@suse.com> 2012-09-12 10:22:48 UTC --- 1. zypper in ruby18-debuginfo 2. gdb --args ruby crash.rb after it crashed: 3. enter in gdb: bt bt full put the output into a text file and attach it to this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c4 --- Comment #4 from Jaroslav Kameník <jaroslav@kamenik.cz> 2012-09-12 12:59:04 UTC --- Created an attachment (id=505412) --> (http://bugzilla.novell.com/attachment.cgi?id=505412) result from gdb -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c5 --- Comment #5 from Marcus Rückert <mrueckert@suse.com> 2012-10-24 14:37:02 UTC --- that stacktrace is completely useless. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c6 Brian Shand <spam2007@oliviawill.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spam2007@oliviawill.com --- Comment #6 from Brian Shand <spam2007@oliviawill.com> 2012-11-28 15:11:21 UTC --- I had the same problem, and slightly narrowed down the test case (with packages ruby18 and ruby19 both installed): #!/usr/bin/ruby1.8 sleep 1 y = Thread.start { sleep 1 } Actual results: $ ruby1.8 crash2.rb crash2.rb:5: [BUG] Segmentation fault ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux] Aborted -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779265 https://bugzilla.novell.com/show_bug.cgi?id=779265#c7 Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|jaroslav@kamenik.cz | Resolution| |WORKSFORME --- Comment #7 from Marcus Rückert <mrueckert@suse.com> 2014-06-10 10:50:08 UTC --- no more details -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com