Bug 233167 - Konsole crash after commandline scrollback
Summary: Konsole crash after commandline scrollback
Status: RESOLVED DOWNSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.4.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-03 14:18 UTC by jozzek
Modified: 2010-11-09 19:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jozzek 2010-04-03 14:18:56 UTC
Application: konsole (2.4.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.10-90.fc12.i686.PAE i686
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
Probable cause: Konsole buffer commandline over/underflow.

Line buffer is as I can remember 10000 lines in size, kept from previous KDE versions (still from fc11 4.3.x), that's probably the most important piece of information. It was set up to this size in 4.1 as this is quite fine solution for me (I tend to forget things & tricks).

First, I ran in Konsole (by typing):

su -c " yum update --skip-broken --merge-conf"

This was succesfull, without any problems. Latest updatest I checked for were yesterday and there were none on the list. After that:

blah# yum list ma* mb* mc* md* me* mf* mg* mh* mi* mj* mk* ml* mm* mn* mo* mp* mq* mr* ms* mt* mu* mv* mw* mx* mz* m0* m1* m3* m4* m5* m6* m7* m8* m9*

To run this command, it was needed to dig around 20-30, maybe 40 steps back into commandline buffer. When I was typing the next one, Konsole was on the last printing line of the screen, but that probably doesn't matter as Konsole had similar crashes which were internally somehow controlled, but cursor just lost focus or buffer was partially eradicated (half of line or so). After quiting/killing and restarting Konsole in such cases everything looked and went fine. 

I assume that the best solution would be for now stop using Konsole (at least latest and greatest hit) in drKonqi to install debuginfo. There should be used at least far more tested barebone version.

Nice hunting.

 -- Backtrace:
Application: Konzola (konsole), signal: Aborted
[KCrash Handler]
#6  0x00871416 in __kernel_vsyscall ()
#7  0x00472a91 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0047435a in abort () at abort.c:92
#9  0x00d57a77 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:93
#10 0x00d558f6 in __cxxabiv1::__terminate (handler=0xd57910 <__gnu_cxx::__verbose_terminate_handler()>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:38
#11 0x00d55933 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#12 0x00d559ec in __cxxabiv1::__cxa_rethrow () at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:116
#13 0x07442787 in QEventLoop::exec (this=0xbfa55b74, flags=...) at kernel/qeventloop.cpp:214
#14 0x07444ce7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#15 0x04588dd8 in QApplication::exec () at kernel/qapplication.cpp:3579
#16 0x00443c7e in kdemain (argc=1, argv=0xbfa55d54) at /usr/src/debug/kdebase-4.4.1/apps/konsole/src/main.cpp:77
#17 0x080486dc in main (argc=1, argv=0xbfa55d54) at /usr/src/debug/kdebase-4.4.1/i686-redhat-linux-gnu/apps/konsole/src/konsole_dummy.cpp:3

Possible duplicates by query: bug 218998, bug 190535.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-11-09 19:23:37 UTC
I am closing the following bugs as downstream:

231982, 233167, 233309, 234129, 234158, 234233, 234288, 234338

All bugs share the following properties:
- Qt 4.6.2
- KDE 4.4.1
- Fedora packages
- Crash because of a thrown exception.

Since we did not receive this combination any time later, I assume it was a Fedora specific bug.