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 313799 - attachment bar freezes evolution
attachment bar freezes evolution
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.4.x
Other Linux
: Normal major
: ---
Assigned To: Srinivasa Ragavan
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-08-18 07:13 UTC by Not Zed
Modified: 2013-09-13 00:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
message from which the trace originates (157.93 KB, text/plain)
2005-08-18 07:20 UTC, Not Zed
  Details
Fixes the bug. (2.17 KB, patch)
2005-08-22 05:39 UTC, Srinivasa Ragavan
none Details | Review
This fixes the bug. ignore the previous one. (2.22 KB, patch)
2005-08-22 08:27 UTC, Srinivasa Ragavan
reviewed Details | Review
reworked patch (4.22 KB, patch)
2005-08-23 08:21 UTC, Srinivasa Ragavan
accepted-commit_now Details | Review

Description Not Zed 2005-08-18 07:13:27 UTC


Thread 10 (Thread 131080 (LWP 3053))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 e_msgport_wait
    at e-msgport.c line 511
  • #4 thread_dispatch
    at e-msgport.c line 874
  • #5 pthread_start_thread
    from /lib/libpthread.so.0
  • #6 pthread_start_thread_event
    from /lib/libpthread.so.0
  • #7 clone
    from /lib/libc.so.6

Thread 9 (Thread 114695 (LWP 3052))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 e_msgport_wait
    at e-msgport.c line 511
  • #4 thread_dispatch
    at e-msgport.c line 874
  • #5 pthread_start_thread
    from /lib/libpthread.so.0
  • #6 pthread_start_thread_event
    from /lib/libpthread.so.0
  • #7 clone
    from /lib/libc.so.6

Thread 8 (Thread 98310 (LWP 3042))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 e_msgport_wait
    at e-msgport.c line 511
  • #4 thread_dispatch
    at e-msgport.c line 874
  • #5 pthread_start_thread
    from /lib/libpthread.so.0
  • #6 pthread_start_thread_event
    from /lib/libpthread.so.0
  • #7 clone
    from /lib/libc.so.6

Thread 7 (Thread 81925 (LWP 3041))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 e_msgport_wait
    at e-msgport.c line 511
  • #4 sync_op
    at em-sync-stream.c line 225
  • #5 stream_write
    at em-sync-stream.c line 282
  • #6 camel_stream_write
    at camel-stream.c line 118
  • #7 do_write
    at camel-stream-filter.c line 323
  • #8 camel_stream_write
    at camel-stream.c line 118
  • #9 camel_stream_write_to_stream
    at camel-stream.c line 271
  • #10 write_to_stream
    at camel-data-wrapper.c line 147
  • #11 camel_data_wrapper_write_to_stream
    at camel-data-wrapper.c line 175
  • #12 decode_to_stream
    at camel-data-wrapper.c line 215
  • #13 camel_data_wrapper_decode_to_stream
    at camel-data-wrapper.c line 240
  • #14 efhd_write_icon_job
    at em-format-html-display.c line 1340
  • #15 efh_format_do
    at em-format-html.c line 1215
  • #16 mail_msg_received
    at mail-mt.c line 556
  • #17 thread_received_msg
    at e-msgport.c line 826
  • #18 thread_dispatch
    at e-msgport.c line 907
  • #19 pthread_start_thread
    from /lib/libpthread.so.0
  • #20 pthread_start_thread_event
    from /lib/libpthread.so.0
  • #21 clone
    from /lib/libc.so.6

Thread 5 (Thread 49156 (LWP 2966))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 e_msgport_wait
    at e-msgport.c line 511
  • #4 thread_dispatch
    at e-msgport.c line 874
  • #5 pthread_start_thread
    from /lib/libpthread.so.0
  • #6 pthread_start_thread_event
    from /lib/libpthread.so.0
  • #7 clone
    from /lib/libc.so.6

Thread 4 (Thread 32771 (LWP 2965))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 e_msgport_wait
    at e-msgport.c line 511
  • #4 thread_dispatch
    at e-msgport.c line 874
  • #5 pthread_start_thread
    from /lib/libpthread.so.0
  • #6 pthread_start_thread_event
    from /lib/libpthread.so.0
  • #7 clone
    from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 2939))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 __pthread_alt_lock
    from /lib/libpthread.so.0
  • #3 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #4 write_to_stream
    at camel-data-wrapper.c line 141
  • #5 camel_data_wrapper_write_to_stream
    at camel-data-wrapper.c line 175
  • #6 decode_to_stream
    at camel-data-wrapper.c line 215
  • #7 camel_data_wrapper_decode_to_stream
    at camel-data-wrapper.c line 240
  • #8 update
    at e-attachment-bar.c line 286
  • #9 e_attachment_bar_refresh
    at e-attachment-bar.c line 493
  • #10 efhd_bar_resize
    at em-format-html-display.c line 1900
  • #11 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #12 IA__g_closure_invoke
    at gclosure.c line 437
  • #13 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #14 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #15 IA__g_signal_emit
    at gsignal.c line 2291
  • #16 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #17 child_size_allocate
    at gtkhtml.c line 1103
  • #18 forall
    at htmlobject.c line 523
  • #19 html_object_forall
    at htmlobject.c line 1307
  • #20 forall
    at htmlclue.c line 460
  • #21 html_object_forall
    at htmlobject.c line 1307
  • #22 forall
    at htmlclue.c line 460
  • #23 html_object_forall
    at htmlobject.c line 1307
  • #24 size_allocate
    at gtkhtml.c line 1157
  • #25 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #26 g_type_class_meta_marshal
    at gclosure.c line 514
  • #27 IA__g_closure_invoke
    at gclosure.c line 437
  • #28 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #29 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #30 IA__g_signal_emit
    at gsignal.c line 2291
  • #31 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #32 gtk_scrolled_window_size_allocate
    at gtkscrolledwindow.c line 1112
  • #33 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #34 g_type_class_meta_marshal
    at gclosure.c line 514
  • #35 IA__g_closure_invoke
    at gclosure.c line 437
  • #36 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #37 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #38 IA__g_signal_emit
    at gsignal.c line 2291
  • #39 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #40 gtk_vpaned_size_allocate
    at gtkvpaned.c line 208
  • #41 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #42 g_type_class_meta_marshal
    at gclosure.c line 514
  • #43 IA__g_closure_invoke
    at gclosure.c line 437
  • #44 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #45 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #46 IA__g_signal_emit
    at gsignal.c line 2291
  • #47 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #48 gtk_vbox_size_allocate
    at gtkvbox.c line 261
  • #49 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #50 g_type_class_meta_marshal
    at gclosure.c line 514
  • #51 IA__g_closure_invoke
    at gclosure.c line 437
  • #52 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #53 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #54 IA__g_signal_emit
    at gsignal.c line 2291
  • #55 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #56 gtk_plug_size_allocate
    at gtkplug.c line 662
  • #57 bonobo_plug_size_allocate
    at bonobo-plug.c line 272
  • #58 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #59 g_type_class_meta_marshal
    at gclosure.c line 514
  • #60 IA__g_closure_invoke
    at gclosure.c line 437
  • #61 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #62 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #63 IA__g_signal_emit
    at gsignal.c line 2291
  • #64 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #65 gtk_socket_size_allocate
    at gtksocket.c line 519
  • #66 bonobo_socket_size_allocate
    at bonobo-socket.c line 283
  • #67 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #68 g_type_class_meta_marshal
    at gclosure.c line 514
  • #69 IA__g_closure_invoke
    at gclosure.c line 437
  • #70 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #71 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #72 IA__g_signal_emit
    at gsignal.c line 2291
  • #73 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #74 bonobo_widget_size_allocate
    at bonobo-widget.c line 426
  • #75 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #76 g_type_class_meta_marshal
    at gclosure.c line 514
  • #77 IA__g_closure_invoke
    at gclosure.c line 437
  • #78 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #79 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #80 IA__g_signal_emit
    at gsignal.c line 2291
  • #81 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #82 gtk_notebook_size_allocate
    at gtknotebook.c line 1515
  • #83 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #84 g_type_class_meta_marshal
    at gclosure.c line 514
  • #85 IA__g_closure_invoke
    at gclosure.c line 437
  • #86 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #87 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #88 IA__g_signal_emit
    at gsignal.c line 2291
  • #89 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #90 gtk_hpaned_size_allocate
    at gtkhpaned.c line 224
  • #91 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #92 g_type_class_meta_marshal
    at gclosure.c line 514
  • #93 IA__g_closure_invoke
    at gclosure.c line 437
  • #94 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #95 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #96 IA__g_signal_emit
    at gsignal.c line 2291
  • #97 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #98 gtk_vbox_size_allocate
    at gtkvbox.c line 261
  • #99 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #100 g_type_class_meta_marshal
    at gclosure.c line 514
  • #101 IA__g_closure_invoke
    at gclosure.c line 437
  • #102 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #103 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #104 IA__g_signal_emit
    at gsignal.c line 2291
  • #105 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #106 bonobo_dock_size_allocate
    at bonobo-dock.c line 403
  • #107 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #108 g_type_class_meta_marshal
    at gclosure.c line 514
  • #109 IA__g_closure_invoke
    at gclosure.c line 437
  • #110 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #111 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #112 IA__g_signal_emit
    at gsignal.c line 2291
  • #113 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #114 gtk_vbox_size_allocate
    at gtkvbox.c line 261
  • #115 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #116 g_type_class_meta_marshal
    at gclosure.c line 514
  • #117 IA__g_closure_invoke
    at gclosure.c line 437
  • #118 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #119 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #120 IA__g_signal_emit
    at gsignal.c line 2291
  • #121 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #122 gtk_window_size_allocate
    at gtkwindow.c line 4229
  • #123 IA__g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #124 g_type_class_meta_marshal
    at gclosure.c line 514
  • #125 IA__g_closure_invoke
    at gclosure.c line 437
  • #126 signal_emit_unlocked_R
    at gsignal.c line 2418
  • #127 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #128 IA__g_signal_emit
    at gsignal.c line 2291
  • #129 IA__gtk_widget_size_allocate
    at gtkwidget.c line 2777
  • #130 IA__gtk_container_resize_children
    at gtkcontainer.c line 1236
  • #131 gtk_window_move_resize
    at gtkwindow.c line 5563
  • #132 gtk_window_check_resize
    at gtkwindow.c line 4632
  • #133 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #134 g_type_class_meta_marshal
    at gclosure.c line 514
  • #135 IA__g_closure_invoke
    at gclosure.c line 437
  • #136 signal_emit_unlocked_R
    at gsignal.c line 2526
  • #137 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #138 IA__g_signal_emit
    at gsignal.c line 2291
  • #139 IA__gtk_container_check_resize
    at gtkcontainer.c line 1190
  • #140 gtk_container_idle_sizer
    at gtkcontainer.c line 1114
  • #141 g_idle_dispatch
    at gmain.c line 3812
  • #142 IA__g_main_context_dispatch
    at gmain.c line 1933
  • #143 g_main_context_iterate
    at gmain.c line 2564
  • #144 IA__g_main_loop_run
    at gmain.c line 2768
  • #145 bonobo_main
    at bonobo-main.c line 297
  • #146 main
    at main.c line 602
  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0

Comment 1 Not Zed 2005-08-18 07:17:17 UTC
this is on a message with 2 image attachments, the first of which fails to
display at all because it is partially corrupt (other programs load the good
part ok).
Comment 2 Not Zed 2005-08-18 07:20:55 UTC
Created attachment 50890 [details]
message from which the trace originates

this doesn't happen every time, but it happens quite often showing this message
Comment 3 Srinivasa Ragavan 2005-08-22 05:39:26 UTC
Created attachment 51089 [details] [review]
Fixes the bug.

This could be solved, if the resize of the bar, just resizes instead of
invoking update, which refreshes the icons and everything. Im attaching a patch
for it.
Comment 4 Srinivasa Ragavan 2005-08-22 08:27:17 UTC
Created attachment 51103 [details] [review]
This fixes the bug. ignore the previous one.
Comment 5 Not Zed 2005-08-22 10:05:10 UTC
i think this patch is in the wrong place.

"update" is being called from the mailer - i think that is the cause of the
problem.  i.e. the fact it is being called is wrong, not so much that what it
does is wrong (although that is too).

setting the size should auto-update as required, why is the update thing even
being called in the mailer?

also, a better calculation than having to use modality is something like:

rows = (num_attachments + col - 1)/per_col;

Comment 6 Not Zed 2005-08-22 10:13:17 UTC
modulus, not modality, duh
Comment 7 Srinivasa Ragavan 2005-08-23 08:21:01 UTC
Created attachment 51169 [details] [review]
reworked patch
Comment 8 Srinivasa Ragavan 2005-08-23 08:21:41 UTC
Comment on attachment 50890 [details]
message from which the trace originates

Oops selected wrong one.
Comment 9 Not Zed 2005-08-24 02:50:26 UTC
looks better, thanks
Comment 10 Srinivasa Ragavan 2005-08-24 04:24:01 UTC
Committed to head.
Comment 11 Nagappan Alagappan 2005-08-26 14:05:33 UTC
Verified the same mail as source with Evolution 2.3.8.