b23 Crash on launch

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
madmonk
Reaper
Posts: 2257
Joined: Wed Dec 12, 2007 12:21 am
Location: New Zealand

b23 Crash on launch

#1 Post by madmonk »

SVN 3132

Launched T4 and it appears and then instantly disappears.

GDB says this:

Code: Select all

(gdb) run
Starting program: /home/jon/Download/t-engine/bin/Debug/t-engine 
warning: the debug information found in "/usr/lib/debug//usr/lib/libSDL-1.2.so.0.11.2.debug" does not match "/usr/lib/libSDL-1.2.so.0" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib/libSDL-1.2.so.0.11.2.debug" does not match "/usr/lib/libSDL-1.2.so.0" (CRC mismatch).

[Thread debugging using libthread_db enabled]
NO SELFEXE: bootstrapping from CWD
Booting T-Engine from: /home/jon/Download/t-engine/bin/Debug/t-engine
SelfExe gave us app directory of:	/home/jon/Download/t-engine/
Looking for cores	te4core	-1	 <=> 	te4core-12.tec
Possible engine core	te4core-12.tec
Looking for cores	te4core	-1	 <=> 	te4core-13.tec
Possible engine core	te4core-13.tec
Selected cores:	13	te4core-13.tec
Selected cores:	12	te4core-12.tec
Using TE4CORE: 	/engines/cores/te4core-13.tec	/home/jon/Download/t-engine//game/engines/cores/te4core-13.tec
Runner booting core: /home/jon/Download/t-engine//game/engines/cores/te4core-13.tec
[New Thread 0xb6cb66e0 (LWP 17552)]
[CPU] Detected 2 CPUs
[New Thread 0xb6949b70 (LWP 17566)]
NO SELFEXE: bootstrapping from CWD
Booting T-Engine from: /home/jon/Download/t-engine/bin/Debug/t-engine
SelfExe gave us app directory of:	/home/jon/Download/t-engine/
LuaVM:	Lua 5.1
[New Thread 0xb6148b70 (LWP 17567)]
Creating particles thread 0
LuaVM:	Lua 5.1
[New Thread 0xb0ebfb70 (LWP 17568)]
[Thread 0xb0ebfb70 (LWP 17568) exited]
[New Thread 0xb0ebfb70 (LWP 17569)]
Reboot using	te4	LATEST	boot	player	false
[ENGINE LOADER] no engines with id	te4
[Thread 0xb6148b70 (LWP 17567) exited]
[Thread 0xb6949b70 (LWP 17566) exited]
[Thread 0xb0ebfb70 (LWP 17569) exited]

Regards

Jon.

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

Re: b23 Crash on launch

#2 Post by madmonk »

SVN 3130 works. SVN 3131 and onwards contains the error.
Regards

Jon.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: b23 Crash on launch

#3 Post by darkgod »

Make sure you do a full recompile, including rerunning premake4
[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 ;)

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

Re: b23 Crash on launch

#4 Post by madmonk »

yup, did that (always do).

Still get the same thing.
Regards

Jon.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: b23 Crash on launch

#5 Post by darkgod »

when you compile, is the file generated called te4core-12.tec or te4core-13.tec ?
[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 ;)

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

Re: b23 Crash on launch

#6 Post by madmonk »

I have both.

Which one should I get rid of?
Regards

Jon.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: b23 Crash on launch

#7 Post by darkgod »

Hum are they in game/engines/cores/ ?
[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 ;)

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

Re: b23 Crash on launch

#8 Post by madmonk »

Yes.
Regards

Jon.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: b23 Crash on launch

#9 Post by darkgod »

hum weird
remiove the 12 one
[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 ;)

Freddybear
Wyrmic
Posts: 201
Joined: Wed Dec 06, 2006 6:58 pm
Location: Mordor, Ohio

Re: b23 Crash on launch

#10 Post by Freddybear »

Darkgod, the beta23 distribution for Windows also has both the -12 and the -13 core files.
I don't know about the other distributions.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: b23 Crash on launch

#11 Post by darkgod »

Yes, but it really shouldnt pose a problem, it is supposed to find the correct one
[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 ;)

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

Re: b23 Crash on launch

#12 Post by madmonk »

Same trouble...

Code: Select all

(gdb) run
Starting program: /home/jon/Download/t-engine/bin/Debug/t-engine 
warning: the debug information found in "/usr/lib/debug//usr/lib/libSDL-1.2.so.0.11.2.debug" does not match "/usr/lib/libSDL-1.2.so.0" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib/libSDL-1.2.so.0.11.2.debug" does not match "/usr/lib/libSDL-1.2.so.0" (CRC mismatch).

[Thread debugging using libthread_db enabled]
NO SELFEXE: bootstrapping from CWD
Booting T-Engine from: /home/jon/Download/t-engine/bin/Debug/t-engine
SelfExe gave us app directory of:	/home/jon/Download/t-engine/
Looking for cores	te4core	-1	 <=> 	te4core-13.tec
Possible engine core	te4core-13.tec
Selected cores:	13	te4core-13.tec
Using TE4CORE: 	/engines/cores/te4core-13.tec	/home/jon/Download/t-engine//game/engines/cores/te4core-13.tec
Runner booting core: /home/jon/Download/t-engine//game/engines/cores/te4core-13.tec
[New Thread 0xb6cc56e0 (LWP 16374)]
[CPU] Detected 2 CPUs
[New Thread 0xb6958b70 (LWP 16385)]
NO SELFEXE: bootstrapping from CWD
Booting T-Engine from: /home/jon/Download/t-engine/bin/Debug/t-engine
SelfExe gave us app directory of:	/home/jon/Download/t-engine/
LuaVM:	Lua 5.1
[New Thread 0xb6157b70 (LWP 16386)]
Creating particles thread 0
LuaVM:	Lua 5.1
[New Thread 0xb0ed3b70 (LWP 16387)]
[Thread 0xb0ed3b70 (LWP 16387) exited]
[New Thread 0xb0ed3b70 (LWP 16388)]
Reboot using	te4	LATEST	boot	player	false
[ENGINE LOADER] no engines with id	te4
[Thread 0xb0ed3b70 (LWP 16388) exited]
[Thread 0xb6157b70 (LWP 16386) exited]
[Thread 0xb6958b70 (LWP 16385) exited]

Regards

Jon.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: b23 Crash on launch

#13 Post by darkgod »

ok add

Code: Select all

		print(table.serialize(engines,nil,true))
At line 85 of game/loader/init.lua
[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 ;)

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

Re: b23 Crash on launch

#14 Post by madmonk »

Fixed it...

I have cleaned out everything and started over. So now running SVN 3138 and it is working fine.
Regards

Jon.

Post Reply