GNOME Bugzilla – Bug 352284
crash in camel_mime_part_construct_content_from_parser
Last modified: 2007-10-20 16:58:38 UTC
What were you doing when the application crashed? Nothing, wasn't at home. It's been checking e-mails on itself, should be all.. Distribution: Ubuntu 6.10 (edgy) Gnome Release: 2.15.91 2006-08-08 (Ubuntu) BugBuddy Version: 2.15.90 Memory status: size: -1093500928 vsize: 0 resident: -1093500928 share: 0 rss: 635613184 rss_rlim: 0 CPU usage: start_time: 1156082786 rtime: 0 utime: 7707 stime: 0 cutime:6087 cstime: 0 timeout: 1620 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/bin/evolution-2.8' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1232312656 (LWP 27863)] [New Thread -1458582624 (LWP 16178)] [New Thread -1303389280 (LWP 27898)] [New Thread -1345352800 (LWP 27896)] [New Thread -1320174688 (LWP 27892)] [New Thread -1378923616 (LWP 27890)] [New Thread -1370530912 (LWP 27889)] [New Thread -1387316320 (LWP 27888)] [New Thread -1362138208 (LWP 27884)] [New Thread -1353745504 (LWP 27883)] [New Thread -1336960096 (LWP 27881)] [New Thread -1328567392 (LWP 27880)] [New Thread -1311781984 (LWP 27878)] [New Thread -1294996576 (LWP 27876)] [New Thread -1276474464 (LWP 27874)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 70777
Thread 6 (Thread -1378923616 (LWP 27890))
*** Bug 352641 has been marked as a duplicate of this bug. ***
*** Bug 352640 has been marked as a duplicate of this bug. ***
*** Bug 363851 has been marked as a duplicate of this bug. ***
*** Bug 366042 has been marked as a duplicate of this bug. ***
*** Bug 368513 has been marked as a duplicate of this bug. ***
*** Bug 366403 has been marked as a duplicate of this bug. ***
*** Bug 369715 has been marked as a duplicate of this bug. ***
Good traces in bug 366403 and bug 369715. Confirming.
+ Trace 82602
Note: See bug 366403 comment 3, 366403 comment 5 and 366403 comment 6 for some observations. Thanks again, Steven!
Ciao. I instigated another crash. This time I also have installed libglib2.0-0-dbg and also libglib1.2-dbg (since that lib is also installed on my system). Since they're long, I'll make an attachment here with the traces. This is 100% predictable here; and completely inevitable once Evolution checks mail enough times. OK, thanks.
Created attachment 75999 [details] The Bug Buddy trace output after an Evolution crash per bug 352284. The crash stack trace mentioned in the previous comment here from S. Coco.
*** Bug 372496 has been marked as a duplicate of this bug. ***
*** Bug 372814 has been marked as a duplicate of this bug. ***
*** Bug 376307 has been marked as a duplicate of this bug. ***
*** Bug 376225 has been marked as a duplicate of this bug. ***
*** Bug 375518 has been marked as a duplicate of this bug. ***
*** Bug 377962 has been marked as a duplicate of this bug. ***
*** Bug 377710 has been marked as a duplicate of this bug. ***
*** Bug 377658 has been marked as a duplicate of this bug. ***
*** Bug 377602 has been marked as a duplicate of this bug. ***
*** Bug 377291 has been marked as a duplicate of this bug. ***
*** Bug 378137 has been marked as a duplicate of this bug. ***
*** Bug 381200 has been marked as a duplicate of this bug. ***
*** Bug 381304 has been marked as a duplicate of this bug. ***
*** Bug 381760 has been marked as a duplicate of this bug. ***
*** Bug 382216 has been marked as a duplicate of this bug. ***
*** Bug 382370 has been marked as a duplicate of this bug. ***
*** Bug 382481 has been marked as a duplicate of this bug. ***
*** Bug 382485 has been marked as a duplicate of this bug. ***
*** Bug 384246 has been marked as a duplicate of this bug. ***
*** Bug 385114 has been marked as a duplicate of this bug. ***
*** Bug 386127 has been marked as a duplicate of this bug. ***
*** Bug 390698 has been marked as a duplicate of this bug. ***
*** Bug 388983 has been marked as a duplicate of this bug. ***
*** Bug 388526 has been marked as a duplicate of this bug. ***
*** Bug 388384 has been marked as a duplicate of this bug. ***
*** Bug 387168 has been marked as a duplicate of this bug. ***
*** Bug 391736 has been marked as a duplicate of this bug. ***
*** Bug 391410 has been marked as a duplicate of this bug. ***
*** Bug 391463 has been marked as a duplicate of this bug. ***
*** Bug 391555 has been marked as a duplicate of this bug. ***
*** Bug 392119 has been marked as a duplicate of this bug. ***
*** Bug 392244 has been marked as a duplicate of this bug. ***
*** Bug 392835 has been marked as a duplicate of this bug. ***
*** Bug 392980 has been marked as a duplicate of this bug. ***
*** Bug 393363 has been marked as a duplicate of this bug. ***
*** Bug 394202 has been marked as a duplicate of this bug. ***
*** Bug 394213 has been marked as a duplicate of this bug. ***
*** Bug 395882 has been marked as a duplicate of this bug. ***
*** Bug 395660 has been marked as a duplicate of this bug. ***
*** Bug 396365 has been marked as a duplicate of this bug. ***
*** Bug 396925 has been marked as a duplicate of this bug. ***
*** Bug 397098 has been marked as a duplicate of this bug. ***
*** Bug 397153 has been marked as a duplicate of this bug. ***
*** Bug 397522 has been marked as a duplicate of this bug. ***
*** Bug 397853 has been marked as a duplicate of this bug. ***
*** Bug 397740 has been marked as a duplicate of this bug. ***
*** Bug 399064 has been marked as a duplicate of this bug. ***
*** Bug 399973 has been marked as a duplicate of this bug. ***
*** Bug 400457 has been marked as a duplicate of this bug. ***
*** Bug 401113 has been marked as a duplicate of this bug. ***
*** Bug 401020 has been marked as a duplicate of this bug. ***
*** Bug 402944 has been marked as a duplicate of this bug. ***
*** Bug 403264 has been marked as a duplicate of this bug. ***
*** Bug 403392 has been marked as a duplicate of this bug. ***
*** Bug 403395 has been marked as a duplicate of this bug. ***
*** Bug 403262 has been marked as a duplicate of this bug. ***
*** Bug 403430 has been marked as a duplicate of this bug. ***
*** Bug 403820 has been marked as a duplicate of this bug. ***
*** Bug 403864 has been marked as a duplicate of this bug. ***
*** Bug 403633 has been marked as a duplicate of this bug. ***
*** Bug 405122 has been marked as a duplicate of this bug. ***
*** Bug 405382 has been marked as a duplicate of this bug. ***
*** Bug 405521 has been marked as a duplicate of this bug. ***
*** Bug 405897 has been marked as a duplicate of this bug. ***
*** Bug 406405 has been marked as a duplicate of this bug. ***
*** Bug 406863 has been marked as a duplicate of this bug. ***
*** Bug 407151 has been marked as a duplicate of this bug. ***
*** Bug 407529 has been marked as a duplicate of this bug. ***
*** Bug 407596 has been marked as a duplicate of this bug. ***
*** Bug 407729 has been marked as a duplicate of this bug. ***
*** Bug 408690 has been marked as a duplicate of this bug. ***
*** Bug 408702 has been marked as a duplicate of this bug. ***
*** Bug 406991 has been marked as a duplicate of this bug. ***
*** Bug 408297 has been marked as a duplicate of this bug. ***
*** Bug 409189 has been marked as a duplicate of this bug. ***
*** Bug 409850 has been marked as a duplicate of this bug. ***
*** Bug 410237 has been marked as a duplicate of this bug. ***
*** Bug 410276 has been marked as a duplicate of this bug. ***
*** Bug 410596 has been marked as a duplicate of this bug. ***
*** Bug 410668 has been marked as a duplicate of this bug. ***
*** Bug 410680 has been marked as a duplicate of this bug. ***
*** Bug 411495 has been marked as a duplicate of this bug. ***
*** Bug 412264 has been marked as a duplicate of this bug. ***
*** Bug 412527 has been marked as a duplicate of this bug. ***
+ Trace 114803
*** Bug 413831 has been marked as a duplicate of this bug. ***
*** Bug 413838 has been marked as a duplicate of this bug. ***
*** Bug 413512 has been marked as a duplicate of this bug. ***
*** Bug 412376 has been marked as a duplicate of this bug. ***
*** Bug 414709 has been marked as a duplicate of this bug. ***
*** Bug 414889 has been marked as a duplicate of this bug. ***
*** Bug 415190 has been marked as a duplicate of this bug. ***
*** Bug 415383 has been marked as a duplicate of this bug. ***
*** Bug 416150 has been marked as a duplicate of this bug. ***
*** Bug 416295 has been marked as a duplicate of this bug. ***
*** Bug 415709 has been marked as a duplicate of this bug. ***
*** Bug 414771 has been marked as a duplicate of this bug. ***
*** Bug 417442 has been marked as a duplicate of this bug. ***
*** Bug 417911 has been marked as a duplicate of this bug. ***
*** Bug 417979 has been marked as a duplicate of this bug. ***
*** Bug 418533 has been marked as a duplicate of this bug. ***
*** Bug 417862 has been marked as a duplicate of this bug. ***
*** Bug 418989 has been marked as a duplicate of this bug. ***
*** Bug 420472 has been marked as a duplicate of this bug. ***
*** Bug 420511 has been marked as a duplicate of this bug. ***
*** Bug 420724 has been marked as a duplicate of this bug. ***
*** Bug 420651 has been marked as a duplicate of this bug. ***
*** Bug 419942 has been marked as a duplicate of this bug. ***
*** Bug 419975 has been marked as a duplicate of this bug. ***
*** Bug 421260 has been marked as a duplicate of this bug. ***
*** Bug 421468 has been marked as a duplicate of this bug. ***
*** Bug 420729 has been marked as a duplicate of this bug. ***
*** Bug 420908 has been marked as a duplicate of this bug. ***
*** Bug 421014 has been marked as a duplicate of this bug. ***
*** Bug 422168 has been marked as a duplicate of this bug. ***
*** Bug 422937 has been marked as a duplicate of this bug. ***
*** Bug 422980 has been marked as a duplicate of this bug. ***
*** Bug 424195 has been marked as a duplicate of this bug. ***
*** Bug 424327 has been marked as a duplicate of this bug. ***
*** Bug 421719 has been marked as a duplicate of this bug. ***
*** Bug 422036 has been marked as a duplicate of this bug. ***
*** Bug 422499 has been marked as a duplicate of this bug. ***
*** Bug 420481 has been marked as a duplicate of this bug. ***
bug 420481 also provides a trace. setting GNOME 2.18.x target: 130 dups, 35 in the last days.
*** Bug 425053 has been marked as a duplicate of this bug. ***
*** Bug 425268 has been marked as a duplicate of this bug. ***
*** Bug 423171 has been marked as a duplicate of this bug. ***
*** Bug 420884 has been marked as a duplicate of this bug. ***
*** Bug 421471 has been marked as a duplicate of this bug. ***
*** Bug 421775 has been marked as a duplicate of this bug. ***
*** Bug 423116 has been marked as a duplicate of this bug. ***
*** Bug 423377 has been marked as a duplicate of this bug. ***
*** Bug 423455 has been marked as a duplicate of this bug. ***
*** Bug 423806 has been marked as a duplicate of this bug. ***
*** Bug 423865 has been marked as a duplicate of this bug. ***
*** Bug 424712 has been marked as a duplicate of this bug. ***
*** Bug 424730 has been marked as a duplicate of this bug. ***
*** Bug 426328 has been marked as a duplicate of this bug. ***
*** Bug 426394 has been marked as a duplicate of this bug. ***
*** Bug 426673 has been marked as a duplicate of this bug. ***
*** Bug 426980 has been marked as a duplicate of this bug. ***
*** Bug 427263 has been marked as a duplicate of this bug. ***
*** Bug 427310 has been marked as a duplicate of this bug. ***
*** Bug 427396 has been marked as a duplicate of this bug. ***
*** Bug 427828 has been marked as a duplicate of this bug. ***
*** Bug 428474 has been marked as a duplicate of this bug. ***
more traces with symbols: http://bugzilla.gnome.org/show_bug.cgi?id=376826#stacktrace http://bugzilla.gnome.org/show_bug.cgi?id=419460#stacktrace http://bugzilla.gnome.org/show_bug.cgi?id=420853#stacktrace http://bugzilla.gnome.org/show_bug.cgi?id=424771#stacktrace
*** Bug 376826 has been marked as a duplicate of this bug. ***
*** Bug 426775 has been marked as a duplicate of this bug. ***
*** Bug 428727 has been marked as a duplicate of this bug. ***
*** Bug 429106 has been marked as a duplicate of this bug. ***
*** Bug 428789 has been marked as a duplicate of this bug. ***
When I reconfigured my POP3 account to delete the emails from teh server after downloading rather than to leave them there for a specified number of days, the problem went away. No further occurances.
(In reply to comment #164) > When I reconfigured my POP3 account to delete the emails from teh server after > downloading rather than to leave them there for a specified number of days, the > problem went away. > > No further occurances. > This is interesting: I also have Evo configured to leave messages on the server -- for 180 days. I see Evo crash predictably nearly every time it's launched if I leave it running for almost any length of time (see bug 376826, 366448, and others). And now on thinking about it, way back when, I filed a bug where Evo crashed while "expunging messages", when I had it set to leave messages there for a year. Seems related.
*** Bug 429214 has been marked as a duplicate of this bug. ***
*** Bug 429273 has been marked as a duplicate of this bug. ***
*** Bug 429834 has been marked as a duplicate of this bug. ***
*** Bug 429812 has been marked as a duplicate of this bug. ***
*** Bug 430384 has been marked as a duplicate of this bug. ***
*** Bug 430698 has been marked as a duplicate of this bug. ***
More traces with symbols http://bugzilla.gnome.org/show_bug.cgi?id=430698
*** Bug 431176 has been marked as a duplicate of this bug. ***
*** Bug 431066 has been marked as a duplicate of this bug. ***
*** Bug 431213 has been marked as a duplicate of this bug. ***
*** Bug 431538 has been marked as a duplicate of this bug. ***
*** Bug 431338 has been marked as a duplicate of this bug. ***
*** Bug 432315 has been marked as a duplicate of this bug. ***
*** Bug 429272 has been marked as a duplicate of this bug. ***
*** Bug 429561 has been marked as a duplicate of this bug. ***
*** Bug 430549 has been marked as a duplicate of this bug. ***
*** Bug 430783 has been marked as a duplicate of this bug. ***
*** Bug 431447 has been marked as a duplicate of this bug. ***
*** Bug 431542 has been marked as a duplicate of this bug. ***
*** Bug 431994 has been marked as a duplicate of this bug. ***
varadhan?
*** Bug 436880 has been marked as a duplicate of this bug. ***
*** Bug 423266 has been marked as a duplicate of this bug. ***
*** Bug 438235 has been marked as a duplicate of this bug. ***
*** Bug 430744 has been marked as a duplicate of this bug. ***
*** Bug 438537 has been marked as a duplicate of this bug. ***
*** Bug 438586 has been marked as a duplicate of this bug. ***
*** Bug 430500 has been marked as a duplicate of this bug. ***
*** Bug 411665 has been marked as a duplicate of this bug. ***
*** Bug 440670 has been marked as a duplicate of this bug. ***
*** Bug 440714 has been marked as a duplicate of this bug. ***
*** Bug 441135 has been marked as a duplicate of this bug. ***
*** Bug 442179 has been marked as a duplicate of this bug. ***
*** Bug 442879 has been marked as a duplicate of this bug. ***
*** Bug 444640 has been marked as a duplicate of this bug. ***
*** Bug 444681 has been marked as a duplicate of this bug. ***
*** Bug 445094 has been marked as a duplicate of this bug. ***
*** Bug 445130 has been marked as a duplicate of this bug. ***
Created attachment 90160 [details] [review] Proposed fix - Do not fetch the message from server - instead use the header information to calculate the expiry period.
I tried reproducing the bug - not able to successfully do it. Can anyone of you try the attached patch and give me a feedback? TIA.
varadhan, can we instead just ship that patch in 2.11.4, and if it works out well we remove the debug output lines for 2.11.whatever?
(In reply to comment #206) > varadhan, can we instead just ship that patch in 2.11.4, and if it works out > well we remove the debug output lines for 2.11.whatever? > Apparently, I will be doing it.. just wanted to double check before that. ;-)
*** Bug 448349 has been marked as a duplicate of this bug. ***
Im doing the build for 2.11.4 and pushing this patch to head for now. I think we can push to stable after a week or so (2.10.3)
*** Bug 448783 has been marked as a duplicate of this bug. ***
*** Bug 444677 has been marked as a duplicate of this bug. ***
*** Bug 449920 has been marked as a duplicate of this bug. ***
*** Bug 449997 has been marked as a duplicate of this bug. ***
The patch applied for this bug now causes Evolution to crash when the "Delete e-mails after X days" is enabled. Using the previous revision, 7720, Evolution no longer crashes.
*** Bug 451427 has been marked as a duplicate of this bug. ***
nathan: please post an explicit stacktrace here, thanks.
*** Bug 451673 has been marked as a duplicate of this bug. ***
*** Bug 451765 has been marked as a duplicate of this bug. ***
I made the release for 2.18.3 and I didn't include the patch in that due to comment #214 . I really dont want to introduce a regression. If that is not the case, Im open for a .1 release for EDS/Camel.
nathan, can you please respond and come up with a trace?
Created attachment 91282 [details] Trace from crash Sorry for not posting something earlier. I've been moving so haven't had access to my computer. I believe the crash happened in Thread 10 at line 127 of camel-pop3-folder.c. The trace isn't the best right now, but I'll see if I can get a better one in the next day or two.
Created attachment 91380 [details] [review] Fix for crash with "delete after X days" feature turned on I found the problem. The bug was due to a %s instead of a %d in a printf statement in the applied patch. I also changed a %d to a %ld for a time_t printf() parameter, as time_t is a long and on some architectures long != int. The patch is based off the latest SVN version, so it assumes that the previous patch is already applied. There are still some warnings about signed vs. unsigned chars, but I've left them alone as they don't seem to be harming anything right now.
Just as an aside, should d(x) still be defined? It may be helpful to developers, but most users don't want to see that information and unnecessary printf() statements really hurt performance. We could leave it in the development version only, but that means when the next stable version is released, someone would have to remember to turn it off.
Please commit to head.
Committed to head. Im closing this bug, please reopen if we get it again.
*** Bug 451240 has been marked as a duplicate of this bug. ***
can we also isolate a combined patch for the stable gnome2.18/evolution2.10 series which contains those two patches and can be applied against the gnome-2-18 branch (for the backport distros)? thanks in advance!
I would also like to request patches for gnome-2.16.1/evolution-2.8.1 for backporting. Specifically, Ubuntu Edgy uses this version. Thanks!
*** Bug 457429 has been marked as a duplicate of this bug. ***
*** Bug 460196 has been marked as a duplicate of this bug. ***
*** Bug 461854 has been marked as a duplicate of this bug. ***
*** Bug 466164 has been marked as a duplicate of this bug. ***
*** Bug 465533 has been marked as a duplicate of this bug. ***
*** Bug 467060 has been marked as a duplicate of this bug. ***
*** Bug 469764 has been marked as a duplicate of this bug. ***
*** Bug 469671 has been marked as a duplicate of this bug. ***
*** Bug 469578 has been marked as a duplicate of this bug. ***
*** Bug 474343 has been marked as a duplicate of this bug. ***
*** Bug 483066 has been marked as a duplicate of this bug. ***
*** Bug 478861 has been marked as a duplicate of this bug. ***
*** Bug 480481 has been marked as a duplicate of this bug. ***
*** Bug 476100 has been marked as a duplicate of this bug. ***
*** Bug 477219 has been marked as a duplicate of this bug. ***
*** Bug 477693 has been marked as a duplicate of this bug. ***
*** Bug 478311 has been marked as a duplicate of this bug. ***
*** Bug 480528 has been marked as a duplicate of this bug. ***