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

List:       koffice
Subject:    Re: KWord: latest library unload victim?
From:       Simon Hausmann <shaus () helios ! Med ! Uni-Magdeburg ! DE>
Date:       2000-07-21 7:01:49
[Download RAW message or body]


I was experiencing the same trouble (in kdebase though) . I can only find
one explanation (not sure it's the truth, but at least it worked for me) :
With the recent qt updates the moc revision changed. Deleting all .moc
files (a quick find . -name "*.moc" -exec rm {} \; ) followed by a
recompilation solved the problem for me. (no more crashes in the
QMetaObject destructor) .

Bye,
 Simon

On Fri, 21 Jul 2000, Shaheed Haque wrote:

> When trying to exit KWord (finally got a clean build, yeah!), I think I 
> might be sufferring library unload problems, since there is reference to 
> static objects etc. on the stack. Here is a trace:
> 
> #0  chunk_free (ar_ptr=0x29000004, p=0x40f932a8) at malloc.c:2985
> 2985    malloc.c: No such file or directory.
> (gdb) bt
> #0  chunk_free (ar_ptr=0x29000004, p=0x40f932a8) at malloc.c:2985
> #1  0x40efed75 in __libc_free (mem=0x40f932b0) at malloc.c:2959
> #2  0x40e684a4 in __builtin_vec_delete (ptr=0x40f932b0)
>    from /usr/lib/libstdc++-libc6.1-2.so.3
> #3  0x409d23b7 in QMetaObject::~QMetaObject () from 
> /usr/lib/qt2/lib/libqt.so.2
> #4  0x40bc66e0 in QAsciiDict<QMetaObject>::deleteItem ()
>    from /usr/lib/qt2/lib/libqt.so.2
> #5  0x4095d187 in QGDict::remove_ascii () from /usr/lib/qt2/lib/libqt.so.2
> #6  0x401563a3 in QAsciiDict<QMetaObject>::remove (this=0x80511d0,
>     k=0x4016ec77 "KWLayoutWidget") at /usr/lib/qt2/include/qasciidict.h:51
> #7  0x4013c5c7 in unload_libkwordpart_la (list=0x40170640)
>     at libkwordpart_la_meta_unload.cc:45
> #8  0x401563ec in 
> _KUnloadMetaClass_Helperlibkwordpart_la::~_KUnloadMetaClass_Helperlibkwordpart_la 
> (this=0x4017af40, __in_chrg=2)
>     at libkwordpart_la_meta_unload.cc:45
> #9  0x4013c633 in __static_initialization_and_destruction_0 
> (__initialize_p=0,
>     __priority=65535) at libkwordpart_la_meta_unload.cc:45
> #10 0x4013c68a in 
> _GLOBAL_.D._._39_KUnloadMetaClass_Helperlibkwordpart_lalibkwordpart_la_meta_unload.ccUK6qNe 
> () at libkwordpart_la_meta_unload.cc:45
> #11 0x400770f3 in __do_global_dtors_aux () from 
> /opt/kde2/lib/libkwordpart.so
> #12 0x40156425 in _fini () from /opt/kde2/lib/libkwordpart.so
> #13 0x4000a6a6 in _dl_fini () at dl-fini.c:40
> #14 0x40ec69e6 in exit (status=0) at exit.c:57
> #15 0x40ebe1f1 in __libc_start_main () at ../sysdeps/generic/libc-start.c:90
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> 

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

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