Segmentation fault

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Zop
Higher
Posts: 65
Joined: Fri Sep 01, 2006 6:20 am
Location: Bermuda Dunes
Contact:

Segmentation fault

#1 Post by Zop »

Ran into one when starting te4...

[New thread 444.0x6b4]

Program received signal SIGSEGV, Segmentation fault.
0x00494430 in TCOD_noise_simplex (noise=0x3e5d008, f=0x22f550)
at src/libtcod_import/noise_c.c:400
400 src/libtcod_import/noise_c.c: No such file or directory.
in src/libtcod_import/noise_c.c

---

(gdb) info stack
#0 0x00494430 in TCOD_noise_simplex (noise=0x3e5d008, f=0x22f550)
at src/libtcod_import/noise_c.c:400
#1 0x00434b93 in tilablenoise3d (n=0xe79b88, ix=0, iy=0, iz=0, w=256, h=256,
d=4) at src/noise.c:225
#2 0x004353f9 in noise_texture2d (L=0x3e4828) at src/noise.c:301
#3 0x0046703b in luaD_precall (L=0x3e4828, func=0xe15220, nresults=1)
at src/lua/ldo.c:319
#4 0x00462847 in luaV_execute (L=0x3e4828, nexeccalls=1) at src/lua/lvm.c:587
#5 0x0046726a in luaD_call (L=0x3e4828, func=0xe15160, nResults=1)
at src/lua/ldo.c:377
#6 0x0045ca8a in lua_call (L=0x3e4828, nargs=1, nresults=1)
at src/lua/lapi.c:782
#7 0x0046fdd2 in ll_require (L=0x3e4828) at src/lua/loadlib.c:501
#8 0x0046703b in luaD_precall (L=0x3e4828, func=0xe15100, nresults=1)
at src/lua/ldo.c:319
#9 0x00467253 in luaD_call (L=0x3e4828, func=0xe15100, nResults=1)
at src/lua/ldo.c:376
#10 0x0045cadc in f_call (L=0x3e4828, ud=0x22f950) at src/lua/lapi.c:800
#11 0x00466692 in luaD_rawrunprotected (L=0x3e4828, f=0x45cab2 <f_call>,
ud=0x22f950) at src/lua/ldo.c:116
#12 0x00467585 in luaD_pcall (L=0x3e4828, func=0x45cab2 <f_call>, u=0x22f950,
old_top=1120, ef=0) at src/lua/ldo.c:463
#13 0x0045cb62 in lua_pcall (L=0x3e4828, nargs=1, nresults=1, errfunc=0)
at src/lua/lapi.c:821
#14 0x004849d5 in new_require (L=0x3e4828) at src/lualanes/lanes.c:224
#15 0x0046703b in luaD_precall (L=0x3e4828, func=0xe150f0, nresults=1)
at src/lua/ldo.c:319
#16 0x00462847 in luaV_execute (L=0x3e4828, nexeccalls=4) at src/lua/lvm.c:587
#17 0x0046726a in luaD_call (L=0x3e4828, func=0xe14f30, nResults=-1)
at src/lua/ldo.c:377
#18 0x0045ca8a in lua_call (L=0x3e4828, nargs=0, nresults=-1)
at src/lua/lapi.c:782
#19 0x004713ee in luaB_dofile (L=0x3e4828) at src/lua/lbaselib.c:329
#20 0x0046703b in luaD_precall (L=0x3e4828, func=0xe14f10, nresults=0)
at src/lua/ldo.c:319
#21 0x00462847 in luaV_execute (L=0x3e4828, nexeccalls=1) at src/lua/lvm.c:587
#22 0x0046726a in luaD_call (L=0x3e4828, func=0xdfc2a0, nResults=0)
at src/lua/ldo.c:377
#23 0x0045cadc in f_call (L=0x3e4828, ud=0x22fdd0) at src/lua/lapi.c:800
#24 0x00466692 in luaD_rawrunprotected (L=0x3e4828, f=0x45cab2 <f_call>,
ud=0x22fdd0) at src/lua/ldo.c:116
#25 0x00467585 in luaD_pcall (L=0x3e4828, func=0x45cab2 <f_call>, u=0x22fdd0,
old_top=464, ef=448) at src/lua/ldo.c:463
#26 0x0045cb62 in lua_pcall (L=0x3e4828, nargs=7, nresults=0, errfunc=28)
at src/lua/lapi.c:821
#27 0x0042c4ff in docall (L=0x3e4828, narg=7, nret=0) at src/main.c:90
#28 0x0042dd4d in boot_lua (state=2, rebooting=0 '\0', argc=1, argv=0x3e27d8)
at src/main.c:650
#29 0x0042e08a in SDL_main (argc=1, argv=0x3e27d8) at src/main.c:736
#30 0x004b56ab in console_main (argc=1, argv=0x3e27d8)
at ./src/main/win32/SDL_win32_main.c:315
#31 0x004b5768 in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x241f14 "",
sw=10) at ./src/main/win32/SDL_win32_main.c:398
#32 0x004b5036 in main ()

---

Windows XP

I ran it again, and it started fine...
my handwriting is bad

Post Reply