sometimes drkonqi endless prompts to [Install Debug Symbols] and is never satisfied

Bug #948664 reported by skierpage
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kubuntu-debug-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm running Kubuntu 12.04 alpha2 amd64 with all the daily System Updates.
Qt: 4.8.0
KDE Development Platform: 4.8.00 (4.8.0
The KDE Crash Handler: 2.1.5

Sometimes the KDE Crash Handler runs. I try to help, so I click [Report Bug]. Then the KDE Crash Reporting Assistant pops up, takes time generating a backtrace, and says "The generated crash information is probably not useful". So I click [Install Debug Symbols]. After entering password to install debug libraries, eventually it goes back to Fetching the Backtrace.

This is all fine. But in several situations, I'm back to "The generated crash information is probably not useful" and the button to [Install Debug Symbols]. And if I click the button I never progress!

The most recent example was a crash in apport-kde itself, see bug #948656. If I click the link (_list of files_) I get a dialog
  The packages containing debug information for the following application and libraries are missing:
  * /usr/bin/python2.7

but
a) I have python-dbg Version: 2.7.2-9ubuntu2 installed
b) I know I've got stuck in this endless loop before

Expected results:
drkonqi should realize the user has installed the debug packages and it's still not a useful backtrace and so STOP with something like "The crash information is still not useful, but thanks anyway. _Reason_" (and if you click on _Reason_ it says "Can't get debug information for xxx")

Philip Muškovac (yofel)
affects: kdebase-runtime (Ubuntu) → kubuntu-debug-installer (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kubuntu-debug-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Joshua Taylor (joshuaaaron+lp) wrote :
Download full text (4.4 KiB)

I've been trying to run drkonqi manually to connect to a running kate, and getting the same sort of problem. E.g.,

$ /usr/lib/kde4/libexec/drkonqi --pid 23327 --bugaddress <myemailaddress> --signal 1 --appname "appname" --programname "programname" --apppath "/appath" --appversion "appversion"

I can view the stacktrace, though "The generated crash information is not useful." When I click "list of files" (under "install the needed packages (list of files) and click the /Reload/ button."), a dialog appears: "The packages containing debug information for the following applications and libraries are missing: /usr/bin/kate", but I have already installed kate-dbg. Just the same I have tried "Install Debug Symbols" which presents a progress dialog for a while, then generates a new backtrace (the same as the existing one). There is console output at this point:

87 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.

The generated trace follows, and the only ?? appearances are for libQtScript (for which there don't seem to be debug packages). I'm not sure which packages drkonqi actually wants to install, nor why.

Application: programname (kate), signal: Hangup
[Current thread is 1 (Thread 0x7f9f3da7b780 (LWP 23327))]

Thread 3 (Thread 0x7f9f297cc700 (LWP 23329)):
#0 0x00007f9f3d3b5473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f9f3a50ef68 in g_main_context_poll (n_fds=3, fds=0x7b3bc0, timeout=-1, context=0x81bde0, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2 g_main_context_iterate (context=0x81bde0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3 0x00007f9f3a50f792 in g_main_loop_run (loop=0x81bd90) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3297
#4 0x00007f9f31b5c516 in gdbus_shared_thread_func (user_data=0x81bdb0) at /build/buildd/glib2.0-2.30.0/./gio/gdbusprivate.c:276
#5 0x00007f9f3a5342b6 in g_thread_create_proxy (data=0x81bed0) at /build/buildd/glib2.0-2.30.0/./glib/gthread.c:1962
#6 0x00007f9f3a9e0efc in start_thread (arg=0x7f9f297cc700) at pthread_create.c:304
#7 0x00007f9f3d3c159d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9f22775700 (LWP 23330)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f9f23613fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2 0x00007f9f23614019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3 0x00007f9f3a9e0efc in start_thread (arg=0x7f9f22775700) at pthread_create.c:304
#4 0x00007f9f3d3c159d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9f3da7b780 (LWP 23327)):
#0 0x00007f9f3d3b5473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f9f3a50ef68 in g_main_context_poll (n_fds=9, fds=0xf04ec0, timeout=-1, context=0x6bc4e0, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./g...

Read more...

Revision history for this message
Joshua Taylor (joshuaaaron+lp) wrote :

Sorry, should have included some system information:

$ /usr/lib/kde4/libexec/drkonqi --version
Qt: 4.7.4
KDE Development Platform: 4.7.4 (4.7.4)
The KDE Crash Handler: 2.1.5

$ uname -a
Linux ubuntu 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

And I've just update and dist-upgraded.

Revision history for this message
canavan (rainer-ubuntu) wrote :

I believe I've stumbled accross the same problem with Kubuntu 15.04, but I've reported it to drkonqi tracker (where it has been closed by now) https://bugs.kde.org/show_bug.cgi?id=346545

I still find it surprising that the installer fails to install kdelibs5-dbg

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.