(*** This bug was imported into bugs.kde.org ***) Package: konsole Version: 1.1.99 (KDE 2.0) Severity: normal Compiler: gcc version 2.95.2 19991024 (release) OS: FreeBSD 4.1.1-STABLE i386 (compiled sources) kconsole crashes on start every time (no debugging symbols found)...0x28dcc2e8 in wait4 () from /usr/lib/libc.so.4 #0 0x28dcc2e8 in wait4 () from /usr/lib/libc.so.4 #1 0x28dbdbbb in waitpid () from /usr/lib/libc.so.4 #2 0x28bc0254 in KCrash::defaultCrashHandler () from /usr/local/lib/libkdecore.so.4 #3 0xbfbfffac in ?? () #4 0x29017a2e in TEPty::makePty () from /usr/local/lib/libkonsolepart.so #5 0x29017deb in TEPty::commSetupDoneC () from /usr/local/lib/libkonsolepart.so #6 0x28b7e0f8 in KProcess::start () from /usr/local/lib/libkdecore.so.4 #7 0x290176b3 in TEPty::run () from /usr/local/lib/libkonsolepart.so #8 0x2901956c in TESession::run () from /usr/local/lib/libkonsolepart.so #9 0x282d934b in QObject::activate_signal () from /usr/X11R6/lib/libqt2.so #10 0x2834ca6e in QSignal::activate () from /usr/X11R6/lib/libqt2.so #11 0x2835896b in QSingleShotTimer::event () from /usr/X11R6/lib/libqt2.so #12 0x28224136 in QApplication::notify () from /usr/X11R6/lib/libqt2.so #13 0x28b6f193 in KApplication::notify () from /usr/local/lib/libkdecore.so.4 #14 0x281dc6e1 in qt_activate_timers () from /usr/X11R6/lib/libqt2.so #15 0x281d9e16 in QApplication::processNextEvent () from /usr/X11R6/lib/libqt2.so #16 0x28226e23 in QApplication::enter_loop () from /usr/X11R6/lib/libqt2.so #17 0x281d8f73 in QApplication::exec () from /usr/X11R6/lib/libqt2.so #18 0x28ff41cb in main () from /usr/local/lib/konsole.so #19 0x804a3e1 in _start () #20 0x804ac59 in _start () #21 0x804b048 in _start () #22 0x804c0b6 in main () #23 0x8049d45 in _start ()
This is a multi-part message in MIME format. --------------81EC85BB1CC002E0E941C5AC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mark Rowlands wrote: > > Package: konsole > Version: 1.1.99 (KDE 2.0) > Severity: normal > Compiler: gcc version 2.95.2 19991024 (release) > OS: FreeBSD 4.1.1-STABLE i386 (compiled sources) > Hi! Can you try if following patch helps you? If it doesn't please recompile with --enable-debug Thanks Stephan > kconsole crashes on start every time > > (no debugging symbols found)...0x28dcc2e8 in wait4 () from /usr/lib/libc.so.4 > #0 0x28dcc2e8 in wait4 () from /usr/lib/libc.so.4 > #1 0x28dbdbbb in waitpid () from /usr/lib/libc.so.4 > #2 0x28bc0254 in KCrash::defaultCrashHandler () > from /usr/local/lib/libkdecore.so.4 > #3 0xbfbfffac in ?? () > #4 0x29017a2e in TEPty::makePty () from /usr/local/lib/libkonsolepart.so > #5 0x29017deb in TEPty::commSetupDoneC () > from /usr/local/lib/libkonsolepart.so > #6 0x28b7e0f8 in KProcess::start () from /usr/local/lib/libkdecore.so.4 > #7 0x290176b3 in TEPty::run () from /usr/local/lib/libkonsolepart.so > #8 0x2901956c in TESession::run () from /usr/local/lib/libkonsolepart.so > #9 0x282d934b in QObject::activate_signal () from /usr/X11R6/lib/libqt2.so > #10 0x2834ca6e in QSignal::activate () from /usr/X11R6/lib/libqt2.so > #11 0x2835896b in QSingleShotTimer::event () from /usr/X11R6/lib/libqt2.so > #12 0x28224136 in QApplication::notify () from /usr/X11R6/lib/libqt2.so > #13 0x28b6f193 in KApplication::notify () from /usr/local/lib/libkdecore.so.4 > #14 0x281dc6e1 in qt_activate_timers () from /usr/X11R6/lib/libqt2.so > #15 0x281d9e16 in QApplication::processNextEvent () > from /usr/X11R6/lib/libqt2.so > #16 0x28226e23 in QApplication::enter_loop () from /usr/X11R6/lib/libqt2.so > #17 0x281d8f73 in QApplication::exec () from /usr/X11R6/lib/libqt2.so > #18 0x28ff41cb in main () from /usr/local/lib/konsole.so > #19 0x804a3e1 in _start () > #20 0x804ac59 in _start () > #21 0x804b048 in _start () > #22 0x804c0b6 in main () > #23 0x8049d45 in _start () -- Frauen und Maenner passen vielleicht nicht zusammen aber meine allerschoensten Schrammen habe ich mir bei diesem Duell geholt. -- Reinhard Mey --------------81EC85BB1CC002E0E941C5AC Content-Type: text/plain; charset=us-ascii; name="konsolepatch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="konsolepatch" Index: TEPty.C =================================================================== RCS file: /home/kde/kdebase/konsole/src/TEPty.Cv retrieving revision 1.26 retrieving revision 1.27 diff -u -b -u -r1.26 -r1.27 --- TEPty.C2000/10/25 18:57:461.26 +++ TEPty.C2000/10/26 12:10:411.27 @@ -2979 +29716 @@ #endif if (ptyfd >= 0) { + char *ptsn = ptsname(ptyfd); + if (ptsn) { strncpy(ttynam ptsname(ptyfd) 50); grantpt(ptyfd); needGrantPty = FALSE; + } else { + perror("ptsname"); + close(ptyfd); + ptyfd = -1; + } } } #endif cvs diff -b -u -r1.26 -r1.27 TEPty.C --------------81EC85BB1CC002E0E941C5AC--
Please re-submit if still an issue.