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 303937 - Evolution crashes on receiving drag+drop event.
Evolution crashes on receiving drag+drop event.
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.2.x (obsolete)
Other All
: High critical
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
Depends on:
Blocks: 327508 327510
 
 
Reported: 2005-05-12 17:14 UTC by J H Ettle
Modified: 2007-07-27 06:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
proposed patch (1.82 KB, patch)
2007-07-20 12:57 UTC, Milan Crha
none Details | Review
proposed patch (1.84 KB, patch)
2007-07-26 09:58 UTC, Milan Crha
none Details | Review
proposed patch (911 bytes, patch)
2007-07-26 12:42 UTC, Milan Crha
committed Details | Review

Description J H Ettle 2005-05-12 17:14:20 UTC
Distribution: Fedora Core release 3 (Heidelberg)
Package: Evolution
Severity: normal
Version: GNOME2.8.0 unspecified
Gnome-Distributor: Red Hat, Inc
Synopsis: Evolution crashes on receiving drag+drop event.
Bugzilla-Product: Evolution
Bugzilla-Component: Miscellaneous
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash:
Evolution crashed on receiving drag+drop event.

Steps to reproduce the crash:
1. Start Evolution.
2. Now be quick. Drag an icon from the desktop into the message list
pane BEFORE any mail servers have been queried.

Expected Results:
Evolution ignore the event.

How often does this happen?
Always.



Debugging Information:

Backtrace was generated from '/usr/bin/evolution'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...[Thread debugging using libthread_db enabled]
[New Thread -1208568128 (LWP 5760)]
[New Thread -1264006224 (LWP 5789)]
[Thread debugging using libthread_db enabled]
[New Thread -1208568128 (LWP 5760)]
[New Thread -1264006224 (LWP 5789)]
[New Thread -1274496080 (LWP 5788)]
[New Thread -1285071952 (LWP 5786)]
[New Thread -1243026512 (LWP 5782)]
[New Thread -1232536656 (LWP 5781)]
[New Thread -1222046800 (LWP 5780)]
[New Thread -1211556944 (LWP 5779)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...[Thread debugging using libthread_db enabled]
[New Thread -1208568128 (LWP 5760)]
[New Thread -1264006224 (LWP 5789)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...0x00adb7a2 in _dl_sysinfo_int80
() from /lib/ld-linux.so.2

Thread 3 (Thread -1274496080 (LWP 5788))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __lll_mutex_lock_wait
    from /lib/tls/libpthread.so.0
  • #2 _L_mutex_lock_32
    from /lib/tls/libpthread.so.0
  • #3 __libc_ptyname1
    from /lib/tls/libc.so.6
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 e_sidebar_new
  • #9 e_sidebar_new
  • #10 <signal handler called>
  • #11 message_list_paste
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #12 mail_enable_stop
    from /usr/lib/evolution/2.0/components/libevolution-mail.so
  • #13 e_thread_busy
    from /usr/lib/evolution/2.0/libeutil.so.0
  • #14 start_thread
    from /lib/tls/libpthread.so.0
  • #15 clone
    from /lib/tls/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-05-12 17:14 UTC -------

Comment 1 Khasim Shaheed 2005-05-13 06:45:25 UTC
I am able to reproduce the crash with 2.2.x version of evolution on NLD SP1 with
IMAP. 

Debugging Information:

Thread 5 (Thread 1108982704 (LWP 7394))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __lll_mutex_lock_wait
    from /lib/tls/libpthread.so.0
  • #5 _L_mutex_lock_34
    from /lib/tls/libpthread.so.0
  • #6 ??
  • #7 ??
  • #8 __JCR_LIST__
    from /opt/gnome/lib/evolution/2.2/components/libevolution-mail.so
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 segv_redirect
    at main.c line 437
  • #13 segv_redirect
    at main.c line 437
  • #14 <signal handler called>
  • #15 ml_drop_async_desc
    at message-list.c line 1614
  • #16 mail_msg_received
    at mail-mt.c line 536
  • #17 thread_received_msg
    at e-msgport.c line 826
  • #18 thread_dispatch
    at e-msgport.c line 907
  • #19 start_thread
    from /lib/tls/libpthread.so.0
  • #20 clone
    from /lib/tls/libc.so.6

Comment 2 Khasim Shaheed 2005-05-13 06:46:00 UTC
I am able to reproduce the crash with 2.2.x version of evolution on NLD SP1 with
IMAP. 

Debugging Information:

Thread 5 (Thread 1108982704 (LWP 7394))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __lll_mutex_lock_wait
    from /lib/tls/libpthread.so.0
  • #5 _L_mutex_lock_34
    from /lib/tls/libpthread.so.0
  • #6 ??
  • #7 ??
  • #8 __JCR_LIST__
    from /opt/gnome/lib/evolution/2.2/components/libevolution-mail.so
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 segv_redirect
    at main.c line 437
  • #13 segv_redirect
    at main.c line 437
  • #14 <signal handler called>
  • #15 ml_drop_async_desc
    at message-list.c line 1614
  • #16 mail_msg_received
    at mail-mt.c line 536
  • #17 thread_received_msg
    at e-msgport.c line 826
  • #18 thread_dispatch
    at e-msgport.c line 907
  • #19 start_thread
    from /lib/tls/libpthread.so.0
  • #20 clone
    from /lib/tls/libc.so.6

Comment 3 Khasim Shaheed 2005-05-13 06:49:32 UTC
sorry for the duplicate comments.
Comment 4 Not Zed 2005-08-08 05:57:00 UTC
probably just needs to check the folder != NULL
Comment 5 André Klapper 2006-06-20 22:35:35 UTC
should be retested, see last comment by michael. removing old target milestone.
Comment 6 Milan Crha 2007-07-20 12:57:18 UTC
Created attachment 92039 [details] [review]
proposed patch

for evolution;

I did it based on comment #4 and to be honest, I could not test it, because I'm not so quick :)
Comment 7 Srinivasa Ragavan 2007-07-26 09:08:37 UTC
I dont think this much to be done. 

In ml_tree_drag_data_received return if it is null. ALso dont use g_return_if_fail. It is a valid case and not a error sitn. It would raise a unnecessary critical-warning.
Comment 8 Milan Crha 2007-07-26 09:58:10 UTC
Created attachment 92446 [details] [review]
proposed patch

for evolution;

I removed that g_return_if_fail but kept all other, even you've right it's a bit more paranoic :) btw, the function you mentioned is a "typo" I think, because I didn't touch that one, maybe you meant ml_drop_async_drop.
Comment 9 Srinivasa Ragavan 2007-07-26 11:34:05 UTC
Hmm I think Im right. You dont have to check if folder is null or not. You anyway skipping everything if that is null. Why post that task, if the folder is null?
Comment 10 Milan Crha 2007-07-26 12:42:14 UTC
Created attachment 92457 [details] [review]
proposed patch

for evolution;

I'm sorry I didn't get it at the first moment, you've right, this is better.
Comment 11 Srinivasa Ragavan 2007-07-27 05:27:55 UTC
Looks good. Please commit
Comment 12 Milan Crha 2007-07-27 06:40:01 UTC
Committed to trunk. Committed revision 33859.