ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sat Dec 07, 2019 5:57 am

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Beta 4 Angolwen crash
PostPosted: Wed Jun 16, 2010 5:19 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
Hi

Generated a Skeleton Mage. Tried to go to Angolwen and the programme crashed. This also happened to me in Beta 3

Code:
[MODULE LOADER] loading module   Tales of Middle Earth: The Fourth Age   [mod.load]   ::   nil   nil
C Map size 31:24 :: 744
Loading tile   terrain/river.png
Loading tile   terrain/grass.png
Loading tile   terrain/river.png
Loading tile   terrain/tree.png
Loading tile   terrain/mountain.png
Loading tile   terrain/town1.png
Loading tile   terrain/hills.png
Loading tile   terrain/tree.png
Loading tile   terrain/ash1.png
Loading tile   terrain/tree_dark1.png
Loading tile   terrain/town1.png
Loading tile   terrain/mountain.png
Loading tile   terrain/mountain.png
Loading tile   terrain/lorien.png
Loading tile   terrain/river.png
Loading tile   terrain/sand.png
Loading tile   terrain/mountain.png
Loading tile   terrain/river.png
C Map size 31:24 :: 744
Loading tile   terrain/tree.png
Loading tile   terrain/stone_road1.png
Loading tile   terrain/sand.png
Loading tile   terrain/grass.png
Loading tile   terrain/tree.png
Loading tile   terrain/wood_wall1.png
Loading tile   terrain/wood_wall1.png
Loading tile   terrain/wood_wall1.png
Loading tile   terrain/wood_store_book.png
Loading tile   terrain/wood_store_armor.png
Loading tile   terrain/wood_store_weapon.png
Loading tile   terrain/wood_store_closed.png
Loading tile   terrain/wood_store_potion.png
Loading tile   terrain/mountain.png
[LOG]   Welcome to #00FF00#Tales of Middle Earth!
bind   MOVE_UP   function: 0xaeb7320
bind   TACTICAL_DISPLAY   function: 0xb0d2940
bind   RUN_LEFT   function: 0xa78eee8
bind   MOVE_DOWN   function: 0xa79b110
bind   RUN_RIGHT   function: 0xb845d20
bind   EXIT   function: 0xa72f490
bind   RUN_UP   function: 0xba7f2c0
bind   RUN_DOWN   function: 0xb53ca40
bind   MOVE_LEFT_UP   function: 0xb0b0e20
bind   MOVE_LEFT   function: 0xb6b2fe8
bind   ACCEPT   function: 0xba51be0
bind   MOVE_RIGHT_UP   function: 0xae52028
bind   RUN_LEFT_DOWN   function: 0x9db3690
bind   RUN_LEFT_UP   function: 0x9b4f2b0
bind   MOVE_RIGHT_DOWN   function: 0x9bea598
bind   MOVE_RIGHT   function: 0x9bdbb68
bind   MOVE_LEFT_DOWN   function: 0xaec9aa8
bind   RUN_RIGHT_UP   function: 0xae43028
bind   RUN_RIGHT_DOWN   function: 0xb13ac58
bind   HOTKEY_5   function: 0xb1dd1d0
bind   RUN_LEFT   function: 0xb83c380
bind   HOTKEY_SECOND_2   function: 0xbc8a6b0
bind   HOTKEY_3   function: 0xb1dd130
bind   HOTKEY_THIRD_8   function: 0xbc8ac50
bind   HOTKEY_PREV_PAGE   function: 0xbc8ade0
bind   MOVE_LEFT_DOWN   function: 0xbad6ad8
bind   TOGGLE_MINIMAP   function: 0xa7e9a38
bind   REST   function: 0xb14f0b0
bind   HOTKEY_THIRD_9   function: 0xbc8aca0
bind   WEAR_ITEM   function: 0x9d4a410
bind   HOTKEY_SECOND_10   function: 0xbc8a930
bind   HOTKEY_SECOND_4   function: 0xbc8a750
bind   MOVE_DOWN   function: 0x9cd95c8
bind   HOTKEY_THIRD_12   function: 0xbc8ad90
bind   PICKUP_FLOOR   function: 0xbc8aea8
bind   HOTKEY_2   function: 0xb1dd0e0
bind   HOTKEY_THIRD_10   function: 0xbc8acf0
bind   HOTKEY_8   function: 0xb1dd2c0
bind   RUN_DOWN   function: 0xabeb7d8
bind   SHOW_CHARACTER_SHEET   function: 0x9c306e0
bind   MOVE_LEFT   function: 0x9fcfa78
bind   HOTKEY_SECOND_12   function: 0xbc8a9d0
bind   USE_ITEM   function: 0xbc8af48
bind   HOTKEY_7   function: 0xb1dd270
bind   MOVE_RIGHT_UP   function: 0x9fbea60
bind   HOTKEY_10   function: 0xb1dd360
bind   HOTKEY_9   function: 0xb1dd310
bind   RUN_LEFT_DOWN   function: 0xa79e068
bind   MOVE_STAY   function: 0xa8704e0
bind   HOTKEY_SECOND_7   function: 0xbc8a840
bind   HOTKEY_THIRD_3   function: 0xbc8aac0
bind   HOTKEY_12   function: 0xbc8a610
bind   MOVE_UP   function: 0x9ff16d8
bind   DROP_FLOOR   function: 0xbc8aef8
bind   HOTKEY_SECOND_9   function: 0xbc8a8e0
bind   TAKEOFF_ITEM   function: 0x9d9eaf0
bind   HOTKEY_SECOND_1   function: 0xbc8a660
bind   RUN_UP   function: 0xbc394e8
bind   MOVE_LEFT_UP   function: 0x9fdb300
bind   HOTKEY_SECOND_3   function: 0xbc8a700
bind   SHOW_QUESTS   function: 0xa9983b0
bind   HOTKEY_4   function: 0xb1dd180
bind   RUN_LEFT_UP   function: 0xa7cfb70
bind   SHOW_INVENTORY   function: 0xb8eca50
bind   HOTKEY_SECOND_8   function: 0xbc8a890
bind   LOOK_AROUND   function: 0xbb61878
bind   HOTKEY_THIRD_4   function: 0xbc8ab10
bind   TACTICAL_DISPLAY   function: 0x9cb7dc8
bind   QUIT_GAME   function: 0xaf00c70
bind   CHANGE_LEVEL   function: 0xbc8ae80
bind   EXIT   function: 0xe7fd318
bind   MOVE_RIGHT_DOWN   function: 0xbc8bce0
bind   HOTKEY_THIRD_6   function: 0xbc8abb0
bind   LUA_CONSOLE   function: 0xbc8afe8
bind   SHOW_TIME   function: 0xa8692b0
bind   HOTKEY_THIRD_11   function: 0xbc8ad40
bind   LEVELUP   function: 0xb0fa2c8
bind   SAVE_GAME   function: 0xa998408
bind   USE_TALENTS   function: 0xbc8af98
bind   HOTKEY_SECOND_5   function: 0xbc8a7a0
bind   HOTKEY_THIRD_1   function: 0xbc8aa20
bind   HOTKEY_THIRD_7   function: 0xbc8ac00
bind   SWITCH_GFX   function: 0x9b54938
bind   HOTKEY_THIRD_5   function: 0xbc8ab60
bind   HOTKEY_1   function: 0xb1dd068
bind   HOTKEY_NEXT_PAGE   function: 0xbc8ae30
bind   HOTKEY_SECOND_11   function: 0xbc8a980
bind   HOTKEY_SECOND_6   function: 0xbc8a7f0
bind   HOTKEY_11   function: 0xbc8a5c0
bind   HOTKEY_6   function: 0xb1dd220
bind   HOTKEY_THIRD_2   function: 0xbc8aa70
bind   MOVE_RIGHT   function: 0x9fadc60
bind   RUN_RIGHT   function: 0xb959d38
bind   RUN_RIGHT_UP   function: 0xaa59fb0
bind   RUN_RIGHT_DOWN   function: 0xaee6fb0
[MUSIC] playing   Virtue lost.ogg   userdata: 0x9c8dd14    :: current ?    nil
play music aa28288 -1 0
[DISPLAY MODE] 16x16 ASCII
C Map size 62:49 :: 3038
[MINIMAP MODE]   nil
[MINIMAP MODE] disabled
226 frames in 12.247 seconds = 18.4535 FPS
SDL Activity 1
resize 1278 x 958
[RESOLUTION] changed to    1278   958
[DISPLAY MODE] 16x16 ASCII
C Map size 67:46 :: 3082
[MINIMAP MODE]   1
[MINIMAP MODE] disabled
5 ticks  in 12.547 seconds = 0.398502 TPS
[LOG]   Marin uses Teleport: Angolwen.
USING   table: 0xb47d088   Teleport: Angolwen
[LEVEL] persisting to zone memory   town-bree-1

Program received signal SIGSEGV, Segmentation fault.
0x08094d3f in traversetable (g=0x94f51b0, h=0x9db3728) at src/luajit/lgc.c:192
192         if (!weakvalue) markvalue(g, gval(n));

_________________
Regards

Jon.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 8:49 am 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10438
Location: Angolwen
Woh ....

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 9:11 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
I solved it.. sort of!

my premake command looks like this:

Code:
./premake4 --lua=jitx86 gmake


reverting back to:

Code:
./premake4 gmake


allows me to travel to Angolwen without a crash.

_________________
Regards

Jon.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 9:16 am 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10438
Location: Angolwen
But .....
Either you found a bug in luajit which I find rather unlikely or something is fishy ... hum
32bits or 64 bits ?

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 9:35 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
32 bits

Revision 791

_________________
Regards

Jon.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 5:36 pm 
Offline
Reaper

Joined: Mon Jan 22, 2007 6:31 pm
Posts: 1534
Location: East of the sun, west of the moon
I am pretty sure 789 is the current beta :)

not sure if it would affect anything though

_________________
Oliphant am I, and I never lie.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 7:49 pm 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
What? 789?

DG which revision was beta 4? I will download and recompile if necessary!

_________________
Regards

Jon.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 8:10 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10438
Location: Angolwen
789 yes
But I dont rememebr anything that could crash it in the later commits :/

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 9:08 pm 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
OK, I will download and recompile tonight and see if I can replicate the error.

_________________
Regards

Jon.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 9:09 pm 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
Also would it be possible when you release a beta to have the revision number published somewhere?

_________________
Regards

Jon.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 9:24 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10438
Location: Angolwen
If I dont forget I could yes :)

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
PostPosted: Thu Jun 17, 2010 7:53 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
OK, I compile with the luajit settings on premake and got a crash when I tried going to Angolwen (much as expected)

I recompiled without the luajit settings and this time the game had a problem when I entered the Old Forest (screen went balck) and it hung on saving...

Code:
[LEVEL] persisting to memory   wilderness-1
Lua Error: /engine/Savefile.lua:185: attempt to index local 'f' (a nil value)
   At [C]:-1
   At /engine/Savefile.lua:185 loadReal
   At /engine/Savefile.lua:259 loadZone
   At /engine/Zone.lua:330 load
   At /engine/Zone.lua:48 init
   At /engine/class.lua:38 new
   At /mod/class/Game.lua:278 changeLevel
   At /mod/class/Game.lua:612 ?
   At /engine/KeyBind.lua:180
155 frames in 10.005 seconds = 15.4923 FPS
333 frames in 10.021 seconds = 33.2302 FPS
34 ticks  in 23.659 seconds = 1.43709 TPS
334 frames in 10.022 seconds = 33.3267 FPS
Lua Error: /mod/class/Game.lua:775: attempt to index field 'level' (a nil value)
   At [C]:-1
   At /mod/class/Game.lua:775 fct
   At /engine/Mouse.lua:50
Lua Error: /mod/class/Game.lua:775: attempt to index field 'level' (a nil value)
   At [C]:-1
   At /mod/class/Game.lua:775 fct
   At /engine/Mouse.lua:50
Lua Error: /mod/class/Game.lua:775: attempt to index field 'level' (a nil value)
   At [C]:-1
   At /mod/class/Game.lua:775 fct
   At /engine/Mouse.lua:50
Lua Error: /mod/class/Game.lua:775: attempt to index field 'level' (a nil value)
   At [C]:-1
   At /mod/class/Game.lua:775 fct
   At /engine/Mouse.lua:50
Lua Error: /mod/class/Game.lua:775: attempt to index field 'level' (a nil value)
   At [C]:-1
   At /mod/class/Game.lua:775 fct
   At /engine/Mouse.lua:50
Lua Error: /mod/class/Game.lua:775: attempt to index field 'level' (a nil value)
   At [C]:-1
   At /mod/class/Game.lua:775 fct
   At /engine/Mouse.lua:50
Lua Error: /mod/class/Game.lua:775: attempt to index field 'level' (a nil value)
   At [C]:-1
   At /mod/class/Game.lua:775 fct
   At /engine/Mouse.lua:50
Lua Error: /mod/class/Game.lua:775: attempt to index field 'level' (a nil value)
   At [C]:-1
   At /mod/class/Game.lua:775 fct
   At /engine/Mouse.lua:50
Lua Error: /mod/class/Game.lua:7

_________________
Regards

Jon.


Top
 Profile  
 
PostPosted: Thu Jun 17, 2010 8:10 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
This is getting complicated...

Revision 789 corrupted my game file. (Sigh!!!)

I then reverted back to 791 and this confirmed the corrupted game file.

I will have to start again. No biggy!

So the plan is as follows:

1) Revert to 789
1.a) Compile with the luajit commands
1.a.i) test Angolwen with a new starter mage
1.b) Compile as standard
1.b.i) test Angolwen with a new starter mage

Do the same with revision 791.

Bear with me!

_________________
Regards

Jon.


Top
 Profile  
 
PostPosted: Thu Jun 17, 2010 8:45 am 
Offline
Reaper

Joined: Mon Jan 22, 2007 6:31 pm
Posts: 1534
Location: East of the sun, west of the moon
madmonk wrote:
Bear with me!


RAWR!!!

No problem, we're just lion around waiting for you. ;)

(sorry, had to do that)

_________________
Oliphant am I, and I never lie.


Top
 Profile  
 
PostPosted: Fri Jun 18, 2010 8:16 am 
Offline
Reaper

Joined: Wed Dec 12, 2007 12:21 am
Posts: 2257
Location: New Zealand
OK I reverted to Revision 789 and did not have a problem in either version (luajit or vanilla).

I then went to 791:
Code:
svn update -r 791 t-engine --non-interactive
svn: OPTIONS of 'http://svn.net-core.org/repos/t-engine4': authorization failed: Could not authenticate to server: rejected Basic challenge (http://svn.net-core.org)
error (1)
svn update -r 791 t-engine --username guest --password ****** --non-interactive
U t-engine/src/main.c
U t-engine/game/engine/Shader.lua
U t-engine/game/modules/tome/class/Game.lua
U t-engine/game/modules/tome/data/maps/towns/gates-of-morning.lua
Updated to revision 791.
successfully (0)
and the luajit version promptly crashed, but the Vanilla version was fine!

Hope that helps

_________________
Regards

Jon.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group