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 511337 - crash in Evolution: Simultaneously pressing ...
crash in Evolution: Simultaneously pressing ...
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: BugBuddyBugs
2.12.x (obsolete)
Other All
: High critical
: ---
Assigned To: Evolution Triage Team
Evolution QA team
: 509772 528460 537879 538083 543079 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-22 18:58 UTC by Javier Kohen
Modified: 2008-07-16 04:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
proposed evo patch (1.64 KB, patch)
2008-04-18 10:28 UTC, Milan Crha
rejected Details | Review
proposed evo patch ][ (5.07 KB, patch)
2008-04-28 11:21 UTC, Milan Crha
committed Details | Review

Description Javier Kohen 2008-01-22 18:58:59 UTC
What were you doing when the application crashed?
Simultaneously pressing the "show" preview/arrow button on several very large image attachments in an e-mail.


Distribution: Debian lenny/sid
Gnome Release: 2.20.3 2008-01-12 (Debian)
BugBuddy Version: 2.20.1

System: Linux 2.6.24-rc8 #2 Sat Jan 19 00:09:34 ARST 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 228753408 vsize: 228753408 resident: 115007488 share: 25296896 rss: 115007488 rss_rlim: 4294967295
CPU usage: start_time: 1200849207 rtime: 44928 utime: 39756 stime: 5172 cutime:35 cstime: 20 timeout: 0 it_real_value: 0 frequency: 100

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

Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb67e56b0 (LWP 5297)]
[New Thread 0xb063db90 (LWP 32349)]
[New Thread 0xb10feb90 (LWP 32347)]
[New Thread 0xb3d25b90 (LWP 5607)]
[New Thread 0xb2c8eb90 (LWP 5591)]
[New Thread 0xb4526b90 (LWP 5584)]
[New Thread 0xb3505b90 (LWP 5564)]
[New Thread 0xb4d27b90 (LWP 5558)]
[New Thread 0xb5528b90 (LWP 5557)]
[New Thread 0xb5d29b90 (LWP 5556)]
0xb7fc3410 in __kernel_vsyscall ()

Thread 1 (Thread 0xb67e56b0 (LWP 5297))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/i686/cmov/libpthread.so.0
  • #2 IA__g_spawn_sync
    at /build/buildd/glib2.0-2.14.5/glib/gspawn.c line 369
  • #3 IA__g_spawn_command_line_sync
    at /build/buildd/glib2.0-2.14.5/glib/gspawn.c line 677
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 segv_redirect
    at main.c line 413
  • #6 <signal handler called>
  • #7 em_format_set_inline
    at em-format.c line 1020
  • #8 efhd_attachment_show
    at em-format-html-display.c line 1429
  • #9 efhd_attachment_button_show
    at em-format-html-display.c line 1435
  • #10 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.14.5/gobject/gmarshal.c line 77
  • #11 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.5/gobject/gclosure.c line 490
  • #12 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2440
  • #13 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2199
  • #14 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2243
  • #15 IA__gtk_button_clicked
    at /tmp/buildd/gtk+2.0-2.12.5/gtk/gtkbutton.c line 889
  • #16 gtk_real_button_released
    at /tmp/buildd/gtk+2.0-2.12.5/gtk/gtkbutton.c line 1484
  • #17 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.14.5/gobject/gmarshal.c line 77
  • #18 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.14.5/gobject/gclosure.c line 567
  • #19 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.5/gobject/gclosure.c line 490
  • #20 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2370
  • #21 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2199
  • #22 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2243
  • #23 IA__gtk_button_released
    at /tmp/buildd/gtk+2.0-2.12.5/gtk/gtkbutton.c line 881
  • #24 gtk_button_button_release
    at /tmp/buildd/gtk+2.0-2.12.5/gtk/gtkbutton.c line 1377
  • #25 _gtk_marshal_BOOLEAN__BOXED
    at /tmp/buildd/gtk+2.0-2.12.5/gtk/gtkmarshalers.c line 84
  • #26 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.14.5/gobject/gclosure.c line 567
  • #27 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.5/gobject/gclosure.c line 490
  • #28 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2478
  • #29 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2209
  • #30 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.5/gobject/gsignal.c line 2243
  • #31 gtk_widget_event_internal
    at /tmp/buildd/gtk+2.0-2.12.5/gtk/gtkwidget.c line 4675
  • #32 IA__gtk_propagate_event
    at /tmp/buildd/gtk+2.0-2.12.5/gtk/gtkmain.c line 2336
  • #33 IA__gtk_main_do_event
    at /tmp/buildd/gtk+2.0-2.12.5/gtk/gtkmain.c line 1556
  • #34 gdk_event_dispatch
    at /tmp/buildd/gtk+2.0-2.12.5/gdk/x11/gdkevents-x11.c line 2351
  • #35 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.14.5/glib/gmain.c line 2061
  • #36 g_main_context_iterate
    at /build/buildd/glib2.0-2.14.5/glib/gmain.c line 2694
  • #37 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.14.5/glib/gmain.c line 2898
  • #38 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #39 main
    at main.c line 602
  • #40 __libc_start_main
    from /lib/i686/cmov/libc.so.6
  • #41 _start
  • #0 __kernel_vsyscall


----------- .xsession-errors (44 sec old) ---------------------
get jkohen pop://jkohen;auth=LOGIN@buddystream.com
Find Items 0
get jkohen pop://jkohen@pop.fibertel.com.ar/
Find Items 0
get jkohen pop://jkohen;auth=LOGIN@buddystream.com
Find Items 0
get jkohen pop://jkohen@pop.fibertel.com.ar/
Find Items 0
get jkohen pop://jkohen;auth=LOGIN@buddystream.com
Find Items 0
get jkohen pop://jkohen@pop.fibertel.com.ar/
Find Items 0
get jkohen pop://jkohen;auth=LOGIN@buddystream.com
Find Items 0
JACK tmpdir identified as [/dev/shm]
--------------------------------------------------
Comment 1 Javier Kohen 2008-01-22 19:03:28 UTC
To make myself more clear, by "simultaneously" I mean that first I pressed said button for the bottom image, then before it was shown, I pressed the button for the one before it, then before any of the two previous were shown, I pressed the button for the third and so on, until it crashed. In total there were 6 image attachments and I think I made it through four before Evo crashed.
Comment 2 Akhil Laddha 2008-04-17 12:58:15 UTC
*** Bug 528460 has been marked as a duplicate of this bug. ***
Comment 3 Akhil Laddha 2008-04-17 14:09:40 UTC
see bug 509772
Comment 4 Milan Crha 2008-04-17 17:38:26 UTC
Hmm, seems like a good regression, after click on the image it doesn't clear the output and doesn't show "formatting message", so we are back where we were.
(bug #273386 as Akhil pointed out on IRC)

I've such a feeling I reverted/improved that change because it didn't remember scroll bar position, which was somehow irritating. Let me check whether I'll be able to improve it in a correct way, not in that workaround last time...

Note: I am able to reproduce it... [very sadly]

(Btw, if someone else will do that before me, then I'm fine with that) :)
Comment 5 Milan Crha 2008-04-18 10:28:41 UTC
Created attachment 109479 [details] [review]
proposed evo patch

for evolution;

Not the proper patch yet, it's another workaround, but should prevent the issue very well. It either clears the content of the preview or disables it during formatting message, so users cannot click on attachment buttons until the new formatting is done.
Comment 6 Srinivasa Ragavan 2008-04-23 04:20:58 UTC
Milan, how about just desensitizing that button alone? the whole widget might not look good.
Comment 7 Milan Crha 2008-04-23 12:06:01 UTC
To be honest, the whole widget doesn't change much, when I disable it. The other thing is it's "very hard" to find all embedded widgets (you know, we should disable all buttons, not only the one user touched). I noticed only one pity thing, for my test mail, it grayed widgets (not disabled, but removed them and let there a gray rectangle) a few seconds before finishing formatting. That can be a problem you are talking about, I agree. Anyway, the best fix would be to rewrite whole part, but that's something really "impossible" :)
Comment 8 Srinivasa Ragavan 2008-04-28 04:23:58 UTC
Milan, really speaking, I dont want to fix it then. I would say that it is a negative case, keep pressing to make it crash. 
Comment 9 Milan Crha 2008-04-28 08:21:05 UTC
Srag, but see that bug #273386, there are many people doing this.
Comment 10 Milan Crha 2008-04-28 11:21:52 UTC
Created attachment 110031 [details] [review]
proposed evo patch ][

for evolution;

Done as srag suggested on IRC.
Comment 11 Srinivasa Ragavan 2008-04-29 06:36:17 UTC
Milan, looks awesome. Commit to stable/trunk. I haven't tested it. Just test and commit.
Comment 12 Milan Crha 2008-04-29 08:36:31 UTC
Committed to trunk. Committed revision 35437.
Committed to gnome-2-22. Committed revision 35438.
Comment 13 Akhil Laddha 2008-04-29 10:15:02 UTC
*** Bug 509772 has been marked as a duplicate of this bug. ***
Comment 14 Akhil Laddha 2008-06-12 04:34:05 UTC
*** Bug 537879 has been marked as a duplicate of this bug. ***
Comment 15 Akhil Laddha 2008-06-13 05:07:48 UTC
*** Bug 538083 has been marked as a duplicate of this bug. ***
Comment 16 Akhil Laddha 2008-07-16 04:57:00 UTC
*** Bug 543079 has been marked as a duplicate of this bug. ***