GNOME Bugzilla – Bug 569700
[FIXED in 2.26.1] crash when canceled during downloading of an image
Last modified: 2010-02-20 20:32:17 UTC
Version: 2.26.x What were you doing when the application crashed? I'd been reviewing e-mail and had just deleted one. The deleted e-mail had several jpeg attachments, some I viewd inline while others in an external viewer. Distribution: Slackware Slackware 12.1.0 Gnome Release: 2.25.1 2008-12-08 (GARNOME) BugBuddy Version: 2.24.0 System: Linux 2.6.28.2 #25 SMP PREEMPT Mon Jan 26 17:18:12 EST 2009 i686 X Vendor: The X.Org Foundation X Vendor Release: 10402000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome Memory status: size: 178008064 vsize: 178008064 resident: 62222336 share: 27054080 rss: 62222336 rss_rlim: 18446744073709551615 CPU usage: start_time: 1233249629 rtime: 5731 utime: 5265 stime: 466 cutime:0 cstime: 1 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/opt/gnome/bin/evolution' [Thread debugging using libthread_db enabled] [New Thread 0xb63876c0 (LWP 2687)] [New Thread 0xb41ffb90 (LWP 1315)] [New Thread 0xb5bb5b90 (LWP 1308)] [New Thread 0xb0c7bb90 (LWP 1237)] 0xb702c2a1 in waitpid () from /lib/libpthread.so.0
+ Trace 211991
Thread 3 (Thread 0xb5bb5b90 (LWP 1308))
----------- .xsession-errors (353442411 sec old) --------------------- iceauth: creating new authority file /home/ronis/.ICEauthority --------------------------------------------------
*** Bug 569701 has been marked as a duplicate of this bug. ***
*** Bug 570137 has been marked as a duplicate of this bug. ***
*** Bug 570318 has been marked as a duplicate of this bug. ***
Today I got this issue with trunk. Below are gdb traces. Evo revision: 37212 EDS revision: 10026 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff9ed6f950 (LWP 22524)] camel_mime_parser_read (parser=0x0, databuffer=0x7fff9ed6e900, len=1500) at camel-mime-parser.c:655 655 struct _header_scan_state *s = _PRIVATE (parser); (gdb) t a a bt
+ Trace 212176
Thread 828 (Thread 0x7fff9ed6f950 (LWP 22524))
Thread 1 (Thread 0x7ffff7fa77e0 (LWP 18322))
(gdb)
*** Bug 570134 has been marked as a duplicate of this bug. ***
*** Bug 570257 has been marked as a duplicate of this bug. ***
Created attachment 128020 [details] [review] proposed evo patch for evolution; These few lines helped me. It was enough to move up and down in a good timing. Also, to have it play even better, feel free to clear your image cache, by $ rm -rf ~/.evolution/cache/http If possible, can someone check whether it helps to you too? Thanks in advance.
I tried testing this patch. Yes it does not crash. But it does not download the images anymore if we move between mails before download. For that we have to clear the http cache again. ($ rm -rf ~/.evolution/cache/http)
(In reply to comment #8) > I tried testing this patch. Yes it does not crash. But it does not download the > images anymore if we move between mails before download. For that we have to > clear the http cache again. ($ rm -rf ~/.evolution/cache/http) > could someone explain the concept used when user moves to preview another email while the active is loading ? I guess normally, external resource loading of active preview should remain active in another thread.isn't it?
*** Bug 570697 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > I tried testing this patch. Yes it does not crash. But it does not download the > images anymore if we move between mails before download. [...] Yup, known, I figured it out while working on this. See bug #333716. I also noticed, you can either delete files or wait a day ;) (In reply to comment #9) > could someone explain the concept used when user moves to preview another email > while the active is loading ? > I guess normally, external resource loading of active preview should remain > active in another thread.isn't it? As far as I'm able to explain this (and I'm quite bad in explaining things), it runs in other thread, but the operation (as it is called in camel word) is canceled, possibly in the middle of the remote file download. Not all images are downloaded when you move to other message.
*** Bug 570795 has been marked as a duplicate of this bug. ***
*** Bug 570796 has been marked as a duplicate of this bug. ***
*** Bug 570942 has been marked as a duplicate of this bug. ***
*** Bug 571154 has been marked as a duplicate of this bug. ***
This makes using evo SVN head almost unusable. Going to try to apply the half-patch noted above to avoid repeatedly crashing.
Reid, apply patch from the other bug, mentioned in the comment #11 and it'll be complete. Anyway, for patch as for crashing, it is complete even without that :)
*** Bug 571163 has been marked as a duplicate of this bug. ***
*** Bug 571181 has been marked as a duplicate of this bug. ***
Milan, lets push this in. But we need to see, that the cache is empty for canceled operations, so that next time its fetched.
To trunk/stable
*** Bug 571152 has been marked as a duplicate of this bug. ***
Committed to trunk. Committed revision 37246. Committed to gnome-2-24. Committed revision 37247. (In reply to comment #20) > Milan, lets push this in. But we need to see, that the cache is empty for > canceled operations, so that next time its fetched. it's done in just committed bug #333716
*** Bug 571276 has been marked as a duplicate of this bug. ***
*** Bug 571277 has been marked as a duplicate of this bug. ***
*** Bug 571278 has been marked as a duplicate of this bug. ***
*** Bug 571302 has been marked as a duplicate of this bug. ***
*** Bug 571342 has been marked as a duplicate of this bug. ***
*** Bug 572257 has been marked as a duplicate of this bug. ***
*** Bug 572473 has been marked as a duplicate of this bug. ***
*** Bug 571303 has been marked as a duplicate of this bug. ***
*** Bug 571213 has been marked as a duplicate of this bug. ***
there's a similar crash in Ubuntu with 2.25.91 here: https://bugs.edge.launchpad.net/ubuntu/+source/evolution/+bug/331819 "Thread 15 (Thread 0xb4229b90 (LWP 10732)):
+ Trace 212732
html test file could be located here: http://launchpadlibrarian.net/22909808/crash.html
*** Bug 572690 has been marked as a duplicate of this bug. ***
*** Bug 570294 has been marked as a duplicate of this bug. ***
*** Bug 573047 has been marked as a duplicate of this bug. ***
*** Bug 573048 has been marked as a duplicate of this bug. ***
*** Bug 573061 has been marked as a duplicate of this bug. ***
*** Bug 573032 has been marked as a duplicate of this bug. ***
*** Bug 573558 has been marked as a duplicate of this bug. ***
*** Bug 573557 has been marked as a duplicate of this bug. ***
*** Bug 573419 has been marked as a duplicate of this bug. ***
*** Bug 558079 has been marked as a duplicate of this bug. ***
Same here on opensuse 11.1, evolution 2.24.4 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x88fecb90 (LWP 29523)] camel_mime_parser_read (parser=0x0, databuffer=0x88febbc8, len=1500) at camel-mime-parser.c:655 655 camel-mime-parser.c: No such file or directory. in camel-mime-parser.c (gdb) (gdb) (gdb) (gdb) (gdb) (gdb) (gdb) t a a bt
+ Trace 213149
Thread 994 (Thread 0x88fecb90 (LWP 29523))
(In reply to comment #44) > Same here on opensuse 11.1, evolution 2.24.4 It's in since 2.24.5. Why is this reopened? I'm closing as fixed.
Milan, it was opened by pvillavi@gnome.org on the basis of comment#33.
aah, thanks. Based on the NEWS file, patch for this is included since 2.25.92.
Yeah it is fixed in trunk. I can't reproduce in nightly builds.
*** Bug 574594 has been marked as a duplicate of this bug. ***
*** Bug 576884 has been marked as a duplicate of this bug. ***
bug 576884 was reproduced with Evolution 2.26.0, it also contains an email to test : http://launchpadlibrarian.net/24359750/Mr%2C_be_prepared_to_start_temping_tomorrow
*** Bug 576654 has been marked as a duplicate of this bug. ***
Created attachment 131501 [details] [review] proposed eds patch for evolution-data-server; Great, what a nice coincidence, I was looking for a reproducer for my test patch from the above duplicate bug, and you gave me one. Thanks a lot :)
Committed to trunk. Committed revision 10193.
*** Bug 577465 has been marked as a duplicate of this bug. ***
*** Bug 581278 has been marked as a duplicate of this bug. ***
*** Bug 581275 has been marked as a duplicate of this bug. ***
*** Bug 581324 has been marked as a duplicate of this bug. ***
*** Bug 581337 has been marked as a duplicate of this bug. ***
*** Bug 581874 has been marked as a duplicate of this bug. ***
*** Bug 581938 has been marked as a duplicate of this bug. ***
*** Bug 581945 has been marked as a duplicate of this bug. ***
*** Bug 581980 has been marked as a duplicate of this bug. ***
*** Bug 585435 has been marked as a duplicate of this bug. ***
*** Bug 592406 has been marked as a duplicate of this bug. ***
*** Bug 592408 has been marked as a duplicate of this bug. ***
*** Bug 593055 has been marked as a duplicate of this bug. ***
*** Bug 593315 has been marked as a duplicate of this bug. ***
*** Bug 593707 has been marked as a duplicate of this bug. ***
*** Bug 597418 has been marked as a duplicate of this bug. ***
*** Bug 597863 has been marked as a duplicate of this bug. ***
*** Bug 610517 has been marked as a duplicate of this bug. ***