Summary: | Konsole crashing with specialized title strings | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | wjhns25 |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | adaptee |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
wjhns25
2012-04-11 00:28:18 UTC
Thanks for reporting. I haven't managed to reproduce it so far. What is the exact version of konsole and KDE? Please paste the result of "LANG=en konsole --version" . Do you have the debuginfo installed? The backtrace seems to miss some important information. Qt: 4.8.0 KDE Development Platform: 4.8.1 (4.8.1) Konsole: 2.8.1 (fedora 16 rpms) I actually had installed the debug info but I think the fedora packaging doesn't have a debug compile for konsole itself (just the kde stuff above it). I don't think reproducing it will be easy. It only happens once every other day or so and I think it's a timing issue. EG, maybe a slot is getting fired right when the application name goes to empty or something. I'm guessing randomly, as I haven't looked at the konsole code at all. [you know, somewhere there is a new tool waiting to be written that lets programmers not only have the debug stuff but also a stack trace and pulls the right file from the web and shows them exactly where it crashed, variables, and lets them create a possible patch at the same time. The biggest problem with looking at new code is getting it and finding the right place to look] OK, hope I can reproduce it in the comming days. Another question is: does konsole crash more often when using that specific tab title format than using other tab title formats ? Actually, I think fedora does ship the debugging symbols and correspoding code of konsole in the package named as konsole-debuginfo. Did you enable the corresponding repository? Good question, I'm not positive. The problem is that I changed the title format at a time very near when I also had done an update to Fedora itself. So it could, in theory, be the version number change. But there was enough of a gap between the fedora upgrade to the title change that I'm pretty sure it's the title change. Re Fedora: normally you'd be right. Except that doesn't seem to be the case for the konsole packaging (which is odd). These are the only konsole repos: konsole-part.x86_64 : Konsole kpart plugin quadkonsole.x86_64 : Embeds Konsole kparts in a grid layout konsole.x86_64 : KDE Terminal emulator You need to enable the Debug repository to see and get the konsole-debuginfo package, like this one: http://mirrors.163.com/fedora/releases/16/Everything/i386/debug/konsole-debuginfo-4.7.2-1.fc16.i686.rpm I only use fedora occasionally for testing, so I'm not sure the recommended way of enabling it . I myself just play with /etc/yum.repos.d/fedora*.repo Found it... my updates-debug repo was disabled. I'll go install it and hopefully get a better backtrace, thanks. Got a better stack trace, that points to the SSH half of things: Application: Konsole (konsole), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [KCrash Handler] #6 0x0000003d6dac6397 in QString::operator=(QString const&) () from /usr/lib64/libQtCore.so.4 #7 0x00000034fd878a94 in Konsole::SSHProcessInfo::SSHProcessInfo (this=0x7fffa32da950, process=<optimized out>) at /usr/src/debug/konsole-4.8.1/src/ProcessInfo.cpp:1043 #8 0x00000034fd8894dd in Konsole::Session::getDynamicTitle (this=0xf1fa50) at /usr/src/debug/konsole-4.8.1/src/Session.cpp:1005 #9 0x00000034fd892b75 in Konsole::SessionController::snapshot (this=0x11bc7d0) at /usr/src/debug/konsole-4.8.1/src/SessionController.cpp:204 #10 0x00000034fd897e6a in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/konsole-4.8.1/x86_64-redhat-linux-gnu/src/SessionController.moc:164 #11 Konsole::SessionController::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/konsole-4.8.1/x86_64-redhat-linux-gnu/src/SessionController.moc:121 #12 0x0000003d6db8cce1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #13 0x0000003d6db91c49 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4 #14 0x0000003d701c9994 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #15 0x0000003d701ce813 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #16 0x00000034fb451d56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #17 0x0000003d6db7904c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #18 0x0000003d6dba9b52 in ?? () from /usr/lib64/libQtCore.so.4 #19 0x0000003d6dba752d in ?? () from /usr/lib64/libQtCore.so.4 #20 0x0000003d6dba7551 in ?? () from /usr/lib64/libQtCore.so.4 #21 0x000000366ac44acd in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #22 0x000000366ac452c8 in ?? () from /lib64/libglib-2.0.so.0 #23 0x000000366ac4549c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #24 0x0000003d6dba7d5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #25 0x0000003d7026c66e in ?? () from /usr/lib64/libQtGui.so.4 #26 0x0000003d6db78182 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #27 0x0000003d6db783d7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #28 0x0000003d6db7cdd5 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #29 0x00000034fd413fd2 in kdemain (argc=5, argv=0x7fffa32db7d8) at /usr/src/debug/konsole-4.8.1/src/main.cpp:89 #30 0x000000366b02169d in __libc_start_main () from /lib64/libc.so.6 #31 0x00000000004007b1 in _start () (In reply to comment #7) > Got a better stack trace, that points to the SSH half of things: Thanks for the backtrace. This crash looks like the same as the one in bug 27156 (fixed in 4.8.2). What is the exact form of the executed ssh command? I actually don't know the command executed. That's actually the problem, as I rarely remember when it crashes what caused it as it doesn't seem directly tied to just what I was doing. I suspect it may have been a remote 'ssh somewhere do_something' command that had just ended. PS the bug you linked to was in kmail, not konsole? (In reply to comment #10) > PS the bug you linked to was in kmail, not konsole? Sorry, missing one digit. Should be bug 297156. I'm makring this as duplicate of bug 297156, because I'm quite sure they are caused by the same problem. Please try to upgrade to konsole 2.8.2 *** This bug has been marked as a duplicate of bug 297156 *** Ok, thanks and I appreciate the help (and the wonderful k/console!) |