Iris2.de
http://iris2.de/forum/

Another SegFault bug :(
http://iris2.de/forum/viewtopic.php?f=18&t=1252
Page 1 of 1

Author:  Link_of_Hyrule [ Mon Sep 15, 2008 10:05 pm ]
Post subject:  Another SegFault bug :(

Hagish fixed one of the seg fault bugs but apparently there is still one I think its possible caused by the animation system.

Code:
##################################
######      START INGAME     #####
##################################
none
Welcome to Iris
stop music
TODO:GumpParser_CloseOldDialog
NET: kPacket_Generic_Command size=0x0006 subcmd=0x0008=kPacket_Generic_SubComman
d_MapChange
NET: kPacket_Generic_Command size=0x000c subcmd=0x0019=kPacket_Generic_SubComman
d_ExtendedStats
warning : terrain : groundblock loader doesn't support group loading, falling ba
ck to copy, but it's a bit slower (group loading not implemented yet)
WARNING ! playing anim 'Pillage' failed
WARNING ! length check for anim 'Pillage' failed
WARNING ! playing anim 'Pillage' failed
WARNING ! length check for anim 'Pillage' failed
gTileFreeWalk:StuckFix
..\lugre\src\lugre_main.cpp:182:Lugre::Lugre_Run
..\lugre\src\lugre_game.cpp:19:Lugre::cGame::Run
  ..\lugre\src\lugre_scripting.cpp:263:Lugre::cScripting::LuaCall
   ..\lugre\src\lugre_scripting.cpp:187:Lugre::PCallWithErrFuncWrapper
    ..\lugre\src\lugre_scripting.ogre.cpp:416:l_Client_RenderOneFrame
     ..\lugre\src\lugre_game.cpp:35:Lugre::cGame::RenderOneFrame
      ..\lugre\src\lugre_ogrewrapper.cpp:603:Lugre::cOgreWrapper::RenderOneFrame

PrintLuaStackTrace:
LuaStackTrace:

        [C]: in function `Client_RenderOneFrame'
        ..//lua/main.lua:435: in function `MainStep'
        ..//lua/main.lua:361: in function <..//lua/main.lua:285>
ERROR : SegFault Detected
If this error remains after running the updater and you think this is a bug
please check the BugTracker at www.iris2.de
and report it if it is not already known.
Please also append the logfile in bin/stacktrace.log to your bugreport.

Author:  SiENcE [ Tue Sep 16, 2008 11:38 am ]
Post subject: 

Remember that we always have the shader seg-fault bug. so don't turn on shaders at all to search bugs. otherwise it can be always this shader seg-fault. i don't think thats an animation seg-fault bug, but who knows :-).

Author:  Link_of_Hyrule [ Tue Sep 16, 2008 7:52 pm ]
Post subject: 

Here is a debug of the animation.

Code:
##################################
######      START INGAME     #####
##################################
none
Welcome to Iris
stop music
TODO:GumpParser_CloseOldDialog
NET: kPacket_Generic_Command size=0x0006 subcmd=0x0008=kPacket_Generic_SubComman
d_MapChange
NET: kPacket_Generic_Command size=0x000c subcmd=0x0019=kPacket_Generic_SubComman
d_ExtendedStats
DEBUG[animation]        Animation m_animForward=0,m_animation=5,m_frameDelay=1,m
_framecount=5,m_repeat=1,m_repeatFlag=1,mobileserial=5595,
warning : terrain : groundblock loader doesn't support group loading, falling ba
ck to copy, but it's a bit slower (group loading not implemented yet)
gTileFreeWalk:StuckFix
DEBUG[animation]        Animation m_animForward=0,m_animation=10,m_frameDelay=1,
m_framecount=5,m_repeat=1,m_repeatFlag=0,mobileserial=4204,
DEBUG[animation]        Animation m_animForward=0,m_animation=10,m_frameDelay=1,
m_framecount=5,m_repeat=1,m_repeatFlag=0,mobileserial=4040,
DEBUG[animation]        Animation m_animForward=0,m_animation=10,m_frameDelay=1,
m_framecount=5,m_repeat=1,m_repeatFlag=0,mobileserial=4192,
DEBUG[animation]        Animation m_animForward=0,m_animation=11,m_frameDelay=1,
m_framecount=5,m_repeat=1,m_repeatFlag=0,mobileserial=4145,
WARNING ! playing anim 'Pillage' failed
WARNING ! length check for anim 'Pillage' failed
..\lugre\src\lugre_main.cpp:182:Lugre::Lugre_Run
..\lugre\src\lugre_game.cpp:19:Lugre::cGame::Run
  ..\lugre\src\lugre_scripting.cpp:263:Lugre::cScripting::LuaCall
   ..\lugre\src\lugre_scripting.cpp:187:Lugre::PCallWithErrFuncWrapper
    ..\lugre\src\lugre_scripting.ogre.cpp:416:l_Client_RenderOneFrame
     ..\lugre\src\lugre_game.cpp:35:Lugre::cGame::RenderOneFrame
      ..\lugre\src\lugre_ogrewrapper.cpp:603:Lugre::cOgreWrapper::RenderOneFrame

PrintLuaStackTrace:
LuaStackTrace:

        [C]: in function `Client_RenderOneFrame'
        ..//lua/main.lua:435: in function `MainStep'
        ..//lua/main.lua:361: in function <..//lua/main.lua:285>
ERROR : SegFault Detected
If this error remains after running the updater and you think this is a bug
please check the BugTracker at www.iris2.de
and report it if it is not already known.
Please also append the logfile in bin/stacktrace.log to your bugreport.


EDIT: I just had another segfault that didn't have anything animation related before it so possible could be caused by this "gTileFreeWalk:StuckFix" which seems to be in all 4 of my segfault errors since i've been keeping track

Author:  ghoulsblade [ Tue Sep 16, 2008 11:59 pm ]
Post subject: 

the "WARNING ! length check for anim 'Pillage' failed" before the crash doesn't mean that the crash is animation related.

it occurs inside "[C]: in function `Client_RenderOneFrame'" so it could be basically anything 3d related.

sadly it's hard to locate the problem in this case, you could try playing around with gdb and compiling ogre with debug infos, and then try to get a more useful stacktrace with gdb under linux, or whatever debug system you have available. But don't ask me how, i don't know the ogre build system well enough to be any help here.

other than that : try disabling the watershader via config and try to reproduce the crash.

Author:  Link_of_Hyrule [ Wed Sep 17, 2008 4:02 am ]
Post subject: 

Ok well maybe sience can help with that I'll try the water shader again.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/