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 214218 - occassional hangs on startup
occassional hangs on startup
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
unspecified
Other All
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 214219 214232 214241 214256 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-11-01 03:59 UTC by georgn
Modified: 2013-09-10 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Traffic trace IMAP exchange <-> evolution (36.17 KB, text/plain)
2001-11-01 15:44 UTC, jaffleck+ximianbugs
  Details
bt after ctrl-c in evolution-mail (4.35 KB, text/plain)
2001-11-01 15:46 UTC, jaffleck+ximianbugs
  Details
Patch to remove g_mutex snot (2.60 KB, patch)
2001-11-01 19:28 UTC, Not Zed
none Details | Review
linux's destroy is a nop, forgot others might not be (2.55 KB, patch)
2001-11-01 20:43 UTC, Not Zed
none Details | Review

Description georgn 2001-11-01 03:59:16 UTC
Package: Evolution
Priority: Blocker
Version: 0.16.99
Synopsis: occassional hangs on startup
Bugzilla-Product: Evolution
Bugzilla-Component: Miscellaneous

Description:
Occassionally (50% of the time) evolution hangs somewhere in startup.

killev and trying again seems to get past this.

Latest snapshot (cvs.2001.10.31.22.56)



Unknown reporter: georgn@somanetworks.com, changed to bugbuddy-import@ximian.com.

Comment 1 Luis Villa 2001-11-01 05:18:29 UTC
*** bug 214219 has been marked as a duplicate of this bug. ***
Comment 2 Luis Villa 2001-11-01 05:20:31 UTC
Confirming; there are still reports of this in IRC and evolution@.
Comment 3 Luis Villa 2001-11-01 15:14:18 UTC
*** bug 214241 has been marked as a duplicate of this bug. ***
Comment 4 Luis Villa 2001-11-01 15:16:15 UTC
Forgot to cc ettore.
Comment 5 jaffleck+ximianbugs 2001-11-01 15:44:00 UTC
Created attachment 40483 [details]
Traffic trace IMAP exchange <-> evolution
Comment 6 jaffleck+ximianbugs 2001-11-01 15:46:49 UTC
Created attachment 40484 [details]
bt after ctrl-c in evolution-mail
Comment 7 Dan Winship 2001-11-01 16:03:15 UTC
The IMAP stuff is irrelevant here: it's hanging in ibex trying to
unselect /local/Inbox
Comment 8 thomas 2001-11-01 16:20:35 UTC
I got the following from the console:
evolution-shell-WARNING **: Error setting owner on component 
OAFIID:GNOME_Evolution_Mail_ShellComponent -- CORBA-Fehler

evolution-shell-WARNING **: Error changing interactive status of 
component OAFIID:GNOME_Evolution_Mail_ShellComponent to TRUE -- 
IDL:CORBA/COMM_FAILURE:1.0


evolution-shell-WARNING **: Error changing interactive status of 
component OAFIID:GNOME_Evolution_Mail_ShellComponent to FALSE -- 
IDL:CORBA/COMM_FAILURE:1.0

and after a gdb-run:

gdb evolution-mail
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "i386-suse-linux"...
(gdb) r
Starting program: /usr/bin/evolution-mail
[New Thread 1024 (LWP 6673)]
 
e-utils-ERROR **: Very serious error, cannot activate private config 
database 'Unknown
CORBA exception id: 'IDL:OAF/GeneralError:1.0''
aborting...
 
Program received signal SIGABRT, Aborted.

Thread 1024 (LWP 6673)

  • #0 __kill
    from /lib/libc.so.6
  • #1 pthread_kill
    from /lib/libpthread.so.0
  • #2 raise
    from /lib/libpthread.so.0
  • #3 abort
    from /lib/libc.so.6
  • #4 g_logv
    at gmessages.c line 391
  • #5 g_log
    at gmessages.c line 408
  • #6 e_passwords_init
    at e-passwords.c line 69
  • #7 main
    at main.c line 130
  • #8 __libc_start_main
    from /lib/libc.so.6

hope that helps...

Thomas
Comment 9 Not Zed 2001-11-01 18:06:53 UTC
The last is another issue.

The previous looks like the deadlock i fixed yesterday?

Is that snapshot after 4pm yesterday?
Comment 10 Not Zed 2001-11-01 19:11:37 UTC
*** bug 214256 has been marked as a duplicate of this bug. ***
Comment 11 Not Zed 2001-11-01 19:12:13 UTC
*** bug 214232 has been marked as a duplicate of this bug. ***
Comment 12 Not Zed 2001-11-01 19:27:33 UTC
So i find that by looking at the oh-so-well-documented g_* functions
that g_mutex_trylock returns inverse error status to
pthread_mutex_trylock.

So i dont use g_mutex's anymore.

Patch attached.
Comment 13 Not Zed 2001-11-01 19:28:26 UTC
Created attachment 40491 [details] [review]
Patch to remove g_mutex snot
Comment 14 Not Zed 2001-11-01 20:43:08 UTC
Created attachment 40492 [details] [review]
linux's destroy is a nop, forgot others might not be
Comment 15 Luis Villa 2001-11-01 20:50:50 UTC
FWIW, I'd be happier if we don't mark these fixed until the patch is
applied. I don't want another 'I fixed it' 'oops, did I forget to
apply that patch' situation like we had with other developers who
shall go unnamed *cough*shell*cough*
Comment 16 Not Zed 2001-11-01 21:30:17 UTC
Well its applied now.