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 274329 - Evolution crashes on load, with notification to d-bus enabled.
Evolution crashes on load, with notification to d-bus enabled.
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.2.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 302955 303934 304093 304713 307632 307767 307909 308898 310090 320490 342595 351492 352715 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-02 01:19 UTC by Steen Eugen Poulsen
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix that isn't applied yet (4.56 KB, patch)
2005-04-05 08:31 UTC, Not Zed
committed Details | Review
patch fixes related problems (1.24 KB, patch)
2005-07-08 08:45 UTC, vivek jain
none Details | Review
patch fixes related problems (1.24 KB, patch)
2005-07-08 08:46 UTC, vivek jain
none Details | Review
fix against 2.2, which is completely different code to 2.4 (1.31 KB, patch)
2005-08-05 07:54 UTC, Not Zed
committed Details | Review

Description Steen Eugen Poulsen 2005-04-02 01:19:20 UTC
Distribution: Debian 3.1
Package: Evolution
Priority: Critical
Version:  unspecified
Synopsis: Evolution crashes on load.
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.10.0)
Description:
Description of the crash:
There is a couple of microseconds where I can do something, until it
crashes. I think it might be related to viewing mails, but trying to
switch to other mails has no effect.

Steps to reproduce the crash:
1. 
2. 
3. 

Expected Results:


How often does this happen?
Every time I start Evolution.

Additional Information:



Debugging Information:

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

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1229616288 (LWP 16146)]
[New Thread -1262416976 (LWP 16160)]
[New Thread -1254028368 (LWP 16150)]
[New Thread -1245639760 (LWP 16149)]
[New Thread -1237251152 (LWP 16148)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7aa9b61 in waitpid () from /lib/tls/libc.so.6
  • #0 waitpid
    from /lib/tls/libc.so.6
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 raise
    from /lib/tls/libc.so.6
  • #4 abort
    from /lib/tls/libc.so.6
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
  • #35 ??
  • #36 ??
  • #37 ??
  • #38 ??
  • #39 ??
  • #40 ??
  • #41 ??
  • #42 g_free
    from /usr/lib/libglib-2.0.so.0



Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Steen Eugen Poulsen 2005-04-03 20:16:09 UTC
Started evolution with -c calendar from a xterm, so got a bit more
useful information.

It was crashing on Generate a d-bus message when new mail arrives.

Failed to connect to the D-BUS daemon: Unable to determine the address
of the message bus
28657: arguments to dbus_connection_get_data() were incorrect,
assertion "connection != NULL" failed in file dbus-connection.c line 4029.
This is normally a bug in some application using the D-BUS library.
28657: arguments to dbus_connection_set_watch_functions() were
incorrect, assertion "connection != NULL" failed in file
dbus-connection.c line 3320.
This is normally a bug in some application using the D-BUS library.

** ERROR **: Not enough memory to set up DBusConnection for use with GLib
aborting...
Comment 2 Not Zed 2005-04-05 08:27:46 UTC
might be the wrong version of the dbus api for evolution.  i thought
we patched that recently, but i can't see the patch in the code.
Comment 3 Not Zed 2005-04-05 08:31:21 UTC
Created attachment 45062 [details] [review]
fix that isn't applied yet
Comment 4 Not Zed 2005-04-12 07:42:23 UTC
ok this patch is applied but fixes a different problem i think.  there's a patch
on the evolution patches list which looks atthis problem (null connection).
Comment 5 Nagappan Alagappan 2005-05-14 06:32:38 UTC
*** Bug 304093 has been marked as a duplicate of this bug. ***
Comment 6 Nagappan Alagappan 2005-05-14 06:34:52 UTC
*** Bug 303934 has been marked as a duplicate of this bug. ***
Comment 7 Nagappan Alagappan 2005-05-19 09:55:37 UTC
*** Bug 304713 has been marked as a duplicate of this bug. ***
Comment 8 Nagappan Alagappan 2005-05-19 09:57:04 UTC
Stack trace from Bug 304713

Backtrace was generated from '/opt/gnome/bin/evolution-2.2'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1096133600 (LWP 31552)]
[New Thread 1111608240 (LWP 31595)]
[Thread debugging using libthread_db enabled]
[New Thread 1096133600 (LWP 31552)]
[New Thread 1111608240 (LWP 31595)]
[Thread debugging using libthread_db enabled]
[New Thread 1096133600 (LWP 31552)]
[New Thread 1111608240 (LWP 31595)]
[New Thread 1113709488 (LWP 31593)]
[New Thread 1109375920 (LWP 31569)]
[New Thread 1107274672 (LWP 31568)]
[New Thread 1105083312 (LWP 31567)]
0xffffe410 in ?? ()

Thread 1 (Thread 1096133600 (LWP 31552))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #6 <signal handler called>
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 raise
    from /lib/tls/libc.so.6
  • #12 abort
    from /lib/tls/libc.so.6
  • #13 IA__g_logv
    at gmessages.c line 492
  • #14 IA__g_log
    at gmessages.c line 512
  • #15 dbus_connection_setup_with_g_main
    at dbus-gmain.c line 519
  • #16 send_dbus_message
    at new-mail-notify.c line 107
  • #17 epl_invoke
    at e-plugin.c line 790
  • #18 e_plugin_invoke
    at e-plugin.c line 579
  • #19 emph_event_handle
    at e-event.c line 406
  • #20 e_event_emit
    at e-event.c line 295
  • #21 emfv_list_done_message_selected
    at em-folder-view.c line 2113
  • #22 get_message_got
    at mail-ops.c line 1730
  • #23 mail_msgport_replied
    at mail-mt.c line 447
  • #24 g_io_unix_dispatch
    at giounix.c line 162
  • #25 IA__g_main_context_dispatch
    at gmain.c line 1947
  • #26 g_main_context_iterate
    at gmain.c line 2578
  • #27 IA__g_main_loop_run
    at gmain.c line 2782
  • #28 bonobo_main
    at bonobo-main.c line 297
  • #29 main
    at main.c line 614
  • #0 ??

Comment 9 Yusuf Iskenderoglu 2005-05-19 10:31:45 UTC
In the Bug I reported (304713), I have irritatingly concluded that the erasure
of the file "~/.gconf/apps/evolution/mail/notify/%gconf.xml" would not help.
Thats wrong.
It does, if I erase it after I shutdown the gconfd and restart it.

Moreover, I managed to run dbus-launch within my ~/.xsession right after
gpg-agent and ssh-agent and before the window manager is run. That way a
dbus-daemon-1 gets started, and re-checking that Option in Evolution does no
longer lead to a crash.

It looks like, that evolution does only require a check whether dbus-daemon is
running, and if not, it shall not allow checking that option.
Comment 10 Gordon Smith Jr. 2005-06-15 04:51:04 UTC
*** Bug 307632 has been marked as a duplicate of this bug. ***
Comment 11 Nagappan Alagappan 2005-06-16 10:02:30 UTC
*** Bug 307767 has been marked as a duplicate of this bug. ***
Comment 12 Nagappan Alagappan 2005-06-16 12:29:06 UTC
*** Bug 307909 has been marked as a duplicate of this bug. ***
Comment 13 Nagappan Alagappan 2005-06-27 03:59:59 UTC
*** Bug 308898 has been marked as a duplicate of this bug. ***
Comment 14 stefan.ukena 2005-07-06 17:01:29 UTC
Here is a work-around that worked for me.

Use the gnome configuration editor to DISABLE the following setting:

/apps/evolution/mail/notify/gen_dbus_msg
Comment 15 vivek jain 2005-07-08 08:45:28 UTC
Created attachment 48818 [details] [review]
patch fixes related problems
Comment 16 vivek jain 2005-07-08 08:46:15 UTC
Created attachment 48819 [details] [review]
patch fixes related problems

problem which i can see in the backtraces should be fixed in 2.3 
I am attaching one more patch (for current CVS head) which should fix other
bits of problems related to this.
Comment 17 vivek jain 2005-07-11 06:39:14 UTC
committed the patch in CVS Head. Pretty sure its fixed on head. Closing it.
Comment 18 Nagappan Alagappan 2005-07-12 09:36:32 UTC
*** Bug 302955 has been marked as a duplicate of this bug. ***
Comment 19 Nagappan Alagappan 2005-07-12 09:36:49 UTC
*** Bug 310090 has been marked as a duplicate of this bug. ***
Comment 20 Not Zed 2005-08-05 07:50:24 UTC
hmm, that patch is wrong anyway, the message CAN NEVER BE NULL.

the bus can never be null either.

you've tried to fix a bug on evolution-2.3 which was already fixed, the bug is
in evolution 2.2 (and still is).

Comment 21 Not Zed 2005-08-05 07:54:35 UTC
Created attachment 50256 [details] [review]
fix against 2.2, which is completely different code to 2.4
Comment 22 vivek jain 2005-08-05 08:07:40 UTC
looking at the d-bus code I found it was a good practice there to have a check
everytime we call "dbus_message_new_signal" for the return value to be NULL and
handle the case. I did not reproduce the crash though. Am still unsure why it
can't be NULL.
Comment 23 vivek jain 2005-11-03 06:37:50 UTC
*** Bug 320490 has been marked as a duplicate of this bug. ***
Comment 24 André Klapper 2006-05-22 18:12:57 UTC
*** Bug 342595 has been marked as a duplicate of this bug. ***
Comment 25 Rob Bradford 2006-08-15 16:47:35 UTC
*** Bug 351492 has been marked as a duplicate of this bug. ***
Comment 26 Sergej Kotliar 2006-08-25 01:58:32 UTC
*** Bug 352715 has been marked as a duplicate of this bug. ***