[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2012-08-19 Thread Myriam Schweingruber
https://bugs.kde.org/show_bug.cgi?id=171275

Myriam Schweingruber  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |UNMAINTAINED

--- Comment #10 from Myriam Schweingruber  ---
Thank you for your report. Kmail1 is currently unmaintained and the code has
changed sufficiently in Kmail2 so the backtraces are not really useful anymore.
Should you experience the same crash in Kmail 4.8.5 or later, please open a new
report for Kmail2. Thank you for your understanding

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2010-04-28 Thread Nicolas Lécureuil
https://bugs.kde.org/show_bug.cgi?id=171275


Nicolas Lécureuil  changed:

   What|Removed |Added

 CC||nlecure...@mandriva.com




--- Comment #9 from Nicolas Lécureuil   2010-04-28 
14:31:45 ---
i still have this from time to time in kde 4.4.2

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2009-04-14 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=171275





--- Comment #8 from Thomas McGuire   2009-04-14 10:59:14 ---
> Is it still reproducible? I can't reproduce bug on kmail 1.11.2 as mentioned 
> by reporter or any other methods mentioned in comments

Yes, it is a known race condition,

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2009-04-14 Thread Ruchir Brahmbhatt
https://bugs.kde.org/show_bug.cgi?id=171275


Ruchir Brahmbhatt  changed:

   What|Removed |Added

   Keywords||triaged
 CC||ruchir.brahmbh...@ecosmob.c
   ||om




--- Comment #7 from Ruchir Brahmbhatt   
2009-04-14 10:41:09 ---
Is it still reproducible? I can't reproduce bug on kmail 1.11.2 as mentioned by
reporter or any other methods mentioned in comments

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2009-02-21 Thread Jaime Torres
https://bugs.kde.org/show_bug.cgi?id=171275


Jaime Torres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||jtam...@gmail.com
 Ever Confirmed|0   |1




--- Comment #6 from Jaime Torres   2009-02-21 12:34:16 ---
I have the same error now (in linux). This is what I've done to get it hapen.

I just created an imap account, and selected a message, I was waiting for the
message to be displayed, while seeing thousands of lines:

kmail(15778) KMFolderSearch::slotSearchExamineMsgDone: "inbox" : serNum 60274
matches? false  

Then I choosed Quit, and this is the console output.


kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model::viewItemJobStepInternal:
FILLED THE VIEW AT  2.43125  MSG/SEC
kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) FolderStorage::headerOfMsgChanged:  idx >=0  0 
kmail(15778) FolderStorage::headerOfMsgChanged:  emit
msgHeaderChanged(folder(), idx)  0  
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model::viewItemJobStepInternal:
FILLED THE VIEW AT  2.40833  MSG/SEC
kmail(15778) KMKernel::getFolder: Folder not found: "/Local"
kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model::viewItemJobStepInternal:
FILLED THE VIEW AT  2.3872  MSG/SEC 
kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) FolderStorage::headerOfMsgChanged:  idx >=0  0 
kmail(15778) FolderStorage::headerOfMsgChanged:  emit
msgHeaderChanged(folder(), idx)  0  
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model::viewItemJobStepInternal:
FILLED THE VIEW AT  2.36852  MSG/SEC
kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) FolderStorage::headerOfMsgChanged:  idx >=0  0 
kmail(15778) FolderStorage::headerOfMsgChanged:  emit
msgHeaderChanged(folder(), idx)  0  
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model::viewItemJobStepInternal:
FILLED THE VIEW AT  2.34948  MSG/SEC
kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) FolderStorage::headerOfMsgChanged:  idx >=0  0 
kmail(15778) FolderStorage::headerOfMsgChanged:  emit
msgHeaderChanged(folder(), idx)  0  
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model::viewItemJobStepInternal:
FILLED THE VIEW AT  2.33109  MSG/SEC
kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) FolderStorage::headerOfMsgChanged:  idx >=0  0 
kmail(15778) FolderStorage::headerOfMsgChanged:  emit
msgHeaderChanged(folder(), idx)  0  
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model::viewItemJobStepInternal:
FILLED THE VIEW AT  2.31585  MSG/SEC
kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) FolderStorage::headerOfMsgChanged:  idx >=0  0 
kmail(15778) FolderStorage::headerOfMsgChanged:  emit
msgHeaderChanged(folder(), idx)  0  
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model::viewItemJobStepInternal:
FILLED THE VIEW AT  2.3021  MSG/SEC 
kmail(15778) KMail::ImapJob::slotGetMessageResult: Retrieved part ""
kmail(15778) KMFolder::getMsg: getMsg idx 0 
kmail(15778) KMail::MessageListView::Core::Model:

[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2009-02-19 Thread Brian Foster
https://bugs.kde.org/show_bug.cgi?id=171275


Brian Foster  changed:

   What|Removed |Added

 CC||brian.fos...@innova-card.co
   ||m




--- Comment #5 from Brian Foster   2009-02-19 
11:35:21 ---
Things were working just fine for me (using Kubuntu 8.10) and then all of a
sudden I also got hit by this.  At the moment, it's 100% reproducible simply by
trying to run `kmail'.  Some details

Script started on Thu 19 Feb 2009 11:19:02 AM CET
$
$ kmail --version
Qt: 4.4.3
KDE: 4.1.4 (KDE 4.1.4)
KMail: 1.10.4
$
$ gdb kmail
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /usr/bin/kmail
[Thread debugging using libthread_db enabled]
[New Thread 0x7fa41531a6f0 (LWP 17746)]
ASSERT: "s->parsed == false" in file
/build/buildd/kde4libs-4.1.4/kdecore/kernel/kcmdlineargs.cpp, line 524

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fa41531a6f0 (LWP 17746)]
0x7fa412218015 in raise () from /lib/libc.so.6
(gdb) where
#0  0x7fa412218015 in raise () from /lib/libc.so.6
#1  0x7fa412219b83 in abort () from /lib/libc.so.6
#2  0x7fa4136346b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#3  0x7fa4136347fd in qFatal () from /usr/lib/libQtCore.so.4
#4  0x7fa413b17a3a in KCmdLineArgs::addCmdLineOptions
(optio...@0x7fff1d362720,
na...@0x7fff1d3626e0, _id=, _afterId=)
at /build/buildd/kde4libs-4.1.4/kdecore/kernel/kcmdlineargs.cpp:524
#5  0x7fa414089bcf in KUniqueApplication::addCmdLineOptions ()
at /build/buildd/kde4libs-4.1.4/kdeui/kernel/kuniqueapplication.cpp:91
#6  0x7fa414089e64 in KUniqueApplication::start (flags={i = 490089536})
at /build/buildd/kde4libs-4.1.4/kdeui/kernel/kuniqueapplication.cpp:118
#7  0x7fa41408ad73 in KUniqueApplication::start ()
at /build/buildd/kde4libs-4.1.4/kdeui/kernel/kuniqueapplication.cpp:108
#8  0x7fa414578087 in KPIM::PimApplication::start ()
at /build/buildd/kdepim-4.1.4/libkdepim/pimapplication.cpp:106
#9  0x00402f25 in main (argc=, argv=)
at /build/buildd/kdepim-4.1.4/kmail/main.cpp:109
(gdb) info proc
process 17746
cmdline = '/usr/bin/kmail'
cwd = '/home/bfoster'
exe = '/usr/bin/kmail'
(gdb) info thread
* 1 Thread 0x7fa41531a6f0 (LWP 17746)  0x7fa412218015 in raise ()
   from /lib/libc.so.6
The program is running.  Exit anyway? (y or n) y
$
$ exit
Script done on Thu 19 Feb 2009 11:20:35 AM CET

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2008-10-02 Thread B . Broeksema
http://bugs.kde.org/show_bug.cgi?id=171275


B  Broeksema b broeksema home nl changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #4 from B. Broeksema   2008-10-02 22:51:00 ---
The problem with this bug is that it seem to occur when there is a dangling
kmail dbus session. I think that is the *real* bug. The point is that I'm not
able to reproduce that, although it just happened to me once also. What I had
by then is still a kmail session registered to dbus. But when trying to browse
the session using qdbusviewer it just froze qdbusviewer. 

However, when this does occur, the next thing happens when you try to start
kmail (the problem is in libkdepim/pimapplication.cpp I think):

Because their is a kmail session registered at dbus the test at line 70 will
pass.

Next the arguments are parsed at line 73, after this point it is not allowed to
add more options to it.

The problem starts when the test at line 93 fails and return
KUniqueApplication::start(); gets called.

Workarounds are: refuse to start when the test fails or call
KUniqueApplication::addCmdLineOptions() before the saveAppArgs() call in line
73.

But as said, these are just workarounds.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2008-09-27 Thread John Baldwin
http://bugs.kde.org/show_bug.cgi?id=171275





--- Comment #3 from John Baldwin   2008-09-27 16:00:43 ---
So I set a few breakpoints and here is where the application arguments are
parsed before KUniqueApplication::Start() is called:

(gdb) where
#0  KCmdLineArgsStatic::parseAllArgs ()
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdecore/kernel/kcmdlineargs.cpp:843
#1  0x2a04849b in KCmdLineArgs::saveAppArgs ([EMAIL PROTECTED])
at
/usr/ports/x11/kdelibs4/work/kdelibs-4.1.1/kdecore/kernel/kcmdlineargs.cpp:533
#2  0x28c88369 in KPIM::PimApplication::start ()
at
/usr/ports/deskutils/kdepim4/work/kdepim-4.1.1/libkdepim/pimapplication.cpp:73
#3  0x0804ab28 in main (argc=Error accessing memory address 0x0: Bad address.
)
at /usr/ports/deskutils/kdepim4/work/kdepim-4.1.1/kmail/main.cpp:109


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2008-09-18 Thread John Baldwin
http://bugs.kde.org/show_bug.cgi?id=171275





--- Comment #2 from John Baldwin   2008-09-18 16:40:24 ---
I just realized that I had read the assertion backwards.  The problem is that
some code is forcing a parse of the command line options before
KUniqueApplication::addCmdLineOptions() is called.  I think this happens in
PimApplication::start() where it fetches the program name (argv[0]) before
calling KUniqueApplication::start().


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

2008-09-18 Thread John Baldwin
http://bugs.kde.org/show_bug.cgi?id=171275





--- Comment #1 from John Baldwin   2008-09-18 14:19:14 ---
Looking at the kcmdlineargs.h header, it seems that kmail is following the
documented procedure:

 * // Initialize command line args
 * KCmdLineArgs::init(argc, argv, appName, programName, version,
description
);
 *
 * // Define the command line options using KCmdLineOptions
 * KCmdLineOptions options;
 * 
 *
 * // Register the supported options
 * KCmdLineArgs::addCmdLineOptions( options );
 *
 * // Add options from other components
 * KUniqueApplication::addCmdLineOptions();

main():
  KCmdLineArgs::init(argc, argv, &about);
  KCmdLineArgs::addCmdLineOptions( kmail_options() ); // Add kmail options
  if (!KMailApplication::start())
 return 0;

and PimApplication::Start() trickles down to KUniqueApplication::Start() which
calls KUniqueApplication::addCmdLineOptions().  The example in the header
wouldn't set s->parsed = TRUE until later when KCmdLineArgs::parseAllArgs() is
called, so I think the example code in the header would always trip this
assert.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs