Bug #1890

Segmentation fault

Added by dima4p (Dmitri Koulikov) almost 3 years ago. Updated about 1 year ago.

[ruby-core:24779]
Status:Feedback Start date:08/05/2009
Priority:High Due date:
Assignee:knu (Akinori MUSHA) % Done:

0%

Category:-
Target version:-
ruby -v:ruby 1.8.7 (2009-08-04 patchlevel 194) [i486-linux]

Description

Qt4-qtruby-2.0.3
ActiveResource 2.3.2

After the third request to the server via active resource I get

|/usr/lib/ruby/1.8/rexml/parent.rb:39: [BUG] Segmentation fault
|ruby 1.8.7 (2009-08-04 patchlevel 194) [i486-linux]
|
|./run: line 11: 22362 Aborted                 ruby init.rb

Sometimes there is another place the exception occures
/usr/lib/ruby/1.8/rexml/text.rb:313: [BUG] Segmentation fault
or
./xmlsimple.rb:932: [BUG] Segmentation fault
This file is just the local copy of /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb

Attached are:
1. stderr for -y switch for ruby.
2. Content received from the server.

issues.xml (24.8 kB) dima4p (Dmitri Koulikov), 08/05/2009 08:27 pm

History

Updated by dima4p (Dmitri Koulikov) almost 3 years ago

Some additional places for segfault

/usr/lib/ruby/site_ruby/1.8/Qt/qtruby4.rb:3059:                qt_methods(_constants, 0x10, true)
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:358:              attributes = {}

Updated by dima4p (Dmitri Koulikov) almost 3 years ago

It seems the file #1 can not be uploaded.

Updated by dima4p (Dmitri Koulikov) almost 3 years ago

1. my project under ruby-1.8.6_p111 works fine
2. my project under ruby-1.8.7_p72  works find either
3. ruby-1.8.6_p114 fails under libsafe, while p111 works fine

   Conclusion: most probably, the bug appears somewhere in between 111 and 114 patchlevels of 1.8.6.

P.S. It would be nice if ruby will work under libsafe again.

Updated by knu (Akinori MUSHA) over 2 years ago

  • Status changed from Open to Feedback
Seems this issue has been left unattended for a while.
Would you try again with the latest revisions of branches/ruby_1_8_7 and branches/ruby_1_8?

Also available in: Atom PDF