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 233295 - Composer: Crash when removing attachment with Properties dialog open
Composer: Crash when removing attachment with Properties dialog open
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
unspecified
Other All
: Normal blocker
: ---
Assigned To: Jeffrey Stedfast
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2002-11-05 15:30 UTC by aaron
Modified: 2013-09-10 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
set pointer to removed attachment NULL, prevent accessing it again. no crash now (1.21 KB, patch)
2002-12-07 11:40 UTC, leon.zhang
none Details | Review
correct patch (3.69 KB, patch)
2002-12-07 18:30 UTC, Jeffrey Stedfast
none Details | Review

Description aaron 2002-11-05 15:30:58 UTC
Package: Evolution
Priority: Normal
Version: 1.1.90
Synopsis: Composer: Crash when removing attachment with Properties dialog open
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer

Description:
This is 100% reproducible:

Open a new mail
Add an attachment
Right-click on the attachment and select "Properties"
Go back to the composer and right-click on it, and select "Remove"

Mail component crashes.



Debugging Information:

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

(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)...[New
Thread 1024 (LWP 19226)]
[New Thread 2049 (LWP 19279)]
[New Thread 1026 (LWP 19280)]
[New Thread 2051 (LWP 19281)]
[New Thread 3076 (LWP 19284)]
[New Thread 4101 (LWP 19285)]
[New Thread 6150 (LWP 19290)]
[New Thread 7175 (LWP 19291)]

0x410a04d9 in wait4 () from /lib/libc.so.6

Thread 1 (Thread 1024 (LWP 19226))

  • #0 wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 gnome_segv_handle
    at gnome-init.c line 664
  • #4 message_browser_get_type
  • #5 pthread_sighandler
    from /lib/libpthread.so.0
  • #6 <signal handler called>
  • #7 camel_mime_part_set_filename
    from /usr/lib/libcamel.so.0
  • #8 e_msg_composer_attachment_new_from_mime_part
  • #9 gtk_marshal_NONE__NONE
    at gtkmarshal.c line 312
  • #10 gtk_handlers_run
    at gtksignal.c line 1917
  • #11 gtk_signal_real_emit
    at gtksignal.c line 1477
  • #12 gtk_signal_emit
    at gtksignal.c line 552


Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 leon.zhang 2002-12-07 11:40:20 UTC
Created attachment 41826 [details] [review]
set pointer to removed attachment  NULL, prevent accessing it again. no crash now
Comment 2 Jeffrey Stedfast 2002-12-07 16:07:53 UTC
the patch is wrong.
Comment 3 Jeffrey Stedfast 2002-12-07 18:30:35 UTC
Created attachment 41827 [details] [review]
correct patch
Comment 4 Jeffrey Stedfast 2002-12-09 01:06:49 UTC
fixed in CVS
Comment 5 Peter Pouliot 2003-01-23 19:17:39 UTC
Opened a new mail, added an attachment, opened attachment "Properties".
Removed, attachment from mail.  Did not crash.  "Properties" of
attachment remains open.
Comment 6 Peter Pouliot 2003-01-23 19:19:22 UTC
Not verified after all.  Wasn't running version prior to addition of
this patch.
Comment 7 Peter Pouliot 2003-01-28 18:22:40 UTC
Created a new mail, added an attachment, opened attachment "Properties".
Removed, attachment from mail."Properties" of attachment remains open.
Closed attachement properties. No Crash...