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 314598 - Evolution doesn't start anymore because of a dbus problem
Evolution doesn't start anymore because of a dbus problem
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.2.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[eplugin]
Depends on:
Blocks:
 
 
Reported: 2005-08-26 16:42 UTC by Michelasso
Modified: 2012-04-20 12:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michelasso 2005-08-26 16:42:12 UTC
Steps to reproduce:
1.Check the option "send a dbus message when new mail arrives" 
2. Close evolution
3. Restart evolution


Stack trace:
(gdb) run
Starting program: /usr/bin/evolution
(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)
---Type <return> to continue, or q <return> to quit---
(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)
---Type <return> to continue, or q <return> to quit---
(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 46912610671568 (LWP 5841)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(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)
---Type <return> to continue, or q <return> to quit---
(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)
es menu class init
(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)
---Type <return> to continue, or q <return> to quit---
(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)
adding hook target 'source'
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

(evolution:5841): camel-WARNING **: Invalid root:
'/home/rick/.evolution/mail/local/Drafts.ibex.index'

(evolution:5841): camel-WARNING **: version: TEXT.000 (TEXT.000)

(evolution:5841): camel-WARNING **: block size: 1024 (1024) OK

(evolution:5841): camel-WARNING **: free: 0 (0 add size < 1024) OK

(evolution:5841): camel-WARNING **: last: 6144 (6144 and size: 1024) BAD

(evolution:5841): camel-WARNING **: flags: unSYNC
(no debugging symbols found)

(evolution:5841): evolution-mail-WARNING **: couldn't get service : No provider
available for protocol `'

[New Thread 1082132832 (LWP 5845)]
(no debugging symbols found)
[New Thread 1090525536 (LWP 5849)]
[New Thread 1098918240 (LWP 5850)]
[New Thread 1107310944 (LWP 5851)]
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
Failed to connect to the D-BUS daemon: Unable to determine the address of the
message bus
5841: 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.
5841: 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...

Program received signal SIGABRT, Aborted.
[Switching to Thread 46912610671568 (LWP 5841)]
0x00002aaab0d6add0 in raise () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 5 (Thread 1107310944 (LWP 5851))

  • #0 pthread_cond_wait
    from /lib/libpthread.so.0
  • #1 e_msgport_wait
    from /usr/lib/libedataserver-1.2.so.4
  • #2 e_thread_busy
    from /usr/lib/libedataserver-1.2.so.4
  • #3 start_thread
    from /lib/libpthread.so.0
  • #4 clone
    from /lib/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 ??
  • #43 ??
  • #44 ??
  • #45 ??
  • #46 ??
  • #47 ??
  • #48 ??
  • #49 ??
  • #50 ??
  • #51 ??
  • #52 ??
  • #53 ??
  • #54 ??
  • #55 ??
  • #56 ??
  • #57 ??
  • #58 ??
  • #59 ??
  • #60 ??
  • #61 ??
  • #62 ??
  • #63 ??
  • #64 ??
  • #65 ??
  • #66 ??
  • #67 ??
  • #68 ??
  • #69 ??
  • #70 ??
  • #71 ??
  • #72 ??
  • #73 ??
  • #74 ??
  • #75 ??
  • #76 ??
  • #77 ??
  • #78 ??
  • #79 ??
  • #80 ??
  • #81 ??
  • #82 ??
  • #83 ??
  • #84 ??
  • #85 ??
  • #86 ??
  • #87 ??
  • #88 ??
  • #89 ??
  • #90 ??
  • #91 ??
  • #92 ??
  • #93 ??
  • #94 ??
  • #95 ??
  • #96 ??
  • #97 ??
  • #98 ??
  • #99 ??
  • #100 ??
  • #101 ??
  • #102 ??
  • #103 ??
  • #104 ??
  • #105 ??
  • #106 ??
  • #107 ??
  • #108 ??
  • #109 ??
  • #110 ??
  • #111 ??
  • #112 ??
  • #113 ??
  • #114 ??
  • #115 ??
  • #116 ??
  • #117 ??
  • #118 ??
  • #119 ??
  • #120 ??
  • #121 ??
  • #122 ??
  • #123 ??
  • #124 ??
  • #125 ??
  • #126 ??
  • #127 ??
  • #128 ??
  • #129 ??
  • #130 ??
  • #131 ??
  • #132 ??
  • #133 ??
  • #134 ??
  • #135 ??
  • #136 ??
  • #137 ??
  • #138 ??
  • #139 ??
  • #140 ??
  • #141 ??
  • #142 ??
  • #143 ??
  • #144 ??
  • #145 ??
  • #146 ??
  • #147 ??
  • #148 ??
  • #149 ??
  • #150 ??
  • #151 ??
  • #152 ??
  • #153 ??
  • #154 ??
  • #155 ??
  • #156 ??
  • #157 ??
  • #158 ??
  • #159 ??
  • #160 ??
  • #161 ??
  • #162 ??
  • #163 ??
  • #164 ??
  • #165 ??
  • #166 ??
  • #167 ??
  • #168 ??
  • #169 ??
  • #170 ??
  • #171 ??
  • #172 ??
  • #173 ??
  • #174 ??
  • #175 ??
  • #176 ??
  • #177 ??
  • #178 ??
  • #179 ??
  • #180 ??
  • #181 ??
  • #182 ??
  • #183 ??
  • #184 ??
  • #185 ??
  • #186 ??
  • #187 ??
  • #188 ??
  • #189 ??
  • #190 ??
  • #191 ??
  • #192 ??
  • #193 ??
  • #194 ??
  • #195 ??
  • #196 ??
  • #197 ??
  • #198 ??
  • #199 ??
  • #200 ??
  • #201 ??
  • #202 ??
  • #203 ??
  • #204 ??
  • #205 ??
  • #206 ??
  • #207 ??
  • #208 ??
  • #209 ??
  • #210 ??
  • #211 ??
  • #212 ??
  • #213 __check_rhosts_file
    from /lib/libc.so.6
  • #214 ??
  • #215 ??
  • #216 ??
  • #217 ??
  • #218 ??
  • #219 __malloc_initialize_hook
    from /lib/libc.so.6
  • #220 ??
  • #221 ??
  • #222 ??
  • #223 ??
  • #224 ??
  • #225 ??
  • #226 ??
  • #227 ??
  • #228 ??
  • #229 ??
  • #230 ??
  • #231 ??
  • #232 ??
  • #233 ??
  • #234 ??
  • #235 ??
  • #236 ??
  • #237 ??
  • #238 ??
  • #239 ??
  • #240 stack_cache_maxsize
    from /lib/libpthread.so.0
  • #241 ??
  • #242 ??
  • #243 ??
  • #244 ??
  • #245 ??
  • #246 ??
  • #247 ??
  • #248 ??
  • #249 ??
  • #250 ??
  • #251 ??
  • #252 ??
  • #253 ??
  • #254 ??
  • #255 ??
  • #256 ??
  • #257 ??
  • #258 ??
  • #259 ??
  • #260 ??
  • #261 ??
  • #262 ??
  • #263 ??
  • #264 ??
  • #265 ??
  • #266 ??
  • #267 ??
  • #268 ??
  • #269 ??
  • #270 ??
  • #271 ??
  • #272 ??
  • #273 ??
  • #274 ??
  • #275 ??
  • #276 ??
  • #277 ??
  • #278 ??
  • #279 ??
  • #280 ??
  • #281 ??
  • #282 ??
  • #283 ??
  • #284 ??
  • #285 ??
  • #286 ??
  • #287 ??
  • #288 ??
  • #289 ??
  • #290 ??
  • #291 ??
  • #292 ??
  • #293 ??
  • #294 ??
  • #295 ??
  • #296 ??
  • #297 ??
  • #298 ??
  • #299 ??
  • #300 ??
  • #301 ??
  • #302 ??
  • #303 ??
  • #304 ??
  • #305 ??
  • #306 ??
  • #307 ??
  • #308 ??
  • #309 ??
  • #310 ??
  • #311 ??
  • #312 ??
  • #313 ??
  • #314 ??
  • #315 ??
  • #316 ??
  • #317 ??
  • #318 ??
  • #319 ??
  • #320 ??
  • #321 ??
  • #322 ??
  • #323 ??
  • #324 ??
  • #325 ??
  • #326 ??
  • #327 ??
  • #328 ??
  • #329 ??
  • #330 ??
  • #331 ??
  • #332 ??
  • #333 ??
  • #334 ??
  • #335 ??
  • #336 ??
  • #337 ??
  • #338 ??
  • #339 ??
  • #340 ??
  • #341 ??
  • #342 ??
  • #343 ??
  • #344 ??
  • #345 ??
  • #346 ??
  • #347 ??
  • #348 e_thread_busy
    from /usr/lib/libedataserver-1.2.so.4
  • #349 ??
  • #350 ??
  • #351 ??
  • #352 ??
  • #353 ??
  • #354 ??
  • #355 ??
  • #356 ??
  • #357 ??
  • #358 ??
  • #359 ??
  • #360 ??
  • #361 ??
  • #362 ??
  • #363 ??
  • #364 ??
  • #365 ??
  • #366 ??
  • #367 ??
  • #368 ??
  • #369 ??
  • #370 ??
  • #371 ??
  • #372 ??
  • #373 ??
  • #374 ??
  • #375 ??
  • #376 ??
  • #377 ??
  • #378 ??
  • #379 ??
  • #380 ??
  • #381 ??
  • #382 ??
  • #383 ??
  • #384 ??
  • #385 ??
  • #386 ??
  • #387 ??
  • #388 ??
  • #389 ??
  • #390 ??
  • #391 ??
  • #392 ??
  • #393 ??
  • #394 ??
  • #395 ??
  • #396 ??
  • #397 ??
  • #398 ??
  • #399 ??
  • #400 ??
  • #401 ??
  • #402 ??
  • #403 ??
  • #404 ??
  • #405 ??
  • #406 ??
  • #407 ??
  • #408 ??
  • #409 ??
  • #410 ??
  • #411 ??
  • #412 ??
  • #413 ??
  • #414 ??
  • #415 ??
  • #416 ??
  • #417 ??
  • #418 ??
  • #419 ??
  • #420 ??
  • #421 ??
  • #422 ??
  • #423 ??
  • #424 ??
  • #425 ??
  • #426 ??
  • #427 ??
  • #428 ??
  • #429 ??
  • #430 ??
  • #431 ??
  • #432 ??
  • #433 ??
  • #434 ??
  • #0 raise
    from /lib/libc.so.6


Other information:
Hello,
I am running debian unstable pure64, and I am using evolution 2.2.3-2
I have had the really bad idea to check the option "send a d-bus
message" (or something similar) in the Evolution receiving mail
preferences and now
it crashes immediately at every startup giving me this message:
------------
Failed to connect to the D-BUS daemon: Unable to determine the address
of the message bus
4949: 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.
4949: 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
------------------------
I cannot uncheck that option since the program crashes immediately; I
have looked in my .evolution directory for some preferences file that
I could modify to disable that option, but I haven't found nothing.
The only way I have found to have evolution working again is to remove
the package evolution-plugins, but in this way I am, of course, losing
all other plugins.

The dbus related packages I have installed are:
|/ Name           Version        Description
+++-==============-==============-============================================
ri  dbus-1         0.23.4-6       simple interprocess messaging system
pn  dbus-1-dev     <none>         (no description available)
pn  dbus-1-doc     <none>         (no description available)
ii  dbus-1-utils   0.23.4-6       simple interprocess messaging system (utilit
ri  dbus-glib-1    0.23.4-6       simple interprocess messaging system (GLib-b
pn  dbus-glib-1-de <none>         (no description available)
ri  dbus-qt-1      0.23.4-3       simple interprocess messaging system (Qt-bas
pn  dbus-qt-1-dev  <none>         (no description available)
Comment 1 parthasarathi susarla 2005-08-26 17:16:01 UTC
you could do a couple of things.

1. do a make uninstall only in the new-mail-notify plugin directory
(evolution/plugins/new-mail-notify)
2. or edit gconf entry in apps->evolution->eplugin->disabled and add/append the
id 'org.gnome.evolution.new_mail_notify' and restart evolution. 

should work.
Comment 2 Not Zed 2005-08-29 04:35:38 UTC
if you just run with -c contacts on the command line you will be able to run the
plugin editor to turn it off.

we've fixed any null dereferences and dbus version problems in 2.2.x ages ago,
afaik.
Comment 3 Edward Rudd 2005-09-19 06:05:08 UTC
this is happenning in evolution 2.2.3 and seems to be caused when the
DBUS_SESSION_BUS_ADDRESS and DBUS_SESSION_BUS_PID environment variables are not
set.  The inteum solution is to make sure you have dbus-lanch installed (in
Fedora Core it's in the dbus-x11 package).  dbus-launch is usually launched from
Xsession along with ssh-agent. (at least on fedora core it is..).
Comment 4 parthasarathi susarla 2005-09-29 15:30:46 UTC
hey edward, are you still facing this issue. 
The stack trace provided does not suggest much. Also as mentioned in comment #2
most of the probles in the plugin have been fixed. 

Thanks
Comment 5 Karsten Bräckelmann 2006-01-23 23:04:08 UTC
Hmm, sounds familiar. Looks like Evo fails hard when dbus simply is not available due to whatever reasons and the dbus plugin is enabled.

Evo should fail gracefully, noticing to the user the plugin is not available, and go on. In the case there really is no dbus available.

REOPENing.
Comment 6 parthasarathi susarla 2006-01-25 09:58:06 UTC
This is really a setup issue. If dbus is not available, and the user has installed an rpm with this plugin built in and enabled, there is no way we can check if dbus exists before making a call. 
heck! complications. 
Comment 7 Karsten Bräckelmann 2006-01-25 10:12:31 UTC
Partha, this ain't exactly true. Installing dbus does *not* mean, it definitely will be running. The daemon can be disabled for a lot of reasons. And we can not depend on on packages anyway.

Even worse: Any built plugin will be enabled by *default* AFAIK, since the stored settings holds the disabled plugins. There is no way to disable a plugin that is build/installed before starting Evo. (Short of manually messing around with GConf settings...)
Comment 8 André Klapper 2006-07-05 19:30:08 UTC
i'd like to confirm this.
Comment 9 André Klapper 2012-02-13 11:59:07 UTC
If anybody has time, could you please check again whether this issue still happens in Evolution 3.2.2 or 3.0.3 and update this report by adding a comment and changing the "Version" field and provide information about your distribution? Thanks a lot.
Comment 10 Matthew Barnes 2012-02-13 12:08:38 UTC
If D-Bus isn't behaving properly then Evolution won't start.  That's just a fact, no way around that.  Given that D-Bus is mandatory these days for single-instance detection and communicating with Evolution-Data-Server, I think this should be closed as OBSOLETE.
Comment 11 André Klapper 2012-04-20 12:02:35 UTC
Closing as per last comment.