[Bug 257885] kdepim-4.5.80: Kmail does not start at all

Andreas Jaeger jaegerandi at gmail.com
Thu Nov 25 20:39:29 GMT 2010


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





--- Comment #5 from Andreas Jaeger <jaegerandi gmail com>  2010-11-25 21:39:26 ---
I guess I found it:
Breakpoint 4, main (argc=2, argv=0x7fffffffdfc8)
    at /usr/src/debug/kdepim-runtime-4.5.80/migration/kmail/main.cpp:83
83    in /usr/src/debug/kdepim-runtime-4.5.80/migration/kmail/main.cpp
(gdb) p infoDialog 
$8 = (InfoDialog *) 0x7c07d0
(gdb) p *infoDialog 
$9 = {<KDialog> = {<No data fields>}, static staticMetaObject = {d = {superdata
= 0x690840, stringdata = 
    0x475280 "InfoDialog", data = 0x4753c0, extradata = 0x0}}, mList =
0x7b9c30, mStatusLabel = 
    0x7bba20, mProgressBar = 0x7b65a0, mMigratorCount = 1, mError = false,
mChange = false, 
  mCloseWhenDone = true, mAutoScrollList = true}
(gdb) n
tokoe: InfoDialog::message(2)
tokoe: InfoDialog::message: mError=0
tokoe: InfoDialog::message(1)
tokoe: InfoDialog::message: mError=0
tokoe: InfoDialog::message(1)
tokoe: InfoDialog::message: mError=0
tokoe: InfoDialog::message(0)
tokoe: InfoDialog::message: mError=0
84    in /usr/src/debug/kdepim-runtime-4.5.80/migration/kmail/main.cpp
(gdb) p *infoDialog 
$10 = {<KDialog> = {<No data fields>}, static staticMetaObject = {d =
{superdata = 0x690840, 
      stringdata = 0x475280 "InfoDialog", data = 0x4753c0, extradata = 0x0}},
mList = 
    0x4545454545454545, mStatusLabel = 0x4545454545454545, mProgressBar =
0x4545454545454545, 
  mMigratorCount = 1162167621, mError = 69, mChange = 69, mCloseWhenDone = 69,
mAutoScrollList = 69}

so, we access in line 84:
    82   args->clear();
     83   const int result = app->exec();
     84   if ( infoDialog && infoDialog->hasError() )
     85     return 3;
     86   return result;
infoDialog but the destructor has been called already

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list