Hi,
I'm having random deadlocks in my pyqt application (I don't do
any locking and such in the app itself, but the app has
2 QThreads).
They appear to occur random when the application is used like
a madman (opening and closing windows all the time). A strange
observation is that the chances for deadlock are higher when using
xvfb instead of the normal x display. (I use this for running
unittests overnight)
I'm running Ubuntu 9.04 using python2.5 (the deadlocks also
appear when using python2.6)
The first line in the stack trace is always :
"xcb_wait_for_reply () from /usr/lib/libxcb.so.1"
Has anybody seen this before or can give me a clue on how
to proceed with this issue ?
Thx,
Erik
-------------- next part --------------
Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb7d8b8d0 (LWP 5820)]
0xb7f4d430 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7f4d430 in __kernel_vsyscall ()
#1 0xb7e687b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb632fca7 in ?? () from /usr/lib/libxcb.so.1
#3 0xb6331a12 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4 0xb6406cae in _XReply () from /usr/lib/libX11.so.6
#5 0xb63e33b9 in XGetImage () from /usr/lib/libX11.so.6
#6 0xb68327ef in ?? () from /usr/lib/libQtGui.so.4
#7 0xb682003b in QPixmap::toImage () from /usr/lib/libQtGui.so.4
#8 0xb67e2cc3 in QWidgetPrivate::setWindowIcon_sys () from /usr/lib/libQtGui.so.4
#9 0xb67aa100 in QWidget::create () from /usr/lib/libQtGui.so.4
#10 0xb67a50c8 in QWidgetPrivate::createWinId () from /usr/lib/libQtGui.so.4
#11 0xb67e54e9 in QWidgetPrivate::setParent_sys () from /usr/lib/libQtGui.so.4
#12 0xb67ab645 in QWidget::setParent () from /usr/lib/libQtGui.so.4
#13 0xb67abe7e in QWidget::setParent () from /usr/lib/libQtGui.so.4
#14 0xb6bd77f6 in QMenuBar::setCornerWidget () from /usr/lib/libQtGui.so.4
#15 0xb6bb8937 in ?? () from /usr/lib/libQtGui.so.4
#16 0xb6bb9400 in ?? () from /usr/lib/libQtGui.so.4
#17 0xb6bc044a in ?? () from /usr/lib/libQtGui.so.4
#18 0xb6bc2425 in QMdiSubWindow::changeEvent () from /usr/lib/libQtGui.so.4
#19 0xb67a752f in QWidget::event () from /usr/lib/libQtGui.so.4
#20 0xb6bc107a in QMdiSubWindow::event () from /usr/lib/libQtGui.so.4
#21 0xb6750e9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#22 0xb6759282 in QApplication::notify () from /usr/lib/libQtGui.so.4
#23 0xb7428613 in sipQApplication::notify (this=0xa1552b0, a0=0xc42d140, a1=0xbff68bb8) at sipQtGuipart9.cpp:20607
#24 0xb78a3a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#25 0xb67e99e7 in QWidget::setWindowState () from /usr/lib/libQtGui.so.4
#26 0xb679c525 in QWidget::showMaximized () from /usr/lib/libQtGui.so.4
#27 0xb6bc1c1d in QMdiSubWindow::eventFilter () from /usr/lib/libQtGui.so.4
#28 0xb78a2c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#29 0xb6750e7a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#30 0xb6759282 in QApplication::notify () from /usr/lib/libQtGui.so.4
#31 0xb7428613 in sipQApplication::notify (this=0xa1552b0, a0=0xc2b52f8, a1=0xbff69168) at sipQtGuipart9.cpp:20607
#32 0xb78a3a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#33 0xb67e99e7 in QWidget::setWindowState () from /usr/lib/libQtGui.so.4
#34 0xb679c525 in QWidget::showMaximized () from /usr/lib/libQtGui.so.4
#35 0xb741060a in meth_QWidget_showMaximized (sipSelf=0xc91ab2c, sipArgs=0xb7d4b02c) at sipQtGuipart9.cpp:68687
#36 0x080ceb42 in PyEval_EvalFrameEx (f=0xa23b054, throwflag=0) at ../Python/ceval.c:3612
#37 0x080cfea5 in PyEval_EvalCodeEx (co=0xa493068, globals=0xa185604, locals=0x0, args=0xcb365b8, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875
#38 0x08117511 in function_call (func=0xa521bc4, arg=0xcb365ac, kw=0x0) at ../Objects/funcobject.c:517
#39 0x0805d897 in PyObject_Call (func=0xbff67cac, arg=0xcb365ac, kw=0x0) at ../Objects/abstract.c:1861
#40 0x08063aaa in instancemethod_call (func=0xa521bc4, arg=0xcb365ac, kw=0x0) at ../Objects/classobject.c:2519
#41 0x0805d897 in PyObject_Call (func=0xbff67cac, arg=0xc7d394c, kw=0x0) at ../Objects/abstract.c:1861
#42 0x080c86cc in PyEval_CallObjectWithKeywords (func=0xc799644, arg=0xc7d394c, kw=0x0) at ../Python/ceval.c:3481
#43 0xb7c2fe47 in sip_api_invoke_slot (slot=0xaef1620, sigargs=0xc92772c) at /build/buildd/sip4-qt3-4.7.9/siplib/qtlib.c:716
#44 0xb79f8275 in PyQtProxy::invokeSlot (slot_conn=@0xaef1618, qargs=0xbff699b8) at /build/buildd/python-qt4-4.4.4/sip/QtCore/qobject.sip:2241
#45 0xb79f8e5b in PyQtProxy::unislot (this=0xaef1608, qargs=0xbff699b8) at /build/buildd/python-qt4-4.4.4/sip/QtCore/qobject.sip:2207
#46 0xb79f8f02 in PyQtProxy::qt_metacall (this=0xaef1608, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff699b8) at /build/buildd/python-qt4-4.4.4/sip/QtCore/qobject.sip:2160
#47 0xb78b9ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#48 0xb78ba932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#49 0xb6d40eb9 in QTreeWidget::itemClicked () from /usr/lib/libQtGui.so.4
#50 0xb6d44d75 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb6d4e491 in QTreeWidget::qt_metacall () from /usr/lib/libQtGui.so.4
#52 0xb713e354 in sipQTreeWidget::qt_metacall (this=0xae1eca0, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbff69b1c) at sipQtGuipart0.cpp:52918
#53 0xb78b9ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#54 0xb78ba932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#55 0xb6cc31b3 in QAbstractItemView::clicked () from /usr/lib/libQtGui.so.4
#56 0xb6cd07b5 in QAbstractItemView::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#57 0xb6d1378c in QTreeView::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#58 0xb7157922 in sipQTreeWidget::mouseReleaseEvent (this=0xae1eca0, a0=0xbff6a4b8) at sipQtGuipart0.cpp:53392
#59 0xb67a7b43 in QWidget::event () from /usr/lib/libQtGui.so.4
#60 0xb6b81993 in QFrame::event () from /usr/lib/libQtGui.so.4
#61 0xb6c2194f in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#62 0xb6cd3647 in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#63 0xb6d0e0c4 in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#64 0xb7131e24 in sipQTreeWidget::viewportEvent (this=0xae1eca0, a0=0xbff6a4b8) at sipQtGuipart0.cpp:53601
#65 0xb6c23f55 in ?? () from /usr/lib/libQtGui.so.4
#66 0xb78a2c5a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#67 0xb6750e7a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#68 0xb6759b11 in QApplication::notify () from /usr/lib/libQtGui.so.4
#69 0xb7428613 in sipQApplication::notify (this=0xa1552b0, a0=0xa3903c8, a1=0xbff6a4b8) at sipQtGuipart9.cpp:20607
#70 0xb78a3a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#71 0xb6758b7e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#72 0xb67c897e in ?? () from /usr/lib/libQtGui.so.4
#73 0xb67c7ca7 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#74 0xb67f2c6a in ?? () from /usr/lib/libQtGui.so.4
#75 0xb76b5b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#76 0xb76b90eb in ?? () from /usr/lib/libglib-2.0.so.0
#77 0xb76b9268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#78 0xb78cf438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#79 0xb67f2365 in ?? () from /usr/lib/libQtGui.so.4
#80 0xb78a206a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#81 0xb78a24aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#82 0xb78a4959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#83 0xb6750d17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#84 0xb7429116 in meth_QApplication_exec_ (sipArgs=0xb7d4b02c) at sipQtGuipart9.cpp:22662
#85 0x080ceb42 in PyEval_EvalFrameEx (f=0xa1b3d9c, throwflag=0) at ../Python/ceval.c:3612
#86 0x080cfea5 in PyEval_EvalCodeEx (co=0xb7ca7890, globals=0xb62f824c, locals=0x0, args=0x9efc618, argcount=1, kws=0x9efc61c, kwcount=0, defs=0xb7c867d8, defcount=2, closure=0x0) at ../Python/ceval.c:2875
#87 0x080ce7d4 in PyEval_EvalFrameEx (f=0x9efc4dc, throwflag=0) at ../Python/ceval.c:3708
#88 0x080cfea5 in PyEval_EvalCodeEx (co=0xb7d15458, globals=0xb7d64acc, locals=0xb7d64acc, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875
#89 0x080d00b7 in PyEval_EvalCode (co=0xb7d15458, globals=0xb7d64acc, locals=0xb7d64acc) at ../Python/ceval.c:514
#90 0x080edaef in PyRun_FileExFlags (fp=0x9ef0008, filename=0xbff6b6da "main.py", start=257, globals=0xb7d64acc, locals=0xb7d64acc, closeit=1, flags=0xbff6b408) at ../Python/pythonrun.c:1275
#91 0x080eddc2 in PyRun_SimpleFileExFlags (fp=0x9ef0008, filename=0xbff6b6da "main.py", closeit=1, flags=0xbff6b408) at ../Python/pythonrun.c:881
#92 0x08059617 in Py_Main (argc=1, argv=0xbff6b4d4) at ../Modules/main.c:532
#93 0x08058992 in main (argc=512, argv=0x0) at ../Modules/python.c:23
(gdb) up 37
#37 0x080cfea5 in PyEval_EvalCodeEx (co=0xa493068, globals=0xa185604, locals=0x0, args=0xcb365b8, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875
2875 ../Python/ceval.c: No such file or directory.
in ../Python/ceval.c
(gdb) pyframe
/home/tw55413/workspaces/partnerplan/Partnerplan/camelot/view/mainwindow.py (633): createMdiChild
(gdb)
---> child.showMaximized()
-------------- next part --------------
(gdb) bt
#0 0xb80b8430 in __kernel_vsyscall ()
#1 0xb7fd37b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb64dbca7 in ?? () from /usr/lib/libxcb.so.1
#3 0xb64dda12 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4 0xb65b2cae in _XReply () from /usr/lib/libX11.so.6
#5 0xb65a027d in XQueryPointer () from /usr/lib/libX11.so.6
#6 0xb697f800 in QCursor::pos () from /usr/lib/libQtGui.so.4
#7 0xb6904f54 in QApplicationPrivate::sendSyntheticEnterLeave () from /usr/lib/libQtGui.so.4
#8 0xb69596f7 in QWidget::setVisible () from /usr/lib/libQtGui.so.4
#9 0xb7354c8d in sipQTabWidget::setVisible (this=0xe4e7240, a0=254) at sipQtGuipart1.cpp:35687
#10 0xb694ba06 in QWidgetPrivate::_q_showIfNotHidden () from /usr/lib/libQtGui.so.4
#11 0xb6959c72 in QWidget::qt_metacall () from /usr/lib/libQtGui.so.4
#12 0xb6daf61a in QTabWidget::qt_metacall () from /usr/lib/libQtGui.so.4
#13 0xb7355064 in sipQTabWidget::qt_metacall (this=0xe4e7240, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xba2ff80) at sipQtGuipart1.cpp:35477
#14 0xb7a5e8fb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#15 0xb7a603a0 in QObject::event () from /usr/lib/libQtCore.so.4
#16 0xb6953440 in QWidget::event () from /usr/lib/libQtGui.so.4
#17 0xb6dae533 in QTabWidget::event () from /usr/lib/libQtGui.so.4
#18 0xb7352885 in sipQTabWidget::event (this=0xe4e7240, a0=0xc44a280) at sipQtGuipart1.cpp:35566
#19 0xb68fce9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0xb6905282 in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb75d4613 in sipQApplication::notify (this=0xa2bcd48, a0=0xe4e7240, a1=0xc44a280) at sipQtGuipart9.cpp:20607
#22 0xb7a4fa3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0xb7a50695 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#24 0xb7a5088d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#25 0xb7a7b7ef in ?? () from /usr/lib/libQtCore.so.4
#26 0xb7861b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0xb78650eb in ?? () from /usr/lib/libglib-2.0.so.0
#28 0xb7865268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0xb7a7b438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#30 0xb699e365 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb7a4e06a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#32 0xb7a4e4aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#33 0xb7a50959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#34 0xb68fcd17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#35 0xb75d5116 in meth_QApplication_exec_ (sipArgs=0xb7eb602c) at sipQtGuipart9.cpp:22662
#36 0x080ceb42 in PyEval_EvalFrameEx (f=0xa4af554, throwflag=0) at ../Python/ceval.c:3612
#37 0x080cfea5 in PyEval_EvalCodeEx (co=0xb7e106e0, globals=0xa08e24c, locals=0x0, args=0x9f3b618, argcount=1, kws=0x9f3b61c, kwcount=0, defs=0xb7e00798, defcount=2, closure=0x0) at ../Python/ceval.c:2875
#38 0x080ce7d4 in PyEval_EvalFrameEx (f=0x9f3b4dc, throwflag=0) at ../Python/ceval.c:3708
#39 0x080cfea5 in PyEval_EvalCodeEx (co=0xb7e80458, globals=0xb7ecfacc, locals=0xb7ecfacc, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875
#40 0x080d00b7 in PyEval_EvalCode (co=0xb7e80458, globals=0xb7ecfacc, locals=0xb7ecfacc) at ../Python/ceval.c:514
#41 0x080edaef in PyRun_FileExFlags (fp=0x9f2f008, filename=0xbfbd56da "main.py", start=257, globals=0xb7ecfacc, locals=0xb7ecfacc, closeit=1, flags=0xbfbd4068) at ../Python/pythonrun.c:1275
#42 0x080eddc2 in PyRun_SimpleFileExFlags (fp=0x9f2f008, filename=0xbfbd56da "main.py", closeit=1, flags=0xbfbd4068) at ../Python/pythonrun.c:881
#43 0x08059617 in Py_Main (argc=1, argv=0xbfbd4134) at ../Modules/main.c:532
#44 0x08058992 in main (argc=1024, argv=0x0) at ../Modules/python.c:23
More information about the PyQt
mailing list
‘She has never mentioned her father to me. Was he—well, the sort of man whom the County Club would not have blackballed?’ "We walked by the side of our teams or behind the wagons, we slept on the ground at night, we did our own cooking, we washed our knives by sticking them into the ground rapidly a few times, and we washed our plates with sand and wisps of grass. When we stopped, we arranged our wagons in a circle, and thus formed a 'corral,' or yard, where we drove our oxen to yoke them up. And the corral was often very useful as a fort, or camp, for defending ourselves against the Indians. Do you see that little hollow down there?" he asked, pointing to a depression in the ground a short distance to the right of the train. "Well, in that hollow our wagon-train was kept three days and nights by the Indians. Three days and nights they stayed around, and made several attacks. Two of our men were killed and three were wounded by their arrows, and others had narrow escapes. One arrow hit me on the throat, but I was saved by the knot of my neckerchief, and the point only tore the skin a little. Since that time I have always had a fondness for large neckties. I don't know how many of the Indians we killed, as they carried off their dead and wounded, to save them from being scalped. Next to getting the scalps of their enemies, the most important thing with the Indians is to save their own. We had several fights during our journey, but that one was the worst. Once a little party of us were surrounded in a small 'wallow,' and had a tough time to defend ourselves successfully. Luckily for us, the Indians had no fire-arms then, and their bows and arrows were no match for our rifles. Nowadays they are well armed, but there are[Pg 41] not so many of them, and they are not inclined to trouble the railway trains. They used to do a great deal of mischief in the old times, and many a poor fellow has been killed by them." As dusk came on nearly the whole population of Maastricht, with all their temporary guests, formed an endless procession and went to invoke God's mercy by the Virgin Mary's intercession. They went to Our Lady's Church, in which stands the miraculous statue of Sancta Maria Stella Maris. The procession filled all the principal streets and squares of the town. I took my stand at the corner of the Vrijthof, where all marched past me, men, women, and children, all praying aloud, with loud voices beseeching: "Our Lady, Star of the Sea, pray for us ... pray for us ... pray for us ...!" It had not occurred to her for some hours after Mrs. Campbell had told her of Landor's death that she was free now to give herself to Cairness. She had gasped, indeed, when she did remember it, and had put the thought away, angrily and self-reproachfully. But it returned now, and she felt that she might cling to it. She had been grateful, and she had been faithful, too.[Pg 286] She remembered only that Landor had been kind to her, and forgot that for the last two years she had borne with much harsh coldness, and with a sort of contempt which she felt in her unanalyzing mind to have been entirely unmerited. Gradually she raised herself until she sat quite erect by the side of the mound, the old exultation of her half-wild girlhood shining in her face as she planned the future, which only a few minutes before had seemed so hopeless. After he had gloated over Sergeant Ramsey, Shorty got his men into the road ready to start. Si placed himself in front of the squad and deliberately loaded his musket in their sight. Shorty took his place in the rear, and gave out: The groups about each gun thinned out, as the shrieking fragments of shell mowed down man after man, but the rapidity of the fire did not slacken in the least. One of the Lieutenants turned and motioned with his saber to the riders seated on their horses in the line of limbers under the cover of the slope. One rider sprang from each team and ran up to take the place of men who had fallen. "As long as there's men and women in the world, the men 'ull be top and the women bottom." Then, in the house, the little girls were useful. Mrs. Backfield was not so energetic as she used to be. She had never been a robust woman, and though her husband's care had kept her well and strong, her frame was not equal to Reuben's demands; after fourteen years' hard labour, she suffered from rheumatism, which though seldom acute, was inclined to make her stiff and slow. It was here that Caro and Tilly came in, and Reuben began to appreciate his girls. After all, girls were needed in a house—and as for young men and marriage, their father could easily see that such follies did not spoil their usefulness or take them from him. Caro and Tilly helped their grandmother in all sorts of ways—they dusted, they watched pots, they shelled peas and peeled potatoes, they darned house-linen, they could even make a bed between them. HoME一级毛片视频免费公开
ENTER NUMBET 0018www.kuosci.com.cn maxrac.org.cn photo120.com.cn tatajinrong.com.cn mcpu.com.cn www.ftgyjx.com.cn zjcypt.com.cn rong365.com.cn www.30k.net.cn www.umartai.com.cn