Bug 75546

Summary: hiding tab bar crashes programs
Product: [Applications] konsole Reporter: Mathijs Vogelzang <thijser>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mathijs Vogelzang 2004-02-18 20:18:57 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
Compiler:          3.3.1 
OS:          Linux

When I start a console program that stays running (e.g. top or iptraf) and then hide the tab bar when it was there, or show it when it was hidden, the running program crashes.
Comment 1 Stephan Binner 2004-02-21 09:52:01 UTC
What crashes? Konsole, backtrace? Or top/iptraf?
Comment 2 Mathijs Vogelzang 2004-02-21 21:34:02 UTC
top/iptraf give a segfault.
Is the resizing of the console not communicated properly to the running program?
Comment 3 Stephan Binner 2004-02-24 21:29:57 UTC
Dunno, can't reproduce it.
Comment 4 Stephan Binner 2004-05-01 20:41:14 UTC
Watched this now when trying very very often:

==6594== Conditional jump or move depends on uninitialised value(s)
==6594==    at 0x804C4A3: (within /usr/bin/top)
==6594==    by 0x804D995: (within /usr/bin/top)
==6594==    by 0x8050041: (within /usr/bin/top)
==6594==    by 0x402BF9B1: __libc_start_main (in /lib/libc.so.6)
==6594==
==6594== Invalid read of size 1
==6594==    at 0x402938BA: tputs (in /lib/libncurses.so.5.4)
==6594==    by 0x40293ABF: putp (in /lib/libncurses.so.5.4)
==6594==    by 0x804C4B0: (within /usr/bin/top)
==6594==    by 0x804D995: (within /usr/bin/top)
==6594==    Address 0x411A2B5B is not stack'd, malloc'd or free'd
==6594==
==6594== Invalid read of size 1
==6594==    at 0x402938C7: tputs (in /lib/libncurses.so.5.4)
==6594==    by 0x40293ABF: putp (in /lib/libncurses.so.5.4)
==6594==    by 0x804C4B0: (within /usr/bin/top)
==6594==    by 0x804D995: (within /usr/bin/top)
==6594==    Address 0x411A2B5C is not stack'd, malloc'd or free'd
Comment 5 Kurt Hindenburg 2004-05-02 00:49:39 UTC
Unhiding the tabbar causing all open tab to have messed up displays.  A few of the tab titles are also messed up.  I would say there is a bigger problem than just crashing programs when hiding/unhiding.  This is under 3.2.2.
Comment 6 Kurt Hindenburg 2005-01-26 16:48:51 UTC
This is fixed in KDE3.4.  Reopen if you can reproduce in 3.4beta/final.