KisMediatorSingleTon and closing Krita
Patrick Julien
freak at codepimps.org
Thu Feb 26 13:38:43 CET 2004
Just remove detachAll on the singleton from ~KisTileMgr.
On February 26, 2004 06:38 am, Boudewijn Rempt wrote:
> For some time now, I either cannot close Krita at all (the process keeps
> hanging), or I get a crash with a long backtrace (see below). Am I the only
> one to have these problems -- i.e., is it something local to my computer,
> or is it more widespread, and, more importantly, does anyone know what's
> going on?
>
> [New Thread 16384 (LWP 1871)]
> 0x4129ffd6 in waitpid () from /lib/libpthread.so.0
> #0 0x4129ffd6 in waitpid () from /lib/libpthread.so.0
> #1 0x407b9b63 in KCrash::defaultCrashHandler(int) ()
> from /opt/kde3/lib/libkdecore.so.4
> #2 0x4129ebb1 in __pthread_sighandler () from /lib/libpthread.so.0
> #3 <signal handler called>
> #4 0x41aeb9d7 in KSharedPtr<KisTileMgr>::data() const ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #5 0x41aeb172 in KisTileMediator::detachAll(KisTileMgr*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #6 0x41aede2e in KisTileMgr::~KisTileMgr() ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #7 0x41aec707 in std::_List_base<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > >::__clear() ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #8 0x41aed101 in void std::_Destroy<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >
>
> >(std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #9 0x41aeca40 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::destroy_node(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #10 0x41aec2df in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #11 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #12 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #13 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #14 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #15 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #16 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #17 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #18 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #19 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #20 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #21 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #22 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #23 0x41aec2c7 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
>
> >::_M_erase(std::_Rb_tree_node<std::pair<KSharedPtr<KisTile> const,
>
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >*) ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #24 0x41aebad6 in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > > >::clear() ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #25 0x41aeb28d in std::_Rb_tree<KSharedPtr<KisTile>,
> std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > >,
> std::_Select1st<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >,
> std::less<KSharedPtr<KisTile> >,
> std::allocator<std::pair<KSharedPtr<KisTile> const,
> std::list<std::pair<KSharedPtr<KisTileMgr>, int>,
> std::allocator<std::pair<KSharedPtr<KisTileMgr>, int> > > > >
> >::~_Rb_tree() () from /opt/kde3/lib/kde3/libkritapart.so
> #26 0x41aea9dc in (anonymous
> namespace)::KisTileMediatorSingleton::~KisTileMediatorSingleton() ()
> from /opt/kde3/lib/kde3/libkritapart.so
> #27 0x41aeb1ff in __tcf_0 () from /opt/kde3/lib/kde3/libkritapart.so
> #28 0x41420160 in exit () from /lib/libc.so.6
> #29 0x0804d404 in launch(int, char const*, char const*, char const*, int,
> char const*, bool, char const*, bool, char const*) ()
> #30 0x0804eb41 in handle_launcher_request(int) ()
> #31 0x0804f15d in handle_requests(int) ()
> #32 0x080501b1 in main ()
More information about the kimageshop
mailing list