[Bug 299396] New: Segfault in QTreeWidget::setItemSelected called from KMail::FolderView::restoreItemStates

Magnus Holmgren holmgren at lysator.liu.se
Fri May 4 19:42:04 BST 2012


https://bugs.kde.org/show_bug.cgi?id=299396

            Bug ID: 299396
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: Segfault in QTreeWidget::setItemSelected called from
                    KMail::FolderView::restoreItemStates
    Classification: Unclassified
                OS: Linux
          Reporter: holmgren at lysator.liu.se
          Hardware: Debian testing
            Status: UNCONFIRMED
         Component: general
           Product: kmail2

Application: kmail (1.13.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
I've reinstalled Debian and KDE but reused my old $HOME. Shouldn't crash
anyway.
The backtrace says that "this" is optimized out, but when I checked with gdb,
it (i.e. the pointer to the parent TreeWidget) was set to 0x200.

The crash can be reproduced every time.

-- Backtrace:
Application: Kmail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  QTreeWidget::setItemSelected (this=<optimized out>, item=0x2253cc0,
select=false) at itemviews/qtreewidget.cpp:3034
#7  0x00007f0ab2c8697d in setSelected (aselect=false, this=0x2253cc0) at
/usr/include/qt4/QtGui/qtreewidget.h:397
#8  KMail::FolderView::restoreItemStates (this=0x22fec50) at
../../kmail/folderview.cpp:390
#9  0x00007f0ab2c871fb in KMail::FolderView::reload (this=0x22fec50,
openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#10 0x00007f0ab2e91f05 in KMMainWidget::readConfig (this=0x35ac350) at
../../kmail/kmmainwidget.cpp:602
#11 0x00007f0ab2e9de8f in KMMainWidget::KMMainWidget (this=0x35ac350,
parent=<optimized out>, aGUIClient=0x3694890, actionCollection=<optimized out>,
config=...) at ../../kmail/kmmainwidget.cpp:241
#12 0x00007f0ab2c34aaf in KMMainWin::KMMainWin (this=0x3694830,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../kmail/kmmainwin.cpp:41
#13 0x00007f0ab2dd68c7 in KMKernel::openReader (this=0x7fffb19a9b10,
onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#14 0x00007f0ab2dd7218 in KMKernel::action (this=0x7fffb19a9b10,
mailto=<optimized out>, check=false, to=..., cc=..., bcc=..., subj=...,
body=..., messageFile=..., attachURLs=..., customHeaders=...) at
../../kmail/kmkernel.cpp:1939
#15 0x00007f0ab2dd8517 in KMKernel::handleCommandLine (this=0x7fffb19a9b10,
noArgsOpensReader=true) at ../../kmail/kmkernel.cpp:368
#16 0x00000000004035ea in KMailApplication::newInstance (this=0x7fffb19a9c80)
at ../../kmail/main.cpp:87
#17 0x0000000000402fe3 in delayedInstanceCreation (this=0x7fffb19a9c80) at
../../kmail/main.cpp:94
#18 main (argc=<optimized out>, argv=<optimized out>) at
../../kmail/main.cpp:146

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list