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 341386 - Crashed in camel-object.c:1034 camel_object_is() ?
Crashed in camel-object.c:1034 camel_object_is() ?
Status: RESOLVED INCOMPLETE
Product: evolution
Classification: Applications
Component: Mailer
2.10.x (obsolete)
Other All
: High critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 455164 476878 480681 480856 487145 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-11 09:15 UTC by Chenthill P
Modified: 2009-11-27 11:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Chenthill P 2006-05-11 09:15:25 UTC
Steps to reproduce:
1. Clicked on a message
2. Clicked on the down arrow to get the menu to save the attachment.
3. Crashed.

Restarted evolution and i did not see the problem again.

Stack trace:
Backtrace was generated from '/opt/gnome2/bin/evolution-2.8'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1233164624 (LWP 32381)]
[New Thread -1353847904 (LWP 32557)]
[New Thread -1395811424 (LWP 32554)]
[New Thread -1446167648 (LWP 32553)]
[New Thread -1420989536 (LWP 32552)]
[New Thread -1362240608 (LWP 32551)]
[New Thread -1353581664 (LWP 32387)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1233164624 (LWP 32381))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 gnome_init_with_popt_table
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #3 segv_redirect
    at main.c line 425
  • #4 <signal handler called>
  • #5 camel_object_is
    at camel-object.c line 1034
  • #6 camel_object_ref
    at camel-object.c line 875
  • #7 em_popup_target_new_part
    at em-popup.c line 295
  • #8 efhd_attachment_popup
    at em-format-html-display.c line 1294
  • #9 gtk_marshal_BOOLEAN__VOID
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #10 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #11 g_signal_connect_closure_by_id
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #14 gtk_widget_get_default_style
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #15 gtk_propagate_event
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #16 gtk_main_do_event
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #17 gdk_add_client_message_filter
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #18 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #19 g_main_context_check
    from /opt/gnome/lib/libglib-2.0.so.0
  • #20 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #21 bonobo_main
    from /opt/gnome/lib/libbonobo-2.so.0
  • #22 main
    at main.c line 614
  • #0 __kernel_vsyscall


Other information:
Comment 1 Poornima 2006-05-12 10:25:54 UTC
Chen: is this a consistently reproducible bug bcoz u have marked it as critical. If so attach that message or mail that message to maileer maintainers.
I am not able to reproduce this bug.
Comment 2 André Klapper 2006-08-28 15:20:32 UTC
poornima: crashes are always critical per definition.
see http://bugzilla.gnome.org/page.cgi?id=bug-status.html#bug_severity

perfect stacktrace with line numbers, no idea why you set this to NEEDINFO at all.
Comment 3 Tobias Mueller 2007-09-26 18:45:36 UTC
*** Bug 480681 has been marked as a duplicate of this bug. ***
Comment 4 Tobias Mueller 2007-09-26 18:47:58 UTC
*** Bug 455164 has been marked as a duplicate of this bug. ***
Comment 5 Tobias Mueller 2007-09-26 18:48:24 UTC
*** Bug 476878 has been marked as a duplicate of this bug. ***
Comment 6 Tobias Mueller 2007-09-26 18:53:40 UTC
Bumping version due to the dups being on 2.10.
Comment 7 Tobias Mueller 2007-09-27 13:12:05 UTC
*** Bug 480856 has been marked as a duplicate of this bug. ***
Comment 8 Tobias Mueller 2007-10-22 22:57:20 UTC
*** Bug 487145 has been marked as a duplicate of this bug. ***
Comment 9 Paul Bolle 2008-12-17 16:27:10 UTC
0) crash is (of course) in Thread 1:
  • #5 camel_object_is
    at camel-object.c line 1034
  • #7 em_popup_target_new_part
    at em-popup.c line 295

The culprit seems to be this line in mail/em-format-html-display.c:efhd_attachment_popup():
 target = em_popup_target_new_part(emp, info->puri.part, info->handle?info->handle->mime_type:NULL);

which in this case is apparently called with info->puri == NULL

2) So a solution could be to simply prepend this line:
    if (!info->puri)
        return FALSE;

3) Not tested my analysis at all. Seems a race condition at first glance, so without further pinpointing of crashing behaviour, testing is not easy at all.
Comment 10 Akhil Laddha 2009-07-29 12:25:00 UTC
@ Chen  - Did you get similar crash any time later ?  

Does Null check mentioned in comment#9 help in preventing the crash ?  

If you cann't reproduce on current master or 2.26.x, we should close the bug, tia.
Comment 11 Akhil Laddha 2009-11-27 11:10:24 UTC
Closing this bug report as no further information has been provided. Please 
feel free to reopen the bug if the problem still occurs with a newer
version of GNOME 2.28.0 or later, thanks.