> cc -shared -WBsymbolic -o bin/std.ndll libs/std/buffer.o libs/std/date.o 
> libs/std/file.o
> libs/std/init.o libs/std/int32.o libs/std/math.o libs/std/string.o 
> libs/std/random.o
> libs/std/serialize.o libs/std/socket.o libs/std/sys.o libs/std/xml.o 
> libs/std/module.o
> libs/std/md5.o libs/std/utf8.o libs/std/memory.o libs/std/misc.o 
> libs/std/thread.o
> libs/std/process.o -Lbin -lneko
> (cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoml 
> -v neko/Main.nml
> nekoml/Main.nml)
> Uncaught exception - Segmentation fault

...

> Could you try to run the command inside gdb then send me the backtrace ?

neko used over 2G process memory (on my 512M machine) under gdb, 
and took 20 minutes to produce this stack trace. 

Is it typical for neko compilations to use that much RAM, or is it a
symptom of a problem? Can neko be run in interpreted mode (without JIT) 
or be forced to collect garbage more frequently?

I realize this trace is largely useless without symbols, so I'll try to 
rebuild and rerun it.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210214000 (LWP 4272)]
0xb7eac82a in memcpy () from /lib/i686/libc.so.6
(gdb) where
#0  0xb7eac82a in memcpy () from /lib/i686/libc.so.6
#1  0xb7fa8fae in neko_module_jit () from ../bin/libneko.so
#2  0xb7fbbc87 in _dl_lookup_symbol_x (undef_name=0x98d24a7a "5",
    undef_map=0x98d281e8, ref=0x98d28211, symbol_scope=0x98c972d4,
    version=0x98d24a82, type_class=-1731048799, flags=-1731808163,
    skip_map=0x98c6b47b) at dl-lookup.c:233
#3  0x98d281f2 in ?? ()
#4  0x98c972d4 in ?? ()
#5  0x98d24a82 in ?? ()
#6  0x98d24aa1 in ?? ()
#7  0x98c6b45d in ?? ()
#8  0x98c6b47b in ?? ()
#9  0x98d29b74 in ?? ()
#10 0x98d29b7b in ?? ()
#11 0x98c6b16d in ?? ()
#12 0x98c6b174 in ?? ()
#13 0x98c6b18e in ?? ()
#14 0x08065e60 in ?? ()
#15 0x08065e60 in ?? ()
#16 0xfffffffc in ?? ()
#17 0x00024797 in ?? ()
#18 0x00024798 in ?? ()
#19 0xb7fb0a38 in ?? () from ../bin/libneko.so
#20 0x0809cf88 in ?? ()
#21 0x0809cf88 in ?? ()
#22 0x00000e43 in ?? ()
#23 0xb7fa591e in neko_read_module () from ../bin/libneko.so
#24 0x0809cf88 in ?? ()
#25 0x00000003 in ?? ()
#26 0x00027720 in ?? ()
#27 0xb7f68ff4 in ?? () from /lib/i686/libc.so.6
#28 0x000272f4 in ?? ()
#29 0xbf9b1c7b in ?? ()
#30 0xbf9b1c7b in ?? ()
#31 0xbf9b1c7a in ?? ()
#32 0xbf9b1c77 in ?? ()
#33 0xbf9b1c70 in ?? ()
#34 0x000001b6 in ?? ()
#35 0xb7faf220 in ?? () from ../bin/libneko.so
#36 0x0809cf88 in ?? ()
#37 0x0806ac9c in ?? ()
#38 0x0009dc74 in ?? ()
#39 0x080e371e in ?? ()
#40 0x0002771f in ?? ()
#41 0x080bc000 in ?? ()
#42 0x0824e000 in ?? ()
#43 0x00000005 in ?? ()
#44 0xb7f5b884 in _libc_intl_domainname () from /lib/i686/libc.so.6
#45 0x00000000 in ?? ()


       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to