Disko Forum logo Login  |  Register  |  Lost Password
Re:Code Crashed

Posts: 14

Code Crashed 12 Years, 8 Months ago  
Hi I'm getting the follow error when I run my disko code using GDB:

I receive a segmentationfault signal and here the bt:

#0 0xb7f7d2a1 in DiskoWindow::handleInput (this=0x808500c, win=0x8086530, inputevent=0x8678888) at src/diskowindow.cpp:64
#1 0xb7f7d69e in sigc::internal:lot_call2<sigc::bound_mem_functor2<bool, DiskoWindow, MMSWindow*, MMSInputEvent*>, bool, MMSWindow*, MMSInputEvent*>::call_it (rep=0x8655770, a_1=@0xb48b9258, a_2=@0xb48b9254)
at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1917
#2 0xb7c5503f in MMSWindow::handleInput () from /root/disko/lib/disko/libmmsgui.so
#3 0xb7b26a98 in MMSInputManager::handleInput () from /root/disko/lib/disko/libmmsinput.so
#4 0xb7b63e07 in MMSInputThread::threadMain () from /root/disko/lib/disko/libmmsinput.so
#5 0xb7b1449f in MMSThread::run () from /root/disko/lib/disko/libmmstools.so
#6 0xb7b145ad in startmythread () from /root/disko/lib/disko/libmmstools.so
#7 0xb751b240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb71f249e in clone () from /lib/tls/i686/cmov/libc.so.6

I don't know if it's a bug or other kind of problem.
Anyone can help me?

  The administrator has disabled public write access.
Re:Code Crashed

Posts: 64

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:Code Crashed 12 Years, 8 Months ago  
Hi danieltidus,

it looks like it dumps in your handleInput() method.
What does line 64 in diskowindow.cpp look like?

Are you referencing a NULL-pointer or something like

Best regards,
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop