[Tioga-users] tioga 1.4 segmentation fault
Vincent Fourmond
vincent.fourmond at 9online.fr
Thu Feb 15 18:13:50 EST 2007
Edwin wrote:
> #include "intern.h"
> #undef PRIVATE
> #define PRIVATE static
> #include "dvector_intern.h"
>
> This causes the following warning at compilation:
> In file included from Dvector/dvector_intern.h:25,
> from Dvector/dvector.c:33:
> ./namespace.h:40:1: warning: "PRIVATE" redefined
Well, I knew it. I'll make it a little cleaner later on, if that
happens to work.
>> It might not stop segfaults, but they really should appear on another
>> test (not Dtable anymore).
>
> The tests seem to run fine (not sure if they always did):
> edwin at vimes:~/tmp/tioga-1.4/tests$ ruby ts_Tioga.rb
> [...]
> 78 tests, 724 assertions, 0 failures, 0 errors
OK. That should be good news, shouldn't it ?
> But still a segmentation fault while running tioga
> (gdb) run /usr/bin/tioga sine.rb -0
> Starting program: /usr/bin/ruby /usr/bin/tioga sine.rb -0
> loading /home/edwin/tmp/samples/sine.rb
Hum. Did you make sure you have no files from an old tioga
installation somewhere ? (I got caught by those many times...).
Did you try running other files in samples ? Do they all show the same
behavior ? What about ctioga (if you're using it) ?
> Program received signal SIGSEGV, Segmentation fault.
> 0x007d6630 in ?? ()
What does the bt command of gdb says ?
Thanks for the informations. I'm off to bed, so don't expect anything
before a (decently long) while. Cheers !
Vincent
--
Vincent Fourmond, PhD student (not for long anymore)
http://vincent.fourmond.neuf.fr/
More information about the Tioga-users
mailing list