User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.8) Gecko/20061118 (Debian-1.8.0.8-1) Epiphany/2.14 Build Identifier: Hi, I have a weird problem with Terminal, not easily reproducible. On my macintosh running Debian ppc I use Terminal rc2, and since a long time (well I guess since the first version with dbus support), when I exit the last instance of Terminal, other dbus apps just crash. Currently, it means epiphany, evolution(-alarm-notify) and nm-applet. It's quite a pain, but I can't reproduce on my other boxes running same software, and as nobody reported a bug, I guess I'm the only one having this. I'm not really sure the bug is in Terminal, maybe it's my dbus config, but as the bug is triggered when I exit Terminal, I guessed you could help me on this. dbus-monitor launched on a xterm when the bug occurs doesn't show anything, but if you need some other debug logs from other apps, just ask. I guess this is related to exo-open-browser method, or even just the browser code in Terminal, because it's triggered when I use the right clic / open link. Sorry if I just lose your time, but it's pretty annoying there :/ Reproducible: Sometimes Steps to Reproduce: Even on this box it's sometime hard to reproduce. I tried with a fresh user, and these steps are always reproducible: 0. xfdesktop is launched, it displays desktop icons (files & folders) 1. run a Terminal (Terminal1) 2. open an url from this terminal (browser is set to "Default Xfce Browser" and in Preferred Applications, epiphany is selected) 3. run a Terminal (Terminal2) 4. exit Terminal1 5. exit Terminal2 6. observe icons disappear: xfdesktop has crashed. I have the output of dbus.log from this session, if it's useful. Actual Results: dbus apps which where running before Terminal1 is run crash. I guess the bug is somewhat related to the browser code, but can't really tell what's happening. It occurs only on my macintosh, I don't think it's ppc related but maybe, so I'll ask someone else to test it on his mac.
Cyril Brulebois, on #debian-xfce freenode channel, could reproduce it (and me too), using the following steps: 1. xfdesktop & 2. Terminal & 3. Terminal & 4. Close Terminal1 5. Clost Terminal2 => xfdesktop SEGV I have a backtrace that I'll attach to the BR. The crash seems to be in dbus_g_method_return_error() but I don't know if I should report this to dbus or if it's ok there (because I don't know how to reproduce without Terminal..) If you need anything more, please ask.
Created attachment 894 backtrace from xfdesktop crash
That's definitely a bug in D-Bus then, because Terminal simply use the D-Bus library and so its the D-Bus library that is able to crash unrelated apps. BTW: The exo-open/exo-helper code doesn't use D-Bus at all. You can try to monitor the D-Bus traffic, or even run the session daemon in verbose mode, to see what's happening.
With the last comment I'd say that it has eventually nothing to do with browser code. Just running xdesktop then two terminal then closing in following the "right" order makes xfdesktop crash. (even without any session management program running) It happens only on ppc, and only on closing Terminal. Does it "sends" a dbus message at exit or something like that, that libdbus couldn't deal with ? Maybe some endianness problem ? I can't currently reproduce this without using Terminal, but I'll try again.
See for yourself: http://svn.xfce.org/svn/xfce/terminal/trunk/terminal/terminal-dbus.c This is everything D-Bus-related that Terminal does.