Bonjour,

J'ai un projet sur NetBeans qui utilise Qt mais j'ai une erreur SIGBUS après la fin de la fonction mousePressEvent, c'est à dire que sans que j'appelle de fonction, une erreur se produit... Je n'y comprends plus rien, voila le rapport de GDB :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
Program received signal SIGBUS, Bus error.
0x00007ffff6e43da8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
(gdb) bt
#0  0x00007ffff6e43da8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#1  0x00007ffff6e5a580 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#2  0x00007ffff73b446e in ?? () from /usr/lib/libQtGui.so.4
#3  0x00007ffff6e2f992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007ffff6e2fd6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007ffff6e33aab in QCoreApplication::exec() ()
   from /usr/lib/libQtCore.so.4
#6  0x000000000040441c in initGame (argc=1, argv=0x7fffffffe338) at Game.cpp:29
#7  0x0000000000404324 in main (argc=1, argv=0x7fffffffe338) at main.cpp:7
Merci d'avance !