Strange crash in kAction::initPrivate

Andreas Zehender zehender at kde.org
Tue Feb 18 06:19:49 GMT 2003


Hi!

I go a bug report (#54594) that KPovModeler crashes on startup. I searched the 
message archive and found a similar crash report for noatun and kaboodle 
(http://lists.kde.org/?l=kde-devel&m=103653854417393&w=2)

I don't think that the program is buggy, there are only some simple new calls 
until the program crashes. AND: If I preview a kpm scene in the konqueror, 
the part loads correctly. Maybe the problem is already known or you have an 
idea.

I have two users that have this problem, one of them solved the crash by 
linking the whole program into the executeable and not using the part lib.

The users system:
Debian "testing", 2.4.19 
KDE 3.1.0, compiled fron sources
Qt 3.1.1
gcc 3.21

Here is the backtrace:

[New Thread 1024 (LWP 14108)]
0x415b5609 in wait4 () from /lib/libc.so.6
#0  0x415b5609 in wait4 () from /lib/libc.so.6
#1  0x4162add0 in __check_rhosts_file () from /lib/libc.so.6
#2  0x413ffeeb in waitpid () from /lib/libpthread.so.0
#3  0x40b4ed1c in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:235
#4  0x413fda44 in pthread_sighandler () from /lib/libpthread.so.0
#5  0x4153e518 in sigaction () from /lib/libc.so.6
#6  0x40882535 in KAction::initPrivate(QString const&, KShortcut const&,
QObject const*, char const*) (this=0x80d68b8, text=@0xfffffe00,
cut=@0xbffff270, receiver=0x80dc238, slot=0x4028b03f "1slotImportPovray( )")
at /usr/local/qt/include/qobject.h:154
#7  0x408806bf in KAction (this=0x80d68b8, text=@0xfffffe00, cut=@0xfffffe00,
    receiver=0xfffffe00, slot=0xfffffe00 <Address 0xfffffe00 out of bounds>,
    parent=0xfffffe00, name=0xfffffe00 <Address 0xfffffe00 out of bounds>)
    at kaction.cpp:174
#8  0x400cdbf7 in PMPart::initActions() (this=0x80dc238) at pmpart.cpp:152
#9  0x400cd246 in PMPart (this=0x80dc238, parentWidget=0xfffffe00,
    widgetName=0xfffffe00 <Address 0xfffffe00 out of bounds>,
    parent=0xfffffe00, name=0xfffffe00 <Address 0xfffffe00 out of bounds>,
    readwrite=true, shell=0xfffffe00) at pmpart.cpp:121
#10 0x400e0aee in PMShell (this=0x80cf860, url=@0xbffff4a4) at pmshell.cpp:51
#11 0x08048d61 in main (argc=0, argv=0x0) at main.cpp:61

After recompiling qt with debug information, he got this useless backtrace:
[New Thread 1024 (LWP 8564)]
0x415b7609 in wait4 () from /lib/libc.so.6
#0  0x415b7609 in wait4 () from /lib/libc.so.6
#1  0x4162cdd0 in __check_rhosts_file () from /lib/libc.so.6
#2  0x41401eeb in waitpid () from /lib/libpthread.so.0
#3  0x40b50d1c in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:235
#4  0x413ffa44 in pthread_sighandler () from /lib/libpthread.so.0
#5  0x41540518 in sigaction () from /lib/libc.so.6
#6  0x8b0001a9 in ?? ()

gdb kpovmodeler
gdb: Symbol `emacs_ctlx_keymap' has different size in shared object, consider
re-linking

Greetings, Andreas
-- 
--------------------------------------------------
 Andreas Zehender
 Master of Computer Science, Dipl. Ing. (BA)
 http://www.azweb.de
 az at azweb.de | zehender at kde.org      
--------------------------------------------------





More information about the kde-core-devel mailing list