Re: [libxml-devel] Segmentation fault in document.rb

2008-09-08 Thread Charlie Savage
Dmitri, I just got this error /var/lib/gems/1.8/gems/libxml-ruby-0.8.3/lib/libxml/document.rb:40: [BUG] Segmentation fault Could someone explain, what that is? You'll have to provide a lot more information if you'd like help. At a minimum, a testcase, traceback, ruby info, libxml version

Re: [libxml-devel] Segmentation fault in document.rb

2008-09-08 Thread Dmitri Priimak
Charlie Savage wrote: Dmitri, I just got this error /var/lib/gems/1.8/gems/libxml-ruby-0.8.3/lib/libxml/document.rb:40: [BUG] Segmentation fault Could someone explain, what that is? You'll have to provide a lot more information if you'd like help. At a minimum, a testcase, traceback, ru

Re: [libxml-devel] Segmentation fault in document.rb

2008-09-08 Thread Charlie Savage
libxml2.so.2.7.1 Red Hat Enterprise Linux AS release 4 (Nahant Update 7) ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] That is all I have for now. However, the crashing is sporadic and consistent test case may not be possible. Can I even get a traceback on Segmentation fault ? What ver

Re: [libxml-devel] Segmentation fault in document.rb

2008-09-08 Thread Dmitri Priimak
Charlie Savage wrote: libxml2.so.2.7.1 Red Hat Enterprise Linux AS release 4 (Nahant Update 7) ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] That is all I have for now. However, the crashing is sporadic and consistent test case may not be possible. Can I even get a traceback on Segmenta

Re: [libxml-devel] Segmentation fault in document.rb

2008-09-08 Thread Charlie Savage
Traceback - sure. Make sure your version of libxml-ruby and libxml are compiled with debug information. Then enable crash dumps on your linux box. When you see a crash, inspect the crash dump. Alternatively, run your rails app under gdb (or attach to it with gdb) and set it up to break on