Bug 52117 - Konsole crashes on startup
Summary: Konsole crashes on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-19 22:20 UTC by Albert Tsai
Modified: 2003-03-04 15:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Tsai 2002-12-19 22:20:30 UTC
Version:            (using KDE KDE 3.0.3)
Installed from:    Mandrake RPMs
Compiler:          gcc-3.2 
OS:          Linux

Konsole crashes if $PATH in .bash_profile contains a non-existant directory.
Ex: PATH=$HOME/bin:$PATH, but there is no /bin in $HOME.

I guess the blame may be put on the user, but handling incorrect $PATH declarations this way seems kind of inelegant.

Even stranger, from previous bug reports it appears that Konsole isn't even supposed to read .bash_profile, or ignores it.

General Tab:
The application Konsole (konsole) crashed and caused the signal 11 (SIGSEGV)

Backtrace Tab:
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x41120739 in wait4 () from 
/lib/i686/libc.so.6
#0  0x41120739 in wait4 () from /lib/i686/libc.so.6
#1  0x4119d340 in sys_sigabbrev () from /lib/i686/libc.so.6
#2  0x40f61a73 in waitpid () from /lib/i686/libpthread.so.0
#3  0x4061ef55 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4

When I call konsole from ETerm, I get this:
$ konsole
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = konsole path = <unknown> pid = 26013
Comment 1 Tim Brown 2003-01-14 00:02:37 UTC
I get almost exactly the same backtrace:   
   
*snipped messages about no debugging symobols*   
(no debugging symbols found)...(no debugging symbols found)...   
(no debugging symbols found)...(no debugging symbols found)...   
(no debugging symbols found)...0x40e21a39 in wait4 () from /lib/libc.so.6   
#0  0x40e21a39 in wait4 () from /lib/libc.so.6   
#1  0x40e94ba0 in sys_sigabbrev () from /lib/libc.so.6   
#2  0x40cb5061 in waitpid () from /lib/libpthread.so.0   
#3  0x4053ba20 in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4   
#4  0x40dae898 in sigaction () from /lib/libc.so.6   
#5  0x41103bae in Konsole::makeGUI () from /usr/lib/konsole.so   
#6  0x4110b533 in Konsole::activateSession () from /usr/lib/konsole.so   
#7  0x4110b187 in Konsole::activateSession () from /usr/lib/konsole.so   
#8  0x4110ab4b in Konsole::runSession () from /usr/lib/konsole.so   
#9  0x4110c7de in Konsole::newSession () from /usr/lib/konsole.so   
#10 0x41103535 in Konsole::Konsole () from /usr/lib/konsole.so   
#11 0x411029d5 in main () from /usr/lib/konsole.so   
#12 0x0804ce66 in strcpy ()   
#13 0x0804dafb in strcpy ()   
#14 0x0804df45 in strcpy ()   
#15 0x0804ed67 in strcpy ()   
#16 0x40d9d9f1 in __libc_start_main () from /lib/libc.so.6   
   
I notice similar bugs which have been traced back to the Qt version.. could be   
the same problem here, the same packages did not crash on another of my   
machines running an older version of Qt - can't be precise as to the version   
as it's now being rebuilt.  This machine currently has the Debian Qt   
3.1.1+cvs.2 package installed.  
  
Additionally, running gdb konsole from an xterm, throws up lots of lines about  
no debugging symbols before throwing the following:  
  
0x407b6747 in QObject::inherits () from /usr/lib/libqt-mt.so.3 
Comment 2 Iraklis Evangelinos 2003-01-20 07:23:30 UTC
Version: KDE 3.0.4 
Operating System: Linux 
Distribution: Debian (Unstable) 
Installation Method: Debian packages (from KDE site) 
 
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...[New Thread 16384 (LWP 364)]  
(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
(no debugging symbols found)...(no debugging symbols found)...  
0x40e1ba39 in wait4 () from /lib/libc.so.6  
#0  0x40e1ba39 in wait4 () from /lib/libc.so.6  
#1  0x40e8eba0 in sys_sigabbrev () from /lib/libc.so.6  
#2  0x40caf061 in waitpid () from /lib/libpthread.so.0  
#3  0x4053aa20 in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4  
#4  0x40da8898 in sigaction () from /lib/libc.so.6  
#5  0x410fbbae in Konsole::makeGUI () from /usr/lib/konsole.so  
#6  0x41103533 in Konsole::activateSession () from /usr/lib/konsole.so  
#7  0x41103187 in Konsole::activateSession () from /usr/lib/konsole.so  
#8  0x41102b4b in Konsole::runSession () from /usr/lib/konsole.so  
#9  0x411047de in Konsole::newSession () from /usr/lib/konsole.so  
#10 0x410fb535 in Konsole::Konsole () from /usr/lib/konsole.so  
#11 0x410fa9d5 in main () from /usr/lib/konsole.so  
#12 0x0804ce66 in strcpy ()  
#13 0x0804dafb in strcpy ()  
#14 0x0804df45 in strcpy ()  
#15 0x0804ed67 in strcpy ()  
#16 0x40d979f1 in __libc_start_main () from /lib/libc.so.6  
 
I have tried to fix the problem by removing the unexistant directories from 
the path. It did not work for both the root account and normal users.  
 
I have both thread (3.1.1+cvs.2002) and non-thread (3.1.1+cvs.2002) QT3 
installed on my system.  
 
  
 
Comment 3 Stephan Binner 2003-01-23 13:04:35 UTC
Is anyone reading more than the bug report title? Comment 1 and comment 2 are 
totally different to the original report. 
Comment 4 Stephan Binner 2003-03-04 15:55:27 UTC
Cannot reproduce this.