Bug 234964 - segmentation fault on startup (infinite recursion)
Summary: segmentation fault on startup (infinite recursion)
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.3
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 12:30 UTC by Michal Sojka
Modified: 2010-06-20 18:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Sojka 2010-04-21 12:30:50 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

When I run korganizer I get:

$ korganizer
<unknown program name>(4041)/: Communication problem with  "korganizer" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

$ korganizer --nofork
[1]    3826 segmentation fault  korganizer --nofork

Backtrace:
(gdb) r
Starting program: /usr/bin/korganizer --nofork
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff56b1eb8 in qt_closestItemFirst (item1=0xa58320, item2=0x934e60) at graphicsview/qgraphicsitem_p.h:646
646	graphicsview/qgraphicsitem_p.h: No such file or directory.
	in graphicsview/qgraphicsitem_p.h
(gdb) bt
#0  0x00007ffff56b1eb8 in qt_closestItemFirst (item1=0xa58320, item2=0x934e60) at graphicsview/qgraphicsitem_p.h:646
#1  0x00007ffff56b842f in QAlgorithmsPrivate::qSortHelper<QList<QGraphicsItem*>::iterator, QGraphicsItem*, bool (*)(QGraphicsItem const*, QGraphicsItem const*)> (start=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:351
#2  0x00007ffff56b83ec in QAlgorithmsPrivate::qSortHelper<QList<QGraphicsItem*>::iterator, QGraphicsItem*, bool (*)(QGraphicsItem const*, QGraphicsItem const*)> (start=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:385
#3  0x00007ffff56b85c8 in qSort<QList<QGraphicsItem*>::iterator, bool (*)(QGraphicsItem const*, QGraphicsItem const*)> (start=<value optimized out>, end=<value optimized out>, 
    lessThan=0x7ffff56b1eb0 <qt_closestItemFirst>) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:187
#4  0x00007ffff56b7c31 in QGraphicsSceneBspTreeIndexPrivate::sortItems (itemList=0x7fffff7ff330, order=<value optimized out>, sortCacheEnabled=<value optimized out>, 
    onlyTopLevelItems=<value optimized out>) at graphicsview/qgraphicsscenebsptreeindex.cpp:434
#5  0x00007ffff56b7e69 in QGraphicsSceneBspTreeIndex::items (this=<value optimized out>, order=Qt::DescendingOrder) at graphicsview/qgraphicsscenebsptreeindex.cpp:572
#6  0x00007ffff56924ca in QGraphicsScene::items (this=<value optimized out>) at graphicsview/qgraphicsscene.cpp:1900
#7  0x00007ffff5698fb9 in QGraphicsScene::itemsBoundingRect (this=0x934e60) at graphicsview/qgraphicsscene.cpp:1887
#8  0x00007ffff569fc41 in QGraphicsScene::sceneRect (this=0xa4d690) at graphicsview/qgraphicsscene.cpp:1636
#9  0x00007ffff6be4c0f in KOrg::MonthScene::availableWidth (this=0x934e60) at ../../korganizer/views/monthview/monthscene.cpp:133
#10 0x00007ffff6be4c79 in KOrg::MonthScene::columnWidth (this=0xa58320) at ../../korganizer/views/monthview/monthscene.cpp:143
#11 0x00007ffff6be2ba3 in KOrg::MonthGraphicsItem::boundingRect (this=0x91deb0) at ../../korganizer/views/monthview/monthgraphicsitems.cpp:223
#12 0x00007ffff5667fa1 in QGraphicsItem::sceneBoundingRect (this=0x934e60) at graphicsview/qgraphicsitem.cpp:4545
#13 0x00007ffff5699058 in QGraphicsScene::itemsBoundingRect (this=<value optimized out>) at graphicsview/qgraphicsscene.cpp:1888
#14 0x00007ffff569fc41 in QGraphicsScene::sceneRect (this=0xa4d690) at graphicsview/qgraphicsscene.cpp:1636
#15 0x00007ffff6be4c0f in KOrg::MonthScene::availableWidth (this=0x934e60) at ../../korganizer/views/monthview/monthscene.cpp:133
#16 0x00007ffff6be4c79 in KOrg::MonthScene::columnWidth (this=0xa58320) at ../../korganizer/views/monthview/monthscene.cpp:143
#17 0x00007ffff6be2ba3 in KOrg::MonthGraphicsItem::boundingRect (this=0x91deb0) at ../../korganizer/views/monthview/monthgraphicsitems.cpp:223
#18 0x00007ffff5667fa1 in QGraphicsItem::sceneBoundingRect (this=0x934e60) at graphicsview/qgraphicsitem.cpp:4545
#19 0x00007ffff5699058 in QGraphicsScene::itemsBoundingRect (this=<value optimized out>) at graphicsview/qgraphicsscene.cpp:1888
#20 0x00007ffff569fc41 in QGraphicsScene::sceneRect (this=0xa4d690) at graphicsview/qgraphicsscene.cpp:1636
#21 0x00007ffff6be4c0f in KOrg::MonthScene::availableWidth (this=0x934e60) at ../../korganizer/views/monthview/monthscene.cpp:133
#22 0x00007ffff6be4c79 in KOrg::MonthScene::columnWidth (this=0xa58320) at ../../korganizer/views/monthview/monthscene.cpp:143
#23 0x00007ffff6be2ba3 in KOrg::MonthGraphicsItem::boundingRect (this=0x91deb0) at ../../korganizer/views/monthview/monthgraphicsitems.cpp:223
#24 0x00007ffff5667fa1 in QGraphicsItem::sceneBoundingRect (this=0x934e60) at graphicsview/qgraphicsitem.cpp:4545
#25 0x00007ffff5699058 in QGraphicsScene::itemsBoundingRect (this=<value optimized out>) at graphicsview/qgraphicsscene.cpp:1888
#26 0x00007ffff569fc41 in QGraphicsScene::sceneRect (this=0xa4d690) at graphicsview/qgraphicsscene.cpp:1636
#27 0x00007ffff6be4c0f in KOrg::MonthScene::availableWidth (this=0x934e60) at ../../korganizer/views/monthview/monthscene.cpp:133
#28 0x00007ffff6be4c79 in KOrg::MonthScene::columnWidth (this=0xa58320) at ../../korganizer/views/monthview/monthscene.cpp:143
#29 0x00007ffff6be2ba3 in KOrg::MonthGraphicsItem::boundingRect (this=0x91deb0) at ../../korganizer/views/monthview/monthgraphicsitems.cpp:223
#30 0x00007ffff5667fa1 in QGraphicsItem::sceneBoundingRect (this=0x934e60) at graphicsview/qgraphicsitem.cpp:4545
#31 0x00007ffff5699058 in QGraphicsScene::itemsBoundingRect (this=<value optimized out>) at graphicsview/qgraphicsscene.cpp:1888
#32 0x00007ffff569fc41 in QGraphicsScene::sceneRect (this=0xa4d690) at graphicsview/qgraphicsscene.cpp:1636
#33 0x00007ffff6be4c0f in KOrg::MonthScene::availableWidth (this=0x934e60) at ../../korganizer/views/monthview/monthscene.cpp:133
#34 0x00007ffff6be4c79 in KOrg::MonthScene::columnWidth (this=0xa58320) at ../../korganizer/views/monthview/monthscene.cpp:143
#35 0x00007ffff6be2ba3 in KOrg::MonthGraphicsItem::boundingRect (this=0x91deb0) at ../../korganizer/views/monthview/monthgraphicsitems.cpp:223

This pattern repeats - there was at least 10000 entries in the backtrace.
Comment 1 Boris 2010-04-27 16:29:33 UTC
I get this too.

$ korganizer --version
Qt: 4.6.2
KDE: 4.3.4 (KDE 4.3.4)
KOrganizer: 4.3.4
Comment 2 Sergio Martins 2010-06-20 16:40:32 UTC
I saw this too but can't reproduce now, i think since i updated Qt.

can you try with a newer Qt and KDE?
Comment 3 Michal Sojka 2010-06-20 18:33:27 UTC
On Sun, 20 Jun 2010, Sergio Martins wrote:
> --- Comment #2 from Sergio Martins <iamsergio gmail com>  2010-06-20 16:40:32 ---
> I saw this too but can't reproduce now, i think since i updated Qt.
> 
> can you try with a newer Qt and KDE?

Yes, it doesn't appear with newer Qt and KDE.

Thanks,
Michal