Re: [tsc-devel] Bad build?

SK K | Sun, 07 Aug 2016 00:33:44 UTC

Hi,

> If you did update your submodules, we'll need to do some
debugging. First, please try loading lvl_1 directly from the level menu (not from the world map).

Yes i updated the submodules and then complied. I then tried loading the lvl_1directly and the program still crashes.

> If it still crashes, you'll need to run the
> game in GDB and produce a backtrace we as the developers can work
> with. 

Listed is the back trace.

Error loading GL surface image
[New Thread 0x7fffd55b4700 (LWP 9838)]
Showing invisible world 'Test 1' because this is a debug build.
Showing invisible world 'World 1' because this is a debug build.
Showing invisible world 'World 2' because this is a debug build.
Showing invisible world 'World 3' because this is a debug build.
Showing invisible world 'World 4' because this is a debug build.
[Thread 0x7fffd55b4700 (LWP 9838) exited]
[New Thread 0x7fffd55b4700 (LWP 9839)]
[Thread 0x7fffd55b4700 (LWP 9839) exited]
Warning : Object Life berry did send Collision but doesn't exists in Manager
Loaded level: /home/cleverboy/games/tsc/share/tsc/levels/lvl_1.tsclvl
Reinitializing mruby interpreter.
TypeError: wrong argument type Module (expected Class)

Thread 1 "tsc" received signal SIGABRT, Aborted.
0x00007ffff4645418 in __GI_raise (…g@e…)
    at ../sysdeps/unix/sysv/linux/raise.c:54
54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.



(gdb) bt
#0  0x00007ffff4645418 in __GI_raise (…g@e…)
    at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff464701a in __GI_abort () at abort.c:89
#2  0x0000000000752fe3 in mrb_exc_raise (mrb=0x25367e60, exc=...)
    at /home/cleverboy/git/TSC/tsc/mruby/src/error.c:214
#3  0x00000000007534dc in mrb_raisef (mrb=0x25367e60, c=0x253b4a50, 
    fmt=0x7d76e0 "wrong argument type %S (expected %S)")
    at /home/cleverboy/git/TSC/tsc/mruby/src/error.c:290
#4  0x0000000000763235 in mrb_check_type (mrb=0x25367e60, x=..., 
    t=MRB_TT_CLASS) at /home/cleverboy/git/TSC/tsc/mruby/src/object.c:413
#5  0x000000000075bc5f in class_from_sym (mrb=0x25367e60, klass=0x253ba150, 
    id=703) at /home/cleverboy/git/TSC/tsc/mruby/src/class.c:111
#6  0x000000000075c3eb in mrb_class_get_under (mrb=0x25367e60, 
    outer=0x253ba150, name=0x7ad859 "Eventable")
    at /home/cleverboy/git/TSC/tsc/mruby/src/class.c:277
#7  0x000000000075c418 in mrb_class_get (mrb=0x25367e60, 
    name=0x7ad859 "Eventable")
    at /home/cleverboy/git/TSC/tsc/mruby/src/class.c:283
#8  0x000000000057d22a in TSC::Scripting::Init_Sprite (p_state=0x25367e60)
    at /home/cleverboy/git/TSC/tsc/src/scripting/objects/sprites/mrb_sprite.cpp:640
#9  0x000000000056aa0f in TSC::Scripting::cMRuby_Interpreter::Load_Wrappers (
    this=0x250c20e0)
---Type <return> to continue, or q <return> to quit---
    at /home/cleverboy/git/TSC/tsc/src/scripting/scripting.cpp:306
#10 0x0000000000569bf4 in TSC::Scripting::cMRuby_Interpreter::cMRuby_Interpreter (this=0x250c20e0, p_level=0x13ae100)
    at /home/cleverboy/git/TSC/tsc/src/scripting/scripting.cpp:96
#11 0x00000000006c2520 in TSC::cLevel::Reinitialize_MRuby_Interpreter (
    this=0x13ae100) at /home/cleverboy/git/TSC/tsc/src/level/level.cpp:1094
#12 0x00000000006c0186 in TSC::cLevel::Init (this=0x13ae100)
    at /home/cleverboy/git/TSC/tsc/src/level/level.cpp:464
#13 0x0000000000652290 in TSC::Handle_Generic_Game_Events (action_data=...)
    at /home/cleverboy/git/TSC/tsc/src/core/game_core.cpp:219
#14 0x00000000006517e3 in TSC::Handle_Game_Events ()
    at /home/cleverboy/git/TSC/tsc/src/core/game_core.cpp:155
#15 0x0000000000650acf in TSC::Update_Game ()
    at /home/cleverboy/git/TSC/tsc/src/core/main.cpp:583
#16 0x000000000064f596 in main (argc=1, argv=0x7fffffffddb8)
    at /home/cleverboy/git/TSC/tsc/src/core/main.cpp:207

Thanks,
 CB


By Thread
1970-01-01 00:00:00(unknown)[tsc-devel] Re: Bad build?
2016-08-05 01:28:26SK KRe: [tsc-devel] Re: Bad build?
2016-08-05 11:03:59Marvin GülkerRe: [tsc-devel] Re: Bad build?
2016-08-05 11:18:46SK KRe: [tsc-devel] Re: Bad build?
2016-08-05 17:57:24Marvin GülkerRe: [tsc-devel] Re: Bad build?
2016-08-07 00:33:44SK KRe: [tsc-devel] Bad build?
2016-08-08 18:29:52Marvin GülkerRe: [tsc-devel] Bad build?
2016-08-09 12:16:14Cleverboy 1604Re: [tsc-devel] Bad build?
By Date
[tsc-devel] Re: Bad build?(unknown)1970-01-01 00:00:00
Re: [tsc-devel] Re: Bad build?SK K2016-08-05 01:28:26
Re: [tsc-devel] Re: Bad build?Marvin Gülker2016-08-05 11:03:59
Re: [tsc-devel] Re: Bad build?SK K2016-08-05 11:18:46
Re: [tsc-devel] Re: Bad build?Marvin Gülker2016-08-05 17:57:24
Re: [tsc-devel] Bad build?SK K2016-08-07 00:33:44
Re: [tsc-devel] Bad build?Marvin Gülker2016-08-08 18:29:52
Re: [tsc-devel] Bad build?Cleverboy 16042016-08-09 12:16:14