[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [Fwd: Bug#9349: kedit crash when started from menu]
From:       Don Sanders <sanders () kde ! org>
Date:       2000-08-30 22:07:03
[Download RAW message or body]

On Wed, 30 Aug 2000, Waldo Bastian wrote:
> On Tue, 29 Aug 2000, Harri Porten forwarded:
> > I had similar problem when starting kedit >= 20000813 from the K menu. It
> > would crash on startup. If launched from console command-line, it started
> > OK. I found that kedit was started with command line options when run
> > from menu : kedit -caption "%c" %i %m %u
> > The %i option causes the crash. It does not cause a crash if specified in
> > konsole command line, but it opens 2 kedit windows.
> > 	I am almost certain that the same thing happened when compiled with the
> > --enable-debug option, but I have not kept a copy of trace ( sorry ! ). I
> > normally compile with only --prefix=/opt/kde1.93 option. I hope this is
> > of some help, if it's not already sorted.
> > 				rfjak@eircom.net
>
> I can't reproduce this. Works fine here.
>
> Can you send the output of "ldd kdeinit"?
>
> Cheers,
> Waldo

I experience the same problem.

> ldd ~/kde2/bin/kdeinit
        libDCOP.so.1 => /home/sanders/kde2/lib/libDCOP.so.1 (0x40015000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40033000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4003c000)
        libkparts.so.1 => /home/sanders/kde2/lib/libkparts.so.1 (0x40053000)
        libkfile.so.3 => /home/sanders/kde2/lib/libkfile.so.3 (0x40080000)
        libksycoca.so.3 => /home/sanders/kde2/lib/libksycoca.so.3 (0x4010a000)
        libkio.so.3 => /home/sanders/kde2/lib/libkio.so.3 (0x40187000)
        libkdeui.so.3 => /home/sanders/kde2/lib/libkdeui.so.3 (0x40205000)
        libkdesu.so.1 => /home/sanders/kde2/lib/libkdesu.so.1 (0x403fc000)
        libkdecore.so.3 => /home/sanders/kde2/lib/libkdecore.so.3 (0x4040e000)
        libdl.so.2 => /lib/libdl.so.2 (0x40508000)
        libqt.so.2 => /home/sanders/qt/lib/libqt.so.2 (0x4050b000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40c99000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40cb7000)
        libjpeg.so.6 => /usr/lib/libjpeg.so.6 (0x40cc7000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40ceb000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40cf7000)
        libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 
(0x40d9d000)
        libutil.so.1 => /lib/libutil.so.1 (0x40de5000)
        libm.so.6 => /lib/libm.so.6 (0x40de8000)
        libc.so.6 => /lib/libc.so.6 (0x40e05000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)  

Here is a backtrace generated by DrKonqi:
0x40eb5269 in __wait4 () from /lib/libc.so.6
#0  0x40eb5269 in __wait4 () from /lib/libc.so.6
#1  0x40f15ff8 in __DTOR_END__ () from /lib/libc.so.6
#2  0x404a8acd in KCrash::defaultCrashHandler (signal=11)
    at ../../kdelibs/kdecore/kcrash.cpp:188
#3  0x40e3eb18 in __restore ()
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c:125
#4  0x40a3769c in QWidget::isVisible (this=0x400) at kernel/qwidget.h:725
#5  0x403067f9 in KTMainWindow::enableToolBar (this=0x80c0fd0, stat=Show, 
id=0)
    at ../../kdelibs/kdeui/ktmainwindow.cpp:69
#6  0x40030824 in TopLevel::readSettings (this=0x80c0fd0)
    at ../../kdeutils/kedit/kedit.cpp:1476
#7  0x4002a99d in TopLevel::TopLevel (this=0x80c0fd0, __in_chrg=1, name=0x0)
    at ../../kdeutils/kedit/kedit.cpp:94
#8  0x40031be2 in main (argc=7, argv=0xbffff544)
    at ../../kdeutils/kedit/kedit.cpp:1654

If I remove all three of the %i %m %u options (not just the %i) it works ok.

I can probably look into it this weekend if you can't reproduce it.

BFN,
Don.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic