Bug 24418 - konsole crash on wrong or different schema= line
Summary: konsole crash on wrong or different schema= line
Status: CLOSED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-19 23:48 UTC by Michael Driscoll
Modified: 2002-09-16 14:43 UTC (History)
0 users

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 Michael Driscoll 2001-04-19 23:33:10 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           konsole
Version:           KDE 2.2.0 CVS/CVSup/Snapshot
Severity:          normal
Installed from:    Compiled sources
Compiler:          gcc-2.95.3
OS:                Linux
OS/Compiler notes: Linux 2.4.3

Finally figured out why konsole had been crashing every time I clicked 'New' to start a new session...

In .kde/share/config/konsolerc if schema= points to a no-longer existant file konsole will crash on startup.

If schema= points to an existing file which isn't in $KDEDIR konsole will crash when starting a new session.  (It was pointing to my schema from my 2.1.1 installation).

Here is the trace:

0x40bf9459 in __wait4 () from /lib/libc.so.6
#0  0x40bf9459 in __wait4 () from /lib/libc.so.6
#1  0x40c64104 in __DTOR_END__ () from /lib/libc.so.6
#2  0x40449d08 in KCrash::defaultCrashHandler () at eval.c:88
#3  <signal handler called>
#4  ColorSchema::numb (this=0x0) at ../include/schema.h:149
#5  0x805d00f in Konsole::newSession (this=0x80dc658 co=0x81134e0) at konsole.C:1264
#6  0x805cd14 in Konsole::newSession (this=0x80dc658 i=1) at konsole.C:1231
#7  0x805cccf in Konsole::newSession (this=0x80dc658) at konsole.C:1213
#8  0x406d34dd in QObject::activate_signal () from /usr/local/qt/lib/libqt.so.2
#9  0x402b2f19 in KAction::activated () at eval.c:88
#10 0x402a5176 in KAction::slotActivated () at eval.c:88
#11 0x406d34dd in QObject::activate_signal () from /usr/local/qt/lib/libqt.so.2
#12 0x407e390d in QButton::clicked () from /usr/local/qt/lib/libqt.so.2
#13 0x40733728 in QButton::mouseReleaseEvent () from /usr/local/qt/lib/libqt.so.2
#14 0x40719943 in QWidget::event () from /usr/local/qt/lib/libqt.so.2
#15 0x4068141b in QApplication::notify () from /usr/local/qt/lib/libqt.so.2
#16 0x403baaf6 in KApplication::notify () at eval.c:88
#17 0x4065187c in QETWidget::translateMouseEvent () from /usr/local/qt/lib/libqt.so.2
#18 0x4064f130 in QApplication::x11ProcessEvent () from /usr/local/qt/lib/libqt.so.2
#19 0x4064e130 in QApplication::processNextEvent () from /usr/local/qt/lib/libqt.so.2
#20 0x40683183 in QApplication::enter_loop () from /usr/local/qt/lib/libqt.so.2
#21 0x4064e0ae in QApplication::exec () from /usr/local/qt/lib/libqt.so.2
#22 0x80574aa in main (argc=6 argv=0xbffff77c) at main.C:253
#23 0x40b7126a in __libc_start_main (main=0x80568b0 <main> argc=6 ubp_av=0xbffff77c init=0x8052718 <_init> fini=0x807acf0 <_fini> rtld_fini=0x4000da44 <_dl_fini> stack_end=0xbffff76c) at ../sysdeps/generic/libc-start.c:129i

(Submitted via bugs.kde.org)
Comment 1 Stephan Kulow 2001-04-20 07:58:53 UTC
On Friday 20. April 2001 01:33 fenris@ulf.edgemail.com wrote:
> Package: konsole
> Version: KDE 2.2.0 CVS/CVSup/Snapshot
> Severity: normal
> Installed from:    Compiled sources
> Compiler:          gcc-2.95.3
> OS:                Linux
> OS/Compiler notes: Linux 2.4.3
>
> Finally figured out why konsole had been crashing every time I clicked
> 'New' to start a new session...
>
> In .kde/share/config/konsolerc if schema= points to a no-longer existant
> file konsole will crash on startup.
>
> If schema= points to an existing file which isn't in $KDEDIR konsole will
> crash when starting a new session.  (It was pointing to my schema from my
> 2.1.1 installation).
>
> Here is the trace:
>
> 0x40bf9459 in __wait4 () from /lib/libc.so.6
> #0  0x40bf9459 in __wait4 () from /lib/libc.so.6
> #1  0x40c64104 in __DTOR_END__ () from /lib/libc.so.6
> #2  0x40449d08 in KCrash::defaultCrashHandler () at eval.c:88
> #3  <signal handler called>
> #4  ColorSchema::numb (this=0x0) at ../include/schema.h:149

Fixed

Greetings Stephan

-- 
People in cars cause accidents. Accidents in cars cause people.