• 5231阅读
  • 2回复

Qt4中弹出warning崩溃 [复制链接]

上一主题 下一主题
离线chelly1530
 

只看楼主 倒序阅读 楼主  发表于: 2009-07-16
在Qt4.2中使用多线程开发,长时间运行时主线程中的waring对话框弹出引起崩溃。
call stack中定位在Qt_message_output(QtMsgtype QtFatalMsg,const char *buf)  line1989
小弟百思不得其解,望高人指点,不胜感激!
离线sbtree
只看该作者 1楼 发表于: 2009-07-16
阅过。
顺便提醒:这个问题描述不够具体,潜在的可能原因太多了,没人能回答你
windows 7 + VC++2008 + Qt4.5.2
离线chelly1530

只看该作者 2楼 发表于: 2009-07-23
qt_message_output(QtMsgType QtFatalMsg, const char * 0x000b201c) line 1989
qFatal(const char * 0x6720c5d8) line 2209 + 14 bytes
qt_assert(const char * 0x6575820c, const char * 0x657581e8, int 2919) line 1753 + 22 bytes
QRasterBuffer::prepareBuffer(int 512, int 512) line 2919 + 30 bytes
QRasterBuffer::prepare(int 512, int 512) line 2867
QRasterPaintEngine::begin(QPaintDevice * 0x01aeb358) line 792
QPainter::begin(QPaintDevice * 0x01aeb358) line 1309 + 21 bytes
QPainter::QPainter(QPaintDevice * 0x00c689b8 {???}) line 1021
QWidgetPrivate::drawWidget(QPaintDevice * 0x01aeb358, const QRegion & {...}, const QPoint & {x=0 y=0}, int 5) line 724 + 45 bytes
QWidgetBackingStore::cleanRegion(const QRegion & {...}, QWidget * 0x00c689b0 {???}, unsigned char 1) line 603
qt_syncBackingStore(QRegion {...}, QWidget * 0x00c689b0 {???}, unsigned char 0) line 215
QETWidget::translatePaintEvent(const tagMSG & {msg=0x0000000f wp=0x00000000 lp=0x00000000}) line 2956 + 45 bytes
QtWndProc(HWND__ * 0x000a04f4, unsigned int 15, unsigned int 0, long 0) line 1585 + 12 bytes
USER32! 77d18734()
USER32! 77d18816()
USER32! 77d28ea0()
USER32! 77d28eec()
NTDLL! 7c92e453()
QWidgetPrivate::show_sys() line 1066
QWidgetPrivate::show_helper() line 4934
QWidget::setVisible(unsigned char 1) line 5099
QWidget::show() line 415 + 20 bytes
MainWindow::MinMapShow() line 1057
MainWindow::qt_metacall(QMetaObject::Call InvokeMetaMethod, int 28, void * * 0x000b65e4) line 148 + 8 bytes
QMetaObject::activate(QObject * 0x01287b28 {???}, int 5, int 6, void * * 0x000b65e4) line 2910
QMetaObject::activate(QObject * 0x01287b28 {???}, const QMetaObject * 0x65785400 struct QMetaObject const QAction::staticMetaObject, int 1, int 2, void * * 0x000b65e4) line 2961 + 27 bytes
QAction::triggered(unsigned char 0) line 203 + 23 bytes
QAction::activate(QAction::ActionEvent Trigger) line 1070
QAction::trigger() line 173 + 17 bytes
QToolButton::nextCheckState() line 998
QAbstractButtonPrivate::click() line 499
QAbstractButton::mouseReleaseEvent(QMouseEvent * 0x000b6be4 {type="MouseButtonRelease"}) line 1071
QToolButton::mouseReleaseEvent(QMouseEvent * 0x000b6be4 {type="MouseButtonRelease"}) line 597
QWidget::event(QEvent * 0x000b6be4 {type="MouseButtonRelease"}) line 5575
QAbstractButton::event(QEvent * 0x000b6be4 {type="MouseButtonRelease"}) line 1033
QToolButton::event(QEvent * 0x000b6be4 {type="MouseButtonRelease"}) line 1004
QApplicationPrivate::notify_helper(QObject * 0x012f3500 {???}, QEvent * 0x000b6be4 {type="MouseButtonRelease"}) line 3433 + 15 bytes
QApplication::notify(QObject * 0x012f3500 {???}, QEvent * 0x000b6be4 {type="MouseButtonRelease"}) line 3132 + 47 bytes
QCoreApplication::sendSpontaneousEvent(QObject * 0x012f3500 {???}, QEvent * 0x000b6be4 {type="MouseButtonRelease"}) line 184 + 61 bytes
QETWidget::translateMouseEvent(const tagMSG & {msg=0x00000202 wp=0x00000000 lp=0x00130011}) line 2620 + 20 bytes
QtWndProc(HWND__ * 0x000803e4, unsigned int 514, unsigned int 0, long 1245201) line 1276 + 12 bytes
USER32! 77d18734()
USER32! 77d18816()
USER32! 77d189cd()
USER32! 77d18a10()
QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> {...}) line 435 + 26 bytes
QGuiEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> {...}) line 928 + 21 bytes
QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> {...}) line 124
QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> {...}) line 169 + 45 bytes
QCoreApplication::exec() line 718 + 21 bytes
QApplication::exec() line 2927
main(int 1, char * * 0x003d5e40) line 44 + 6 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00141f0a, int 1) line 103 + 18 bytes
WinMainCRTStartup() line 330 + 54 bytes
KERNEL32! 7c817067()

以上是错误信息,程序在短时间内不会出错,大概到30分钟之后就会出现这个问题
快速回复
限100 字节
 
上一个 下一个