Ich habe 2 Programme am laufen. Eines als Server (mit -qws gestartet) und das Andere als Client.
Wenn beide Programme zeitgleich auf das Display schreiben erscheint nach ca. 30 Minuten ein Segmentation fault.
Hier ist ein Auszug vom coredump:
(gdb) bt
#0 0xb75c39b9 in free () from /lib/tls/libc.so.6
#1 0xb77703b1 in operator delete () from /usr/lib/libstdc++.so.6
#2 0xb777040d in operator delete[] () from /usr/lib/libstdc++.so.6
#3 0x084c72ec in QStringData::deleteSelf ()
#4 0x0814fdea in QString::~QString (this=0xb7234fd4)
#5 0x08141304 in cl_TestQFrame::paintEvent (this=0x884ba38, e=0xb72351a8)
#6 0x082cfe80 in QWidget::event ()
#7 0x0813a795 in cl_TestQFrame::event (this=0x884ba38, e=0xb72351a8)
#8 0x082363ee in QApplication::internalNotify ()
#9 0x08237710 in QApplication::notify ()
#10 0x08215901 in QWidget::repaint ()
#11 0x0823806a in QApplication::sendPostedEvents ()
#12 0x08238138 in QApplication::sendPostedEvents ()
#13 0x081e9407 in QEventLoop::processEvents ()
#14 0x0824b251 in QEventLoop::enterLoop ()
#15 0x0824b106 in QEventLoop::exec ()
#16 0x0814b3f1 in cl_Thread::run (this=0x8827020) at
#17 0x0822fa8e in QThreadInstance::start ()
#18 0xb77ab0bd in start_thread () from /lib/tls/libpthread.so.0
#19 0xb76299ee in clone () from /lib/tls/libc.so.6
(gdb)
Auf der Konsole erscheint dann ab und zu
*** glibc detected *** double free or corruption (fasttop): 0x08802ca8 ***
Kann mir hier jemand weiterhelfen?