I am debugging the game, the reason why I got the source is figure why my game crashes sometimes.
So I got my first debugged crash:
0 (anonymous namespace)::GGSoundChannel::callback(int, void*) audiobinder.cpp 337 0x10007e66a
1 (anonymous namespace)::GGSoundChannel::callback_s(int, void*, void*) audiobinder.cpp 310 0x10007e509
2 gevent_CallbackList::dispatchEvent(int, void*) gevent_CallbackList::dispatchEvent(int, void*) 0x639e7
3 gevent::EventManager::tick() gevent::EventManager::tick() 0x63692
4 enterFrame(lua_State*) luaapplication.cpp 836 0x1000ab875
5 ...
So, why this is crashing? How I fix it? The place where it crashed is a physics heavy game and I expect it to crash for physics reason.
Comments
0 lua_rawget lua_rawget 0x113d68
1 ~GGSound audiobinder.cpp 95 0x10007ef8a
2 ~GGSound audiobinder.cpp 92 0x10007eed5
3 ~GGSound audiobinder.cpp 92 0x10007eef8
4 AudioBinder::Sound_destruct(lua_State*) audiobinder.cpp 495 0x10007d7d5
5 luaD_precall luaD_precall 0x11b26c
6 luaD_call luaD_call 0x115355
7 GCTM GCTM 0x11ed4e
8 callallgcTM callallgcTM 0x121c28
9 luaD_rawrunprotected luaD_rawrunprotected 0x11abb5
10 lua_close lua_close 0x121bf7
11 LuaApplication::deinitialize() luaapplication.cpp 798 0x1000aadc5
12 GLCanvas::paintGL() glcanvas.cpp 171 0x1000693d1
13 QGLWidget::glDraw() QGLWidget::glDraw() 0x29c623
14 QGLWidget::paintEvent(QPaintEvent*) QGLWidget::paintEvent(QPaintEvent*) 0x29c136
15 QWidget::event(QEvent*) QWidget::event(QEvent*) 0x35d3d6
16 QGLWidget::event(QEvent*) QGLWidget::event(QEvent*) 0x2beefe
17 QApplicationPrivate::notify_helper(QObject*, QEvent*) QApplicationPrivate::notify_helper(QObject*, QEvent*) 0x324ffc
18 QApplication::notify(QObject*, QEvent*) QApplication::notify(QObject*, QEvent*) 0x327abb
19 QCoreApplication::notifyInternal(QObject*, QEvent*) QCoreApplication::notifyInternal(QObject*, QEvent*) 0x10a8932
...
Anyone can help me? Why I am getting all those crashes on the audio? also this is the crash that was preventing me from debugging my lua (this is the crash that prevents the release version of the player from rendering the error dialog, meaning this crash happens every time there is an lua error that prompts a error box)
In this topic there are different issues addressed:
http://giderosmobile.com/forum/discussion/5243/gideros-source-released#Item_43
Quoting atlim:
You need to build GiderosStudio in release mode. In debug build, QScintilla crashes.
Hope this helps
P.
ie: I am trying to figure why it is crashing (a lot). my game is almost 100% done and I cannot release it because it keeps crashing for no clear reason.
Likes: vitalitymobile