Re: Fwd: Re: [Fxruby-users] random crashes with FXTable
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <jl...@cf...> - 2003-07-21 19:41:22
|
Emmanuel Touzery wrote: > but for me it's quite amazing, i tried to reduce the program to reproduce the > crash (i hoped to port it to C++ to see if it's a FOX problem maybe) I wouldn't bother porting it to C++, it's extremely unlikely to be a FOX problem. > what is your system? I have access to SuSE linux boxes at work (a bit old > versions i'm afraid). if (big luck but ok) i would have access to the same > version of linux than you, i could try to make it reproduceable there.. (i > assume you're on x86). Yes, I'm running Red Hat Linux 8.0 on x86. > if you can debug on windows, too (i assume), which windows? i have access to > 98/XP/2000 boxes. i can try to make it crash for sure on those too.. I can run the code on Windows (either Win2000 or WinXP) but have never found a good solution for interactively debugging Ruby extensions (like FXRuby) on Windows. The best I can do with Windows (usually) is to just add print statements to the C++ source code to try to "triangulate" the source of the error ;) As you've already discovered, the best route is to try to consistently reproduce the problem under Linux, where it's generally easier to debug. > (i'll try to generate dummy .glo files until i get something) OK. > i agree with you it should be related to the ruby garbage collector.. AND in > my case, the systematic crash under linux goes away when i add GC.disable at > the start of the program. i'll try under windows to see if my other crashes > go away, tomorrow... OK. I would still like to actually track down the bug (and not just work around it!) but I'm glad the GC.disable trick seems to help for now. |