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 315173 - Crash when dragging embedded message/rfc822 into a folder
Crash when dragging embedded message/rfc822 into a folder
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.2.x (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-09-03 11:14 UTC by Ilya Konstantinov
Modified: 2005-10-07 10:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
patch to fix it. (1.82 KB, patch)
2005-09-27 11:04 UTC, vivek jain
accepted-commit_now Details | Review

Description Ilya Konstantinov 2005-09-03 11:14:44 UTC
Distribution/Version: Fedora Core 4

Evolution crashes when I drag and drop an embedded message/rfc822
attachment into a folder:
1. Receive an email message with an attached message/rfc822.
2. Drag its' icon into a mail folder (e.g. into the INBOX). In my case,
the mail folder is on my IMAP server.

Reproducable every time.

Console information emitted by Evolution:
(evolution:24346): camel-WARNING **: Invalid root:
'/home/future/.evolution/mail/local/Drafts.ibex.index'

(evolution:24346): camel-WARNING **: version: TEXT.000 (TEXT.000)

(evolution:24346): camel-WARNING **: block size: 1024 (1024) OK

(evolution:24346): camel-WARNING **: free: 0 (0 add size < 1024) OK

(evolution:24346): camel-WARNING **: last: 6144 (6144 and size: 1024)
BAD

(evolution:24346): camel-WARNING **: flags: unSYNC

(evolution:24346): camel-WARNING **: Invalid root:
'/home/future/.evolution/mail/local/Outbox.ibex.index'

(evolution:24346): camel-WARNING **: version: TEXT.000 (TEXT.000)

(evolution:24346): camel-WARNING **: block size: 1024 (1024) OK

(evolution:24346): camel-WARNING **: free: 0 (0 add size < 1024) OK

(evolution:24346): camel-WARNING **: last: 6144 (6144 and size: 1024)
BAD

(evolution:24346): camel-WARNING **: flags: unSYNC

(evolution:24346): evolution-mail-WARNING **: couldn't get service : No
provider available for protocol `'


(evolution:24346): camel-CRITICAL **: camel_object_is: assertion `o !=
NULL' failed

(evolution:24346): camel-CRITICAL **: camel_stream_printf: assertion
`CAMEL_IS_STREAM (stream)' failed
update flow align
requesting object classid: attachment.0xa67190.8020.mixed.1
object_found: 1
requesting object classid: attachment.0xa67190.8020.mixed.2
object_found: 1
update flow align
Comment 1 parthasarathi susarla 2005-09-05 09:31:12 UTC
Hmm...the messageInfo is NULL, and it crashes because of that. 
Comment 2 Not Zed 2005-09-06 04:14:56 UTC
Yeah helpful comment.  This is where it crashes:


Thread 10 (Thread 131080 (LWP 3202))

  • #0 camel_message_info_uint32
    at camel-folder-summary.c line 2863
  • #1 do_append
    at camel-imap-folder.c line 1255
  • #2 imap_append_online
    at camel-imap-folder.c line 1323
  • #3 disco_append_message
    at camel-disco-folder.c line 369
  • #4 camel_folder_append_message
    at camel-folder.c line 649
  • #5 em_utils_selection_get_message
    at em-utils.c line 1024
  • #6 ml_drop_async_drop
    at message-list.c line 1628
  • #7 mail_msg_received
    at mail-mt.c line 556

do_append just needs to null check info
Comment 3 parthasarathi susarla 2005-09-06 10:41:30 UTC
Michael, should we be able to append message like these? Or should they be rejected?
Comment 4 vivek jain 2005-09-27 11:04:04 UTC
Created attachment 52717 [details] [review]
patch to fix it.

Partha, I think that should be allowed, we used 'info' to collect the previous
flags, which in this case isn't present, thats where it failed.
Comment 5 parthasarathi susarla 2005-09-27 11:33:13 UTC
Commit to both head and 2.4 branch
Comment 6 vivek jain 2005-09-27 12:47:20 UTC
committed the fix to both the branches, thanks!
Comment 7 C Shilpa 2005-10-07 10:03:31 UTC
verified using evolution-2.4.1.0.200510061830-0.snap.novell.0.1.