[Fluxus] Fluxus Segmentation Fault

Chris Targett xin at xlevus.net
Mon Dec 1 21:05:30 PST 2008


Hi

I've recently managed to build the trunk CVS version of Fluxus in
Ubuntu 8.10. I've used ubuntu packages for almost everything except
ODE, which I compiled from source.

For PLT i've compiled the trunk version in SVN, and also tried using
the version in Ubuntu (which I think is r372), both result in the same
error.

Unfortunatley, when I run the binary I get a segmentation fault. The
backtrace is as follows

xin at bebop:~/fluxus/fluxus$ ./fluxus
Segmentation fault

xin at bebop:~/fluxus/fluxus$ gdb fluxus
(gdb) run
Starting program: /home/xin/fluxus/fluxus/fluxus
[Thread debugging using libthread_db enabled]
[New Thread 0x7f15d7011700 (LWP 24718)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f15d7011700 (LWP 24718)]
GC_add_roots (start=0x8b70d0, end=0x8b70d9) at ./roots.c:86
86        if (roots->count >= roots->size) {
Current language:  auto; currently c

(gdb) backtrace
#0  GC_add_roots (start=0x8b70d0, end=0x8b70d9) at ./roots.c:86
#1  0x00000000004295d0 in fluxus::Interpreter::Register () at
src/Interpreter.cpp:47
#2  0x0000000000434c10 in main (argc=<value optimized out>,
argv=0x8b70d9) at src/main.cpp:182


I've tried debugging things further with insight but haven't had much
luck. When setting a watch on 'gc' at line 83 in roots.c insight
reports all the values as
(<type>) Could not read variable object after assignment)
(where <type> is the objects type) Unfortunatley that's the fullest
extent of my debugging skills.

If anybody could shine some light on this issue it would be greatly
appreciated thanks.

Chris Targett



More information about the Fluxus mailing list