[Fluxus] skinning causes buffer overflow

Sedi ilostmyfiles at yahoo.com
Sat Jul 25 11:12:59 PDT 2009


--- On Sat, 7/25/09, gabor papp <gabor.lists at mndl.hu> wrote:

> From: gabor papp <gabor.lists at mndl.hu>
> Subject: Re: [Fluxus] skinning causes buffer overflow
> To: "Sedi" <ilostmyfiles at yahoo.com>
> Cc: fluxus at lists.pawfal.org
> Date: Saturday, July 25, 2009, 1:28 PM
> > Like so?
> create a .gdbinit file, and add these lines to it:
> 
> handle SIGSEGV nostop noprint
> handle SIG33 nostop noprint pass
> handle SIG32 nostop noprint pass
> 
> then run fluxus as you did, and when it crashes, type
> backtrace.
 
Ah, good deal. Here's a lump:

(gdb) backtrace
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb737e980 in raise () from /lib/libc.so.6
#2  0xb73801c8 in abort () from /lib/libc.so.6
#3  0xb73ba8ad in __libc_message () from /lib/libc.so.6
#4  0xb743c148 in __fortify_fail () from /lib/libc.so.6
#5  0xb743a190 in __chk_fail () from /lib/libc.so.6
#6  0xb7439a37 in __vsnprintf_chk () from /lib/libc.so.6
#7  0xb7439924 in __snprintf_chk () from /lib/libc.so.6
#8  0xb6318cd7 in Fluxus::SkinningPrimFunc::Run (this=0x836c1e8, prim=@0x8371bd0, world=@0x8100cc8) at /usr/include/bits/stdio2.h:66
#9  0xb62d00f9 in Fluxus::PFuncContainer::Run (this=0x80f2124, id=2, p=0x8371bd0, sg=0x8100cc8) at modules/fluxus-engine/src/PFuncContainer.cpp:62
#10 0xb62b05e6 in pfunc_run (argc=1, argv=0xb7f6df54) at modules/fluxus-engine/src/PrimitiveFunctions.cpp:2234
#11 0xb7f45cdc in ?? ()
#12 0x00000001 in ?? ()
#13 0xb7f6df54 in ?? ()
#14 0xb610dc98 in ?? ()
#15 0xb23d9480 in ?? ()
#16 0xb23d92b7 in ?? ()
#17 0x00000003 in ?? ()
#18 0xb7f6df74 in ?? ()
#19 0xb5c165b0 in ?? ()
#20 0xb7f6df64 in ?? ()
#21 0xbfc8c710 in ?? ()
#22 0xb7f45e06 in ?? ()
#23 0xb57bb133 in ?? ()
#24 0xb7d26069 in scheme_set_cont_mark () from /usr/lib/libmzscheme3m-4.2.so
#25 0xbfc8c730 in ?? ()
#26 0xb6351076 in ?? ()
#27 0xb502d66d in ?? ()
#28 0x00000012 in ?? ()
#29 0x00000002 in ?? ()
#30 0xb7efd9c0 in ?? () from /usr/lib/libmzscheme3m-4.2.so
#31 0xb5c1a080 in ?? ()
#32 0xb7ee1ff4 in ?? () from /usr/lib/libmzscheme3m-4.2.so
#33 0x00000001 in ?? ()
#34 0xb7d30a1d in scheme_do_eval () from /usr/lib/libmzscheme3m-4.2.so
#35 0x00000000 in ?? ()
(gdb) 

I also rebuilt glibc trying to remove the ??s but it's going to take dozens more, some are running now. Gentoo, because your GHz were meant for compiling! lol

> > I couldn't find a debug option in scons to turn it
> on...
> it is turned on by default.

Thought so. Thanks for the hints so far. 


      



More information about the Fluxus mailing list