[Fluxus] fluxus segfault with 4 levels of dirs in path

Glauber Alex Dias Prado glauberalex at uol.com.br
Tue Sep 4 15:47:57 PDT 2007


Dave Griffiths <dave at pawfal.org> writes:

> On Mon, 2007-09-03 at 07:20 -0300, Glauber Alex Dias Prado wrote:
>> Hi Dave,
>> 
>> I get a segfault here when starting fluxus from something like:
>> 
>>  $ /home/user/third/fourth/fluxus-0.13
>> 
>> while it works ok with:
>> 
>>  $ /home/user/third/fluxus-0.13
>> 
>> I dont know what is the cause so I'm reporting it, i did tested it in
>> different levels and paths to make sure and its repeatable, this description
>> is the best I could come so far :).
>
> I don't get this - could you run it through gdb?
>
> cheers,
>
> dave

Sure,

Current directory is ~/live/fluxus/
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) handle SIGSEGV nostop noprint
Signal        Stop	Print	Pass to program	Description
SIGSEGV       No	No	Yes		Segmentation fault
(gdb) start
Breakpoint 1 at 0x4127f0: file main.cpp, line 169.
Starting program: /usr/bin/fluxus-0.13 
main (argc=1, argv=0x7fff43eedbb8) at main.cpp:169
(gdb) continue
Continuing.
Seg fault (internal error) at 0x65726578

Program received signal SIGABRT, Aborted.
0x00002b9068cf0df5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00002b9068cf0df5 in raise () from /lib/libc.so.6
#1  0x00002b9068cf216e in abort () from /lib/libc.so.6
#2  0x00002b906708660b in fault_handler () from /usr/lib/libmzscheme3m-370.6.so
#3  0x00002b9066ce50e0 in funlockfile () from /lib/libpthread.so.0
#4  0x00002b9066f760bc in scheme_hash_key () from /usr/lib/libmzscheme3m-370.6.so
#5  0x00002b9066f76749 in scheme_bucket_or_null_from_table () from /usr/lib/libmzscheme3m-370.6.so
#6  0x00002b9066f2b109 in scheme_do_add_global_symbol () from /usr/lib/libmzscheme3m-370.6.so
#7  0x00002b9066f2b31b in scheme_add_global () from /usr/lib/libmzscheme3m-370.6.so
#8  0x00002aaaab25863e in LightFunctions::AddGlobals (env=0x2aaaab07ba28) at LightFunctions.cpp:373
#9  0x00002aaaab234428 in scheme_reload (env=0x2aaaaaed5b18) at FluxusEngine.cpp:321
#10 0x00002b9066f24308 in scheme_default_load_extension () from /usr/lib/libmzscheme3m-370.6.so
#11 0x00002b9066f42be0 in scheme_do_eval () from /usr/lib/libmzscheme3m-370.6.so
#12 0x00002b9066fec41f in scheme_load_with_clrd () from /usr/lib/libmzscheme3m-370.6.so
#13 0x00002b9066f42be0 in scheme_do_eval () from /usr/lib/libmzscheme3m-370.6.so
#14 0x00002b9066f42e3e in scheme_do_eval () from /usr/lib/libmzscheme3m-370.6.so
#15 0x00002b9066f65474 in scheme_finish_apply_for_prompt () from /usr/lib/libmzscheme3m-370.6.so
#16 0x00002b9066f65639 in scheme_apply_for_prompt () from /usr/lib/libmzscheme3m-370.6.so
#17 0x00002b9066f712c1 in scheme_init_fun () from /usr/lib/libmzscheme3m-370.6.so
#18 0x00002b9066f42be0 in scheme_do_eval () from /usr/lib/libmzscheme3m-370.6.so
#19 0x00002b9066f6e05e in scheme_make_prim () from /usr/lib/libmzscheme3m-370.6.so
#20 0x00002b9066f6e22b in scheme_call_with_prompt () from /usr/lib/libmzscheme3m-370.6.so
#21 0x00002b9066ff159f in scheme_init_port_fun_config () from /usr/lib/libmzscheme3m-370.6.so
#22 0x00002b9066f625e5 in scheme_dynamic_wind () from /usr/lib/libmzscheme3m-370.6.so
#23 0x00002b9066ff0e82 in scheme_init_port_fun_config () from /usr/lib/libmzscheme3m-370.6.so
#24 0x00002b9066f42be0 in scheme_do_eval () from /usr/lib/libmzscheme3m-370.6.so
#25 0x00002b9066fec41f in scheme_load_with_clrd () from /usr/lib/libmzscheme3m-370.6.so
#26 0x00002b9066f42be0 in scheme_do_eval () from /usr/lib/libmzscheme3m-370.6.so
#27 0x00002b9066f4345b in scheme_do_eval () from /usr/lib/libmzscheme3m-370.6.so
#28 0x00002b9066f6a6f9 in top_level_do () from /usr/lib/libmzscheme3m-370.6.so
#29 0x00002b9066f6a9b6 in scheme_top_level_do () from /usr/lib/libmzscheme3m-370.6.so
#30 0x00002b9066f4391e in scheme_eval_multi () from /usr/lib/libmzscheme3m-370.6.so
#31 0x00002b9066f43a87 in scheme_eval () from /usr/lib/libmzscheme3m-370.6.so
#32 0x000000000040ba60 in fluxus::Interpreter::Interpret (this=0x51abe0, str=@0x7fff43eeda50, ret=0x0, abort=true) at Interpreter.cpp:74
#33 0x0000000000412903 in main (argc=1, argv=0x7fff43eedbb8) at main.cpp:195
(gdb) continue
Continuing.

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) 

sorry for coming up with problems most :).

cheers,

glauber.



More information about the Fluxus mailing list