After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334416 - Evolution crashed while traversing mails
Evolution crashed while traversing mails
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[groupwise]
Depends on:
Blocks:
 
 
Reported: 2006-03-13 11:41 UTC by Poornima
Modified: 2013-09-13 01:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for the crash (1.18 KB, patch)
2006-03-24 09:15 UTC, Veerapuram Varadhan
rejected Details | Review

Description Poornima 2006-03-13 11:41:38 UTC
Grouwpise account is configured in 'Evolution'.Traversing thru unread mails in 'Evolution'. Evolution crashed with these stack traces.

Backtrace was generated from '/opt/gnome/bin/evolution'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1232946848 (LWP 1565)]
[New Thread -1451914336 (LWP 1583)]
[New Thread -1456190560 (LWP 1582)]
[New Thread -1440805984 (LWP 1576)]
[New Thread -1432020064 (LWP 1575)]
[New Thread -1340085344 (LWP 1573)]
[New Thread -1331692640 (LWP 1569)]
[New Thread -1321428064 (LWP 1568)]
0xffffe410 in __kernel_vsyscall ()

Thread 6 (Thread -1340085344 (LWP 1573))

  • #0 __kernel_vsyscall
  • #1 __lll_mutex_lock_wait
    from /lib/libpthread.so.0
  • #2 _L_mutex_lock_74
    from /lib/libpthread.so.0
  • #3 ??
  • #4 efh_format_headers
    at em-format-html.c line 1749
  • #5 segv_redirect
    at main.c line 431
  • #6 <signal handler called>
  • #7 camel_content_type_simple
    at camel-mime-utils.c line 3451
  • #8 get_mime_type
    at camel-data-wrapper.c line 311
  • #9 camel_data_wrapper_get_mime_type
    at camel-data-wrapper.c line 326
  • #10 em_format_part
    at em-format.c line 607
  • #11 emf_multipart_mixed
    at em-format.c line 1201
  • #12 em_format_part_as
    at em-format.c line 583
  • #13 em_format_part
    at em-format.c line 610
  • #14 efh_format_message
    at em-format-html.c line 1773
  • #15 emf_message_rfc822
    at em-format.c line 1490
  • #16 efhd_format_attachment
    at em-format-html-display.c line 2177
  • #17 em_format_part_as
    at em-format.c line 591
  • #18 em_format_part
    at em-format.c line 610
  • #19 emf_multipart_mixed
    at em-format.c line 1201
  • #20 em_format_part_as
    at em-format.c line 583
  • #21 em_format_part
    at em-format.c line 610
  • #22 efh_format_message
    at em-format-html.c line 1773
  • #23 efh_format_do
    at em-format-html.c line 1216
  • #24 mail_msg_received
    at mail-mt.c line 570
  • #25 thread_received_msg
    at e-msgport.c line 974
  • #26 thread_dispatch
    at e-msgport.c line 1055
  • #27 start_thread
    from /lib/libpthread.so.0
  • #28 clone
    from /lib/libc.so.6


GROUPWISE DEBUG traces

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"><SOAP-ENV:Header SOAP-ENV:encodingStyle=""><session>HTGvKZu4A7D40LjX</session></SOAP-ENV:Header><SOAP-ENV:Body xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd" SOAP-ENV:encodingStyle=""><getAttachmentRequest><id>44158085.BANGALORE.BLR1.200.2000000.1.12AC65A.1@45:44158085.BANGALORE.BLR1.200.2000000.1.12AC65C.1@1:44158085.BANGALORE.BLR1.200.20000FE.1.34EB.1@49:44158085.BANGALORE.BLR1.100.1656C6D.1.1CC13.1@1:7.BANGALORE.BLR1.100.0.1.0.1@16</id><offset>0</offset><length>-1</length></getAttachmentRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

200
SOAP-Debug: 0x8e10168 @ 1142249245
Pragma: no-cache
Date: Mon, 13 Mar 2006 16:57:23 GMT
Server: Windows NT GroupWise POA 7.0.1
Content-Length: 2513
Content-Type: text/xml

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header SOAP-ENV:encodingStyle=""/><SOAP-ENV:Body SOAP-ENV:encodingStyle="" xmlns:types="http://schemas.novell.com/2003/10/NCSP/types.xsd"><getAttachmentResponse><part length="1936" offset="1452">UmV0dXJuLXBhdGg6IDw+DQpSZXR1cm4tcGF0aDogPG5hbmRpbmlfc2hhbGx1QHlhaG9vLmNvbT4NClJlY2VpdmVkOiBmcm9tIE9MWU1QVVMubm92ZWxsLmNvbSAoWzEzMC41Ny4xLjI0XSkNCglieSBsdWNpdXMucHJvdm8ubm92ZWxsLmNvbSB3aXRoIEVTTVRQOyBNb24sIDEzIE1hciAyMDA2IDAxOjQ3OjA5IC0wNzAwDQpSZWNlaXZlZDogZnJvbSB3ZWI1MDcwOS5tYWlsLnlhaG9vLmNvbSAod2ViNTA3MDkubWFpbC55YWhvby5jb20gWzIwNi4xOTAuMzguMjUwXSkgYnkgT0xZTVBVUy5ub3ZlbGwuY29tDQogKFZpcmNvbSBTTVRQUlMgNC4yLjQyNS4xMCkgd2l0aCBTTVRQIGlkIDxDMDA1NTQzODExM0BPTFlNUFVTLm5vdmVsbC5jb20+IGZvciA8YW5hZ2FwcGFuQG5vdmVsbC5jb20+Ow0KIE1vbiwgMTMgTWFyIDIwMDYgMDE6NTQ6MDUgLTA3MDANClgtTW9kdXMtUmV2ZXJzZUROUzogT0sNClgtTW9kdXMtQmxhY2tMaXN0OiAyMDYuMTkwLjM4Lj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C10ZXN0IGF1dG9tYXRpb24NClRvOiBhbmFnYXBwYW5Abm92ZWxsLmNvbQ0KTUlNRS1WZXJzaW9uOiAxLjANCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOyBib3VuZGFyeT0iMC0xOTA1ODI0Njc4LTExNDIyMzk2MjM9OjY4OTM5Ig0KQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogOGJpdA0K</part><status><code>0</code></status></getAttachmentResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

** (bug-buddy:1698): WARNING **: Couldn't load icon for Sound Recorder

** (bug-buddy:1698): WARNING **: Couldn't load icon for Character Palette

** (bug-buddy:1698): WARNING **: Couldn't load icon for Keyboard Accessibility Status





Evolution version 2.5.92, latest code from CVS.
Comment 1 Sushma Rai 2006-03-24 08:55:51 UTC
I found a similar crash today. Using Evo built from cvs head.

  • #13 <signal handler called>
  • #14 camel_content_type_simple
    at camel-mime-utils.c line 3451
  • #15 get_mime_type
    at camel-data-wrapper.c line 311
  • #16 camel_data_wrapper_get_mime_type
    at camel-data-wrapper.c line 326
  • #17 em_format_part
    at em-format.c line 607
  • #18 emf_multipart_mixed
    at em-format.c line 1201
  • #19 em_format_part_as
    at em-format.c line 583
  • #20 em_format_part
    at em-format.c line 610
  • #21 efh_format_message
    at em-format-html.c line 1773
  • #22 emf_message_rfc822
    at em-format.c line 1490
  • #23 efhd_format_attachment
    at em-format-html-display.c line 2176
  • #24 em_format_part_as
    at em-format.c line 591
  • #25 em_format_part
    at em-format.c line 610
  • #26 emf_multipart_mixed
    at em-format.c line 1201
  • #27 em_format_part_as
    at em-format.c line 583
  • #28 em_format_part
    at em-format.c line 610
  • #29 efh_format_message
    at em-format-html.c line 1773
  • #30 efh_format_do
    at em-format-html.c line 1216
  • #31 mail_msg_received
    at mail-mt.c line 570
  • #32 thread_received_msg
    at e-msgport.c line 971
  • #33 thread_dispatch
    at e-msgport.c line 1048
  • #34 start_thread
    from /lib/tls/libpthread.so.0
  • #35 clone
    from /lib/tls/libc.so.6
  • #36 ??
  • #17 em_format_part
    at em-format.c line 607

(gdb) p *dw
$2 = {parent_object = {klass = 0x8657f68, magic = 2007188717, hooks = 0x0, ref_count = 1, flags = 0, next = 0x84dfc44, prev = 0x84dfbc0}, priv = 0x97da020,
  encoding = CAMEL_TRANSFER_ENCODING_DEFAULT, mime_type = 0x0, stream = 0x8cbe8e0, offline = 0}

(gdb)

Comment 2 Veerapuram Varadhan 2006-03-24 09:15:33 UTC
Created attachment 61895 [details] [review]
Fix for the crash

Partha: Should we really check for NULL?  In other words, can camel_data_wrapper->mime_type be NULL?
Comment 3 Veerapuram Varadhan 2006-03-24 09:16:50 UTC
Sushma: Can you check whether the attached patch fixes the issue for you?
Comment 4 Sushma Rai 2006-03-24 09:30:08 UTC
NULL check would definitely fix the crash. I am not sure
NULL mime type is a valid case. we need to confirm that and fix the 
root cause.
Comment 5 Veerapuram Varadhan 2006-03-27 18:38:31 UTC
Fix is committed to head.
@Partha: Can this fix be committed to stable-branch also?  If already committed for branch, can you close this bug?

TIA
Comment 6 Christian Kirbach 2006-04-12 13:21:45 UTC
*** Bug 338121 has been marked as a duplicate of this bug. ***
Comment 7 David Richards 2006-04-12 14:30:58 UTC
My issue 338121 was marked as a dupe.  This has to be moved into stable branch ASAP. Our users are getting messages that they cannot open.  Help.  It causes Evolution to crash and they cannot read the messages.  Often 50 or more are getting the same messages and all crashing.
Comment 8 Kjartan Maraas 2006-12-03 15:54:53 UTC
I can't see this patch in the ChangeLog on HEAD either. Was it really commited? Can we get it in asap if not?
Comment 9 Kjartan Maraas 2007-01-25 16:27:23 UTC
Still not commited. PING! :-)
Comment 10 Sankar P 2007-01-29 13:35:12 UTC
The attached patch was not committed. 

The problem is fixed by handling the return-values in the appropriate server-calls. Patch was made by Partha.