Hello Phil,
I'm experiencing a segmentation fault in sip.
I have build the latest released versions of sip and
pyqt on ubuntu, to be able to have a decent stack trace.
The issue only arises when objects are garbage collected,
so I'm unsure on how to build a simple test case for it ?
When I turn the python garbage collector of (gc.disable()),
the segfault never appears.
If there are things I can test to acquire more information,
or if somebody has ideas on how to build test cases involving
the garbage collector, please let me know.
Please find attached the stacktrace.
Best regards,
Erik
-------------- next part --------------
Program received signal SIGSEGV, Segmentation fault.
0x01f33da1 in sip_api_is_py_method (gil=0xbfff93ac, pymc=0xaf94314 "", sipSelf=0xafd1104, cname=0x0, mname=0x214c5bd "disconnectNotify") at siplib.c:7288
7288 assert(PyTuple_Check(mro));
(gdb) bt
#0 0x01f33da1 in sip_api_is_py_method (gil=0xbfff93ac, pymc=0xaf94314 "", sipSelf=0xafd1104, cname=0x0, mname=0x214c5bd "disconnectNotify") at siplib.c:7288
#1 0x02102875 in sipQAbstractTableModel::disconnectNotify (this=0xaf942e8, a0=0xae66d78 "2rowsAboutToBeRemoved(QModelIndex,int,int)") at sipQtCoreQAbstractTableModel.cpp:712
#2 0x018ecddc in QObject::disconnect (sender=0xaf942e8, signal=0x158ad7c "2rowsAboutToBeRemoved(QModelIndex,int,int)", receiver=0xb067a20, method=0x15a6f04 "1_q_rowsAboutToBeRemoved(QModelIndex,int,int)") at kernel/qobject.cpp:2786
#3 0x01421a90 in ~QItemSelectionModel (this=0xb067a20, __in_chrg=<value optimized out>) at itemviews/qitemselectionmodel.cpp:964
#4 0x018e518f in QObjectPrivate::deleteChildren (this=0xa6bee40) at kernel/qobject.cpp:1986
#5 0x00e8c3d3 in ~QWidget (this=0xb013cc0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#6 0x012812d1 in ~QFrame (this=0xb013cc0, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#7 0x0131d114 in ~QAbstractScrollArea (this=0xb013cc0, __in_chrg=<value optimized out>) at widgets/qabstractscrollarea.cpp:524
#8 0x013c2081 in ~QAbstractItemView (this=0xb013cc0, __in_chrg=<value optimized out>) at itemviews/qabstractitemview.cpp:598
#9 0x013d2bd5 in ~QHeaderView (this=0xb013cc0, __in_chrg=<value optimized out>) at itemviews/qheaderview.cpp:339
#10 0x018e518f in QObjectPrivate::deleteChildren (this=0xa6bfeb0) at kernel/qobject.cpp:1986
#11 0x00e8c3d3 in ~QWidget (this=0xb043740, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#12 0x012812d1 in ~QFrame (this=0xb043740, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#13 0x0131d114 in ~QAbstractScrollArea (this=0xb043740, __in_chrg=<value optimized out>) at widgets/qabstractscrollarea.cpp:524
#14 0x013c2081 in ~QAbstractItemView (this=0xb043740, __in_chrg=<value optimized out>) at itemviews/qabstractitemview.cpp:598
#15 0x013f8c81 in ~QTableView (this=0xb043740, __in_chrg=<value optimized out>) at itemviews/qtableview.cpp:1061
#16 0x007bf224 in ~sipQTableView (this=0xb043740, __in_chrg=<value optimized out>) at sipQtGuiQTableView.cpp:405
#17 0x018e518f in QObjectPrivate::deleteChildren (this=0xa6af0a0) at kernel/qobject.cpp:1986
#18 0x00e8c3d3 in ~QWidget (this=0xafa27c0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#19 0x00b05936 in ~sipQWidget (this=0xafa27c0, __in_chrg=<value optimized out>) at sipQtGuiQWidget.cpp:339
#20 0x018e518f in QObjectPrivate::deleteChildren (this=0xb09f5f8) at kernel/qobject.cpp:1986
#21 0x00e8c3d3 in ~QWidget (this=0xaf09278, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#22 0x012812d1 in ~QFrame (this=0xaf09278, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#23 0x012eb603 in ~QSplitter (this=0xaf09278, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1029
#24 0x0081a518 in ~sipQSplitter (this=0xaf09278, __in_chrg=<value optimized out>) at sipQtGuiQSplitter.cpp:330
#25 0x018e518f in QObjectPrivate::deleteChildren (this=0xbe0c3f0) at kernel/qobject.cpp:1986
#26 0x00e8c3d3 in ~QWidget (this=0xa6b14c8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#27 0x00b05936 in ~sipQWidget (this=0xa6b14c8, __in_chrg=<value optimized out>) at sipQtGuiQWidget.cpp:339
#28 0x00b1ac7d in release_QWidget (sipCppV=0xa6b14c8, sipState=6) at sipQtGuiQWidget.cpp:9360
#29 0x00b1ad1b in dealloc_QWidget (sipSelf=0xad70a94) at sipQtGuiQWidget.cpp:9376
#30 0x01f36e56 in forgetObject (sw=0xad70a94) at siplib.c:9746
#31 0x01f36685 in sipWrapper_dealloc (self=0xad70a94) at siplib.c:9301
#32 0x080ab5c3 in subtype_dealloc (self=<SelectView at remote 0xad70a94>) at ../Objects/typeobject.c:1019
#33 0x081625ea in cell_dealloc (op=0xabef83c) at ../Objects/cellobject.c:50
#34 0x080a8a44 in tupledealloc (op=0xb0f53ac) at ../Objects/tupleobject.c:170
#35 0x0816b4f3 in func_dealloc (op=0xb0ea17c) at ../Objects/funcobject.c:461
#36 0x0816247b in cell_clear (op=0xad81df4) at ../Objects/cellobject.c:93
#37 0x0810d1be in delete_garbage (generation=<value optimized out>) at ../Modules/gcmodule.c:714
#38 collect (generation=<value optimized out>) at ../Modules/gcmodule.c:865
#39 0x0810d8eb in collect_generations (basicsize=124) at ../Modules/gcmodule.c:924
#40 _PyObject_GC_Malloc (basicsize=124) at ../Modules/gcmodule.c:1363
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 0018b018.com.cn www.yumur.com.cn xipys.com.cn www.2jia.org.cn snfp.org.cn www.nkhy.com.cn www.otcbtc.com.cn lpxo.com.cn www.anynode.com.cn ryfv.com.cn