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 214092 - mailer components hangs evo on startup
mailer components hangs evo on startup
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
pre-1.5 (obsolete)
Other other
: Normal blocker
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2001-10-31 04:12 UTC by Dan Berger
Modified: 2013-09-10 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Berger 2001-10-31 04:12:06 UTC
This just started with this afternoons snapshot - Evo starts up - complains
about the calendar file (see bug 214067) and hangs - won't redraw itself,
nothing.

I've tried running the mail component in a terminal window with
CAMEL_VERBOSE_DEBUG set - no relavent messages are emitted.

If I kill that process evo sometimes notices it (complains that a component
has exited abnormally) and continues startup.

I haven't been able to get anything useful yet (i.e. stack trace, etc.)

It works on my "other" machine - also a RedHat 7.1 box running 2.4.6 -
which leads me to suspect that it's related to the depth of my folder tree
- but that's just a random guess at this point.
Comment 1 Dan Berger 2001-10-31 04:26:14 UTC
downgrading severity - I did this:

% cd evolution/local
% find . -name mbox.\* -exec /bin/rm {} \;

(remove all the mbox.ibex and mbox.ev-summary files)

Evo mail starts again - but something definitely was pissed off about
one of those files.

I have a backup of all of them - but there are 141 files total.

If someone wants them to try and figure this one out - let me know.
 
Comment 2 Dan Berger 2001-10-31 04:28:53 UTC
ok - I'm bumping it back up - after evo sucessfully started, I exited
and tried restarting - and I'm back to hanging.

Once again removing mbox.* allowed it to start.

I'm going to try and do a bit more diagnosis...
Comment 3 Dan Berger 2001-10-31 04:32:50 UTC
ok - it's something about the ev-summary files - I removed them (but
left the .ibex files) and evo starts again.  but once it writes out
the ev-summary files, it hangs on startup.

I also tried removing it just from the Inbox folder - evo still hangs.

I can attach a tar file of all the .ev-summary files to this bug if
you want one - but I'll hold off 'till "you" ask for it.
Comment 4 Dan Berger 2001-10-31 04:35:16 UTC
the problem is deeper than just a hang on startup - if I leave evo
running for a few minutes it hangs - 0% CPU - just hung.  

The status bar reports two instances of "storing folder (0% complete)"

I'm going to downgrade to the "stable" snap available under the Ximian
desktop channel.
Comment 5 Dan Berger 2001-10-31 04:36:18 UTC
BTW: All this is occuring with
evolution-0.16.99-snap.ximian.200110301608.i386.rpm
Comment 6 Luis Villa 2001-10-31 06:46:19 UTC
sorry to add another 1.0 at this point, guys, but this sounds ugly.
Comment 7 Ettore Perazzoli 2001-10-31 09:29:56 UTC
We need a stack trace for this.  It definitely doesn't happen for me.

Try running evolution-mail under GDB before running evolution.  When
the process hangs, hit C-c in GDB and do:

  (gdb) thread apply all bt

BTW I seemed to have some ugly hangs earlier today, but they are all
gone for me.  I think this is what you are seeing.  Can you please try
updating to the latest snapshot again and tell us if this fixes it? 
That would be really appreciated.
Comment 8 Luis Villa 2001-10-31 16:25:41 UTC
Re-opening; we have at least one confirmation on the list. Please do
try to get that trace, though, Dan.
Comment 9 Dan Berger 2001-10-31 17:35:49 UTC
I'm downloading the new snap now (at 4-5k/s - not exactly chewing up
my DSL line) and will update this bug once I have it installed.  I
tried getting a stack trace out of the hang last night (using the
procedure described above) but couldn't get gdb to interrupt the
running process - kinda odd.
Comment 10 Dan Berger 2001-10-31 18:56:48 UTC
Ok - the new snap is still broken - here's the backtrace.

Interestingly - starting evolution-mail in gdb never registered the
needed IID's - so evo would start another one - I had to startup evo
and attach gdb after the fact.  Anyway:

(gdb) thread apply all bt

Thread 5 (Thread 3076 (LWP 6235))

  • #0 __sigsuspend
    at ../sysdeps/unix/sysv/linux/sigsuspend.c line 45
  • #1 __pthread_wait_for_restart_signal
    at pthread.c line 969
  • #2 pthread_cond_wait
    at restart.h line 34
  • #3 e_msgport_wait
    at e-msgport.c line 198
  • #4 thread_dispatch
    at e-msgport.c line 517
  • #5 pthread_start_thread
    at manager.c line 284

Thread 4 (Thread 2051 (LWP 6232))

  • #0 __sigsuspend
    at ../sysdeps/unix/sysv/linux/sigsuspend.c line 45
  • #1 __pthread_wait_for_restart_signal
    at pthread.c line 969
  • #2 __pthread_alt_lock
    at restart.h line 34
  • #3 __pthread_mutex_lock
    at mutex.c line 120
  • #4 ibex_use
    at ibex_block.c line 54
  • #5 ibex_contains_name
    at ibex_block.c line 642
  • #6 message_info_new
  • #7 message_info_new
    at camel-mbox-summary.c line 174
  • #8 message_info_new_from_parser
    at camel-folder-summary.c line 1338
  • #9 message_info_new_from_parser
    at camel-mbox-summary.c line 189
  • #10 camel_folder_summary_info_new_from_parser
    at camel-folder-summary.c line 862
  • #11 camel_folder_summary_add_from_parser
    at camel-folder-summary.c line 789
  • #12 summary_rebuild
    at camel-mbox-summary.c line 293
  • #13 summary_update
    at camel-mbox-summary.c line 342
  • #14 mbox_summary_check
    at camel-mbox-summary.c line 389
  • #15 camel_local_summary_check
    at camel-local-summary.c line 256
  • #16 camel_local_folder_construct
    at camel-local-folder.c line 224
  • #17 camel_mbox_folder_new
    at camel-mbox-folder.c line 131
  • #18 get_folder
    at camel-mbox-store.c line 125
  • #19 camel_store_get_folder
    at camel-store.c line 251
  • #20 mlf_set_folder
    at mail-local.c line 496
  • #21 mls_get_folder
    at mail-local.c line 755
  • #22 camel_store_get_folder
    at camel-store.c line 251
  • #23 mail_tool_uri_to_folder
    at mail-tools.c line 307
  • #24 get_folder_get
    at mail-ops.c line 1245
  • #25 mail_msg_received
    at mail-mt.c line 500
  • #26 thread_received_msg
    at e-msgport.c line 469
  • #27 thread_dispatch
    at e-msgport.c line 550
  • #28 pthread_start_thread
    at manager.c line 284

Thread 3 (Thread 1026 (LWP 6231))

  • #0 __sigsuspend
    at ../sysdeps/unix/sysv/linux/sigsuspend.c line 45
  • #1 __pthread_wait_for_restart_signal
    at pthread.c line 969
  • #2 pthread_cond_wait
    at restart.h line 34
  • #3 e_msgport_wait
    at e-msgport.c line 198
  • #4 thread_dispatch
    at e-msgport.c line 517
  • #5 pthread_start_thread
    at manager.c line 284

Thread 1 (Thread 1024 (LWP 6187))

  • #0 __sigsuspend
    at ../sysdeps/unix/sysv/linux/sigsuspend.c line 45
  • #1 __pthread_wait_for_restart_signal
    at pthread.c line 969
  • #2 __pthread_alt_lock
    at restart.h line 34
  • #3 __pthread_mutex_lock
    at mutex.c line 120
  • #4 ibex_use
    at ibex_block.c line 97
  • #5 ibex_save
    at ibex_block.c line 395
  • #6 local_summary_sync
    at camel-local-summary.c line 371
  • #7 mbox_summary_sync
    at camel-mbox-summary.c line 883
  • #8 camel_local_summary_sync
    at camel-local-summary.c line 285
  • #9 local_finalize
    at camel-local-folder.c line 123
  • #10 camel_object_unref
    at camel-object.c line 579
  • #11 mlf_unset_folder
    at mail-local.c line 465
  • #12 mlf_finalize
    at mail-local.c line 554
  • #13 camel_object_unref
    at camel-object.c line 579
  • #14 mail_msg_free
    at mail-mt.c line 184
  • #15 mail_msgport_replied
    at mail-mt.c line 393
  • #16 g_io_unix_dispatch
    at giounix.c line 137
  • #17 g_main_dispatch
    at gmain.c line 656
  • #18 g_main_iterate
    at gmain.c line 877
  • #19 g_main_run
    at gmain.c line 935
  • #20 gtk_main
    at gtkmain.c line 524
  • #21 bonobo_main
    at bonobo-main.c line 283
  • #22 main
    at main.c line 145
  • #23 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129

Comment 11 Not Zed 2001-10-31 19:56:42 UTC
Sorry, simple deadlock introduced with a race fix in libibex.

Fixed in cvs.
Comment 12 Dan Berger 2001-10-31 20:00:36 UTC
excellent Smithers.  Any chance that fix will make the afternoon
snapshot? 
Comment 13 Luis Villa 2001-10-31 22:04:54 UTC
dan: it did not make the afternoon snap; we're trying to roll another one.
Comment 14 Trever Adams 2001-11-01 15:56:58 UTC
Apparently it didn't make cvs.2001.11.01.08.57 either.  Running:
% cd evolution/local
% find . -name mbox.\* -exec /bin/rm {} \;

suggested by someone else still fixes it.