Page 1 of 1

b23 Crash on launch

Posted: Fri Apr 01, 2011 2:07 am
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]


Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 6:14 am
by madmonk
SVN 3130 works. SVN 3131 and onwards contains the error.

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 6:31 am
by darkgod
Make sure you do a full recompile, including rerunning premake4

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 7:14 am
by madmonk
yup, did that (always do).

Still get the same thing.

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 7:33 am
by darkgod
when you compile, is the file generated called te4core-12.tec or te4core-13.tec ?

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 7:51 am
by madmonk
I have both.

Which one should I get rid of?

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 8:37 am
by darkgod
Hum are they in game/engines/cores/ ?

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 8:41 am
by madmonk
Yes.

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 9:51 am
by darkgod
hum weird
remiove the 12 one

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 11:20 am
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.

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 12:59 pm
by darkgod
Yes, but it really shouldnt pose a problem, it is supposed to find the correct one

Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 6:50 pm
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]


Re: b23 Crash on launch

Posted: Fri Apr 01, 2011 7:53 pm
by darkgod
ok add

Code: Select all

		print(table.serialize(engines,nil,true))
At line 85 of game/loader/init.lua

Re: b23 Crash on launch

Posted: Sat Apr 02, 2011 12:02 am
by madmonk
Fixed it...

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