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

2008-09-09 Thread Charlie Savage
Tom Bagby wrote: I had intended to clean this up and post it as a real patch, but never had the time. I believe the ivar stuff does work fine, its just something that I changed while I was digging around for what the problem was and I never backed it out. Ref-counting was the only solution I

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

2008-09-09 Thread Tom Bagby
e.org Subject: Re: [libxml-devel] Segmentation fault in document.rb Hi Tom, Thanks for posting the patch. Tom Bagby wrote: > I just sent this with an attachment, which I've now removed because I think > the list doesn't like me doing that: > > Actually, this seg fault occurs

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

2008-09-09 Thread Charlie Savage
Hi Tom, Thanks for posting the patch. Tom Bagby wrote: I just sent this with an attachment, which I've now removed because I think the list doesn't like me doing that: Actually, this seg fault occurs during normal running, not just when Ruby is exiting. We had a ton of crashing due to this.

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

2008-09-09 Thread Tom Bagby
D] on behalf of Charlie Savage Sent: Tue 9/9/2008 9:29 AM To: libxml-devel@rubyforge.org Subject: Re: [libxml-devel] Segmentation fault in document.rb >> In my view its a bug in Ruby's GC. See the emails I posted to >> ruby-core a couple month ago. There is a way to work around

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

2008-09-09 Thread Tom Bagby
. If you don't use xpointer this patch should solve your problems. -Tom -Original Message- From: [EMAIL PROTECTED] on behalf of Charlie Savage Sent: Tue 9/9/2008 9:29 AM To: libxml-devel@rubyforge.org Subject: Re: [libxml-devel] Segmentation fault in document.rb >> In my v

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

2008-09-09 Thread Charlie Savage
In my view its a bug in Ruby's GC. See the emails I posted to ruby-core a couple month ago. There is a way to work around it, but haven't go to that yet. Could you expand on it, workaround that is? Perhaps I could help you with it. http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-c

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

2008-09-09 Thread Dmitri Priimak
Charlie Savage wrote: Dmitri Priimak wrote: Charlie Savage wrote: 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 ra

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

2008-09-09 Thread Charlie Savage
Dmitri Priimak wrote: Charlie Savage wrote: 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 at

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

2008-09-09 Thread Dmitri Priimak
Charlie Savage wrote: 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

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

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
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: 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
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

[libxml-devel] Segmentation fault in document.rb

2008-09-06 Thread Dmitri Priimak
Hi Guys. 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? -- Dmitri Priimak ___ libxml-devel mailing list libxml-devel@rubyforge.org http://ruby