[Bug 171275] New: kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp
John Baldwin
jhb at FreeBSD.org
Thu Sep 18 13:12:20 BST 2008
http://bugs.kde.org/show_bug.cgi?id=171275
Summary: kmail crashes on startup with ASSERT: "s->parsed ==
false" in kdelibs4/kcmdlineargs.cpp
Product: kmail
Version: unspecified
Platform: FreeBSD Ports
OS/Version: FreeBSD
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: kdepim-bugs at kde.org
ReportedBy: jhb at FreeBSD.org
Version: (using KDE 4.1.1)
Compiler: gcc version 4.2.1 20070719 [FreeBSD]
OS: FreeBSD
Installed from: FreeBSD Ports
This is from starting kmail with no existing configuration (I tried using my
previous config from kdepim-3.5.8 as well, but when it crashed, I reproduced
with no ~/.kde4/share/apps/kmail directory at all).
> kmail
ASSERT: "s->parsed == false" in file
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdecore/kernel/kcmdlineargs.cpp,
line 524
Abort (core dumped)
> gdb /usr/local/kde4/bin/kmail kmail.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `kmail'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/kde4/lib/libkmailprivate.so.5...done.
Loaded symbols for /usr/local/kde4/lib/libkmailprivate.so.5
[ massive list of shared libraries skipped for brevity ... ]
Reading symbols from /usr/local/lib/libdbus-1.so.3...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.3
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x2b4e48c7 in kill () from /lib/libc.so.7
[New Thread 0x8101100 (LWP 100162)]
(gdb) where
#0 0x2b4e48c7 in kill () from /lib/libc.so.7
#1 0x2a5a00e7 in raise () from /lib/libthr.so.3
#2 0x2b4e345a in abort () from /lib/libc.so.7
#3 0x2a41bb8b in qt_message_output () from /usr/local/lib/qt4/libQtCore.so.4
#4 0x2a41bc49 in qFatal () from /usr/local/lib/qt4/libQtCore.so.4
#5 0x2a41bce5 in qt_assert () from /usr/local/lib/qt4/libQtCore.so.4
#6 0x2a041c36 in KCmdLineArgs::addCmdLineOptions (options=@0xbfbfe088,
name=@0xbfbfe078, _id=@0xbfbfe074, _afterId=@0xbfbfe070)
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdecore/kernel/kcmdlineargs.cpp:524
#7 0x29d24542 in KUniqueApplication::addCmdLineOptions ()
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdeui/kernel/kuniqueapplication.cpp:91
#8 0x29d24606 in KUniqueApplication::start (flags=@0xbfbfe2fc)
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdeui/kernel/kuniqueapplication.cpp:118
#9 0x29d259d2 in KUniqueApplication::start ()
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdeui/kernel/kuniqueapplication.cpp:108
#10 0x28c88b6e in KPIM::PimApplication::start ()
at
/usr/ports/deskutils/kdepim4/work/kdepim-4.1.1/libkdepim/pimapplication.cpp:106
#11 0x0804ab28 in main (argc=Cannot access memory at address 0x3
)
at /usr/ports/deskutils/kdepim4/work/kdepim-4.1.1/kmail/main.cpp:109
(gdb) info threads
* 1 Thread 0x8101100 (LWP 100162) 0x2b4e48c7 in kill () from /lib/libc.so.7
(gdb) frame 8
#8 0x29d24606 in KUniqueApplication::start (flags=@0xbfbfe2fc)
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdeui/kernel/kuniqueapplication.cpp:118
118 addCmdLineOptions(); // Make sure to add cmd line options
(gdb) p flags
$1 = (QFlags<KUniqueApplication::StartFlag> &) @0xbfbfe2fc: {i = 0}
(gdb) down
#7 0x29d24542 in KUniqueApplication::addCmdLineOptions ()
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdeui/kernel/kuniqueapplication.cpp:91
91 KCmdLineArgs::addCmdLineOptions(kunique_options, KLocalizedString(),
"kuniqueapp", "kde");
(gdb)
#6 0x2a041c36 in KCmdLineArgs::addCmdLineOptions (options=@0xbfbfe088,
name=@0xbfbfe078, _id=@0xbfbfe074, _afterId=@0xbfbfe070)
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdecore/kernel/kcmdlineargs.cpp:524
524 Q_ASSERT( s->parsed == false ); // You must add _ALL_ cmd line
options
(gdb) p s
$2 = {<No data fields>}
(gdb) l
519 // unnamed option group should come after all named groups.
520 if (!afterId.isEmpty() && afterId == (*args)->d->id)
521 pos = i+1;
522 }
523
524 Q_ASSERT( s->parsed == false ); // You must add _ALL_ cmd line
options
525 // before accessing the arguments!
526 s->argsList->insert(pos, new KCmdLineArgs(options, name,
id.toUtf8()));
527 }
528
--
Configure bugmail: http://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