Summary: | x11-libs/qt-dbus: using async dbus while dbus isn't available crashes your app | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Bahrdt <daniel.bugs.gentoo.org> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Fixes the bug in qt-dbus |
Description
Daniel Bahrdt
2009-06-24 10:19:51 UTC
Created attachment 195644 [details, diff]
Fixes the bug in qt-dbus
This should fix the bug (at least it worked for me)
Can you report this bug on qt tracker as well? Thanks http://www.qtsoftware.com/developer/task-tracker Done. I'll post the bug-id when they send me one (at least I haven't found one after reporting). Any updates here? (In reply to comment #4) > Any updates here? > Not yet. They didn't send me a bug-id. I don't think they've fixed it yet (in 4.5.3), though I didn't have a close look at it. I'll test it later (have to emerge qt-4.5.3 and that takes some time @1.73ghz). Could you attach a test case which reproduces the crash? Otherwise please explain how to reproduce it... (In reply to comment #6) > Could you attach a test case which reproduces the crash? Otherwise please > explain how to reproduce it... > Hi, I guess there's a very easy way to reproduce this (though im not 100% sure it's the same bug). Have KDE4 running, xorg without hal and as root kill dbus (killall dbus-daemon). Have fun. At least on my box with qt-4.5.3 it crashed almost all kde4 apps with a segfault (that's why I guess that it's the same bug or at least they're some kind of equal as both occure in the async dbus implementation). You might have to wait some time (about 30 seconds). I'll recompile qt with this patch next week. OK, I could reproduce with Qt 4.6.1, although the backtrace looked quite different. Daniel, can you retry opening a bug upstream please? This time use their new bug tracker at http://bugreports.qt.nokia.com/secure/Dashboard.jspa (In reply to comment #8) > OK, I could reproduce with Qt 4.6.1, although the backtrace looked quite > different. > Daniel, can you retry opening a bug upstream please? This time use their new > bug tracker at http://bugreports.qt.nokia.com/secure/Dashboard.jspa > I have checked the source of qt-4.5.3 and qt seemed to have fixed this particular bug. The problem is somewhere else now. I'll create a backtrace and report this upstream. Great, thanks. That explains why I was seeing different backtraces. Anyway I guess most applications don't expect the dbus daemon to crash... Nothing we can do here, this must be fixed upstream. |