[SVN 1332] Game crashes when loaded on linux [F]

Bugs that should be fixed in the latest SVN revision.

Moderators: SMC Team, MVP

[SVN 1332] Game crashes when loaded on linux [F]

Postby Sauer2 » 15 Jan 2009 16:20

..and gives following feedback:
Code: Select all
terminate called after throwing an instance of 'CEGUI::InvalidRequestException'
Aborted


BTW: It run completely normally, when i started it first time.

EDIT: It can't be fixed by clearing the .smc folder in home.
EDIT2: It works again, just reinstalled the game.
EDIT3:Appears again, after log-out and restart.
Sauer2
 

Re: [SVN] Game crashes when loaded..

Postby FluXy » 16 Jan 2009 09:17

Please always post the SVN revision you used in the header.
Do you know which revision exactly introduced the crash ?
Can you try to build a debug version and trace the line with gdb ? ( do not ask me how to do this ;) )
If i didn't read your post but it was important you can send me a PM.
Any Donation will help this project!
User avatar
FluXy
Admin
Admin
 
Posts: 2857
Joined: 04 May 2004 19:44
Location: Germany

Re: [SVN] Game crashes when loaded..

Postby Sauer2 » 16 Jan 2009 09:36

Ok, does anyone else know, how to compile for debugging and trace with dbg?
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby Sauer2 » 17 Jan 2009 12:00

The bug also appears in SVN 1332, and now it appears on the first start, too.
The first line says:" no joystick available", but this might also be autodetection.
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby FluXy » 18 Jan 2009 15:28

I found this and this for using gdb.
If i didn't read your post but it was important you can send me a PM.
Any Donation will help this project!
User avatar
FluXy
Admin
Admin
 
Posts: 2857
Joined: 04 May 2004 19:44
Location: Germany

Re: [SVN 1332] Game crashes when loaded..

Postby Sauer2 » 18 Jan 2009 15:46

Thank you, at the moment i am testing it on reinstalled ubuntu and if this appears this time, i'll use dbg.
BTW: Autogen.sh gives following back, but does its job anyway:
Code: Select all
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 186.
Use of uninitialized value $libtoolize in pattern match (m//) at /usr/bin/autoreconf line 186.
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby Sauer2 » 18 Jan 2009 16:33

Seems to work again, maybe a wrong setting on the previous Ubuntu installation.
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby Sauer2 » 18 Jan 2009 17:26

OK, it isn't working after i restarted the computer.
Here the trace:
Code: Select all
(gdb) run smc
Starting program: /usr/local/bin/smc smc
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000d4
[New Thread 0xb53a16e0 (LWP 6833)]
[New Thread 0xb4f7db90 (LWP 6836)]
[Thread 0xb4f7db90 (LWP 6836) exited]
[New Thread 0xb4f7db90 (LWP 6837)]
[New Thread 0xb3c6cb90 (LWP 6838)]
terminate called after throwing an instance of 'CEGUI::InvalidRequestException'

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb53a16e0 (LWP 6833)]
0xb7f42430 in __kernel_vsyscall ()
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby FluXy » 18 Jan 2009 17:55

I need a call stack with names :P
I think you can get that if you compile smc with debug symbols or try to ask nyhm in IRC how that works.
If i didn't read your post but it was important you can send me a PM.
Any Donation will help this project!
User avatar
FluXy
Admin
Admin
 
Posts: 2857
Joined: 04 May 2004 19:44
Location: Germany

Re: [SVN 1332] Game crashes when loaded..

Postby Sauer2 » 18 Jan 2009 21:57

Got this error, when compiling SVN 1339 or so for debugging:
Code: Select all
core/i18n.cpp: In function »void I18N_Init()«:
core/i18n.cpp:24: Fehler: expected primary-expression before »)« token
make[1]: *** [i18n.o] Fehler 1
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby FluXy » 19 Jan 2009 09:48

Fixed that in SVN 1339.
If i didn't read your post but it was important you can send me a PM.
Any Donation will help this project!
User avatar
FluXy
Admin
Admin
 
Posts: 2857
Joined: 04 May 2004 19:44
Location: Germany

Re: [SVN 1332] Game crashes when loaded..

Postby Sauer2 » 19 Jan 2009 15:18

Is it something like this?
Code: Select all
(gdb) bt
#0  0xb80d1430 in __kernel_vsyscall ()
#1  0xb79bc880 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb79be248 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7be16f8 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4  0xb7bdf5d5 in ?? () from /usr/lib/libstdc++.so.6
#5  0xb7bdf612 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0xb7bdf6cb in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#7  0xb7d0f0d2 in CEGUI::WindowManager::loadWindowLayout ()
   from /usr/lib/libCEGUIBase.so.1
#8  0x080c7af4 in cMenu_Base::Init_GUI (this=0x8e8bbb8) at gui/menu_data.cpp:91
#9  0x080dcbb3 in cMenu_Main::Init_GUI (this=0x8e8bbb8)
    at gui/menu_data.cpp:232
#10 0x080d1de9 in cMenu_Main::Init (this=0x8e8bbb8) at gui/menu_data.cpp:227
#11 0x08080407 in main (argc=2, argv=Cannot access memory at address 0x1612
) at core/main.cpp:207


I didn't get back more, when i configured it for debugging with this:
Code: Select all
CXXFLAGS="-O2 -ggdb -D_DEBUG=1" ./configure
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby FluXy » 19 Jan 2009 15:30

Yes, that is nice :)

Try if it works when you copy the GUILayout.xsd from SMC/data/gui/layout to SMC/data/gui/layout/menu.
If i didn't read your post but it was important you can send me a PM.
Any Donation will help this project!
User avatar
FluXy
Admin
Admin
 
Posts: 2857
Joined: 04 May 2004 19:44
Location: Germany

Re: [SVN 1332] Game crashes when loaded..

Postby Sauer2 » 19 Jan 2009 15:54

Yes, it works.
I am going to retry it after a computer restart.
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby Sauer2 » 19 Jan 2009 16:10

Yes, thanks, that was the problem, but i had it with several svn-version.
There is a Worldmenu bug like shown in the picture.
Attachments
1.png
All worlds shown in the menu.
1.png (28.41 KiB) Viewed 1954 times
Sauer2
 

Re: [SVN 1332] Game crashes when loaded..

Postby FluXy » 19 Jan 2009 16:27

In debug builds you see all by default ;)

Fixed GUILayout problem in SVN 1341 :)
If i didn't read your post but it was important you can send me a PM.
Any Donation will help this project!
User avatar
FluXy
Admin
Admin
 
Posts: 2857
Joined: 04 May 2004 19:44
Location: Germany

Re: [SVN 1332] Game crashes when loaded on linux [F]

Postby Sauer2 » 19 Jan 2009 16:59

Ah thanks.
Sauer2
 


Return to Fixed

Who is online

Users browsing this forum: No registered users and 1 guest