leechristensen / tcltcc

Automatically exported from code.google.com/p/tcltcc
0 stars 0 forks source link

Creating of so files on Linux coredumps #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Creating of so files on Linux coredumps

Original issue reported on code.google.com by mpc.jans...@gmail.com on 17 Oct 2007 at 4:16

GoogleCodeExporter commented 9 years ago
Program received signal SIGSEGV, Segmentation fault.
0xb7cf822b in strlen () from /lib/libc.so.6
(gdb) bt
#0  0xb7cf822b in strlen () from /lib/libc.so.6
#1  0xb7cca281 in vfprintf () from /lib/libc.so.6
#2  0xb7ccaa33 in buffered_vfprintf () from /lib/libc.so.6
#3  0xb7cc69ff in vfprintf () from /lib/libc.so.6
#4  0xb7ccf7a2 in fprintf () from /lib/libc.so.6
#5  0xb7c08bed in add_elf_sym (st=0x80937a8, s=0x80a5d40, value=4134288855,
size=4134288854, info=31, other=104, sh_num=55936, name=0xfe784af5 <Address
0xfe784af5 out of bounds>) at ./generic/tccelf.c:196
#6  0xb7c0c948 in tcc_load_dll (st=0x80937a8, fd=0x80a5fb0, filename=0xbfc4ebd0
"/lib/libpthread.so.0", level=1) at ./generic/tccelf.c:2234
#7  0xb7c0da7d in tcc_add_file_internal (st=0x80937a8, filename=0xbfc4ebd0
"/lib/libpthread.so.0", flags=2) at ./generic/tcc.c:9066
#8  0xb7c0dc1e in tcc_add_dll (s=0x80937a8, filename=0x80b2934 
"libpthread.so.0",
flags=2) at ./generic/tcc.c:9126
#9  0xb7c0c9df in tcc_load_dll (st=0x80937a8, fd=0x80a6010, filename=0xbfc4f150
"/usr/local/lib/libtcl8.5.so", level=0) at ./generic/tccelf.c:2248
#10 0xb7c0da7d in tcc_add_file_internal (st=0x80937a8, filename=0xbfc4f150
"/usr/local/lib/libtcl8.5.so", flags=0) at ./generic/tcc.c:9066
#11 0xb7c0dc1e in tcc_add_dll (s=0x80937a8, filename=0xbfc4f580 "libtcl8.5.so",
flags=0) at ./generic/tcc.c:9126
#12 0xb7c0dca6 in tcc_add_library (s=0x80937a8, libraryname=0x8092f48 "tcl8.5") 
at
./generic/tcc.c:9145
#13 0xb7c0e3be in TccHandleCmd (cdata=0x80937a8, interp=0x804ced0, objc=3,
objv=0x804db1c) at ./generic/tcltcc.c:89
#14 0xb7e31f46 in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#15 0xb7e765bc in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#16 0xb7eb8dac in TclObjInterpProcCore () from /usr/lib/libtcl8.5.so
#17 0xb7eb8f32 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#18 0xb7e31f46 in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#19 0xb7e765bc in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#20 0xb7e7f985 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#21 0xb7e33098 in TclEvalObjEx () from /usr/lib/libtcl8.5.so
#22 0xb7e33448 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
#23 0xb7e44a1d in Tcl_TimeObjCmd () from /usr/lib/libtcl8.5.so
#24 0xb7e31f46 in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#25 0xb7e32a05 in TclEvalEx () from /usr/lib/libtcl8.5.so
#26 0xb7eade58 in TclSubstTokens () from /usr/lib/libtcl8.5.so
#27 0xb7e324a4 in TclEvalEx () from /usr/lib/libtcl8.5.so
#28 0xb7e32d0d in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#29 0xb7e9c11f in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
#30 0xb7ea1d8b in Tcl_Main () from /usr/lib/libtcl8.5.so
#31 0x0804867f in main ()

Original comment by mpc.jans...@gmail.com on 25 Nov 2007 at 4:21

GoogleCodeExporter commented 9 years ago
situation improved after r61. Must take care to read binary when loading so's.

Original comment by mpc.jans...@gmail.com on 3 Nov 2008 at 11:53