[Bug 196207] gtk non-qt applications crash disappear

Victor vitruss at gmail.com
Sat Jun 13 18:53:10 BST 2009


https://bugs.kde.org/show_bug.cgi?id=196207


Victor <vitruss at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vitruss at gmail.com




--- Comment #16 from Victor <vitruss gmail com>  2009-06-13 19:53:06 ---
Hi, I'm from Arch.  I use KDEmod. It's compiled with gcc4.4.0. In kde 4.3 since
4.2.88 (I think). Apps like Goldendict, linuxdcpp, amarok, psi are shuting
down. Using sudo they all work without problems. Here are the traces. Wher the
same programs runs outside KDE it all works. And it works in 4.2.3. but if kdem
is started (even in other X display) the applications are segfauling or
aborted. I can try to reproduce for the other programs.
Amarok: 

Application: Amarok (amarok), signal: Aborted
[Current thread is 0 (LWP 8642)]

Thread 5 (Thread 0x7f3bf4749910 (LWP 8645)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3c07552a6b in QWaitCondition::wait (this=<value optimized out>,
mutex=0x1d1e478, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  0x00007f3bf4c1f7d9 in XmlParseJob::run () from
/usr/lib/kde4/libamarok_collection-sqlcollection.so
#3  0x00007f3c036db72d in ThreadWeaver::JobRunHelper::runTheJob () from
/usr/lib/libthreadweaver.so.4
#4  0x00007f3c036dba2f in ThreadWeaver::Job::execute () from
/usr/lib/libthreadweaver.so.4
#5  0x00007f3c036da9ff in ThreadWeaver::ThreadRunHelper::run () from
/usr/lib/libthreadweaver.so.4
#6  0x00007f3c036dae88 in ThreadWeaver::Thread::run () from
/usr/lib/libthreadweaver.so.4
#7  0x00007f3c075519e1 in QThreadPrivate::start (arg=0x1d5f6d0) at
thread/qthread_unix.cpp:189
#8  0x00007f3c06d306fa in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#9  0x00007f3c072697ed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3bec2eb910 (LWP 8646)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3c07552a6b in QWaitCondition::wait (this=<value optimized out>,
mutex=0x1d5f050, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  0x00007f3c036da2f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from
/usr/lib/libthreadweaver.so.4
#3  0x00007f3c036dc433 in ThreadWeaver::WorkingHardState::applyForWork () from
/usr/lib/libthreadweaver.so.4
#4  0x00007f3c036dc44c in ThreadWeaver::WorkingHardState::applyForWork () from
/usr/lib/libthreadweaver.so.4
#5  0x00007f3c036daa2f in ThreadWeaver::ThreadRunHelper::run () from
/usr/lib/libthreadweaver.so.4
#6  0x00007f3c036dae88 in ThreadWeaver::Thread::run () from
/usr/lib/libthreadweaver.so.4
#7  0x00007f3c075519e1 in QThreadPrivate::start (arg=0x1c0ea60) at
thread/qthread_unix.cpp:189
#8  0x00007f3c06d306fa in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#9  0x00007f3c072697ed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3beb2e9910 (LWP 8649)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3c07552a6b in QWaitCondition::wait (this=<value optimized out>,
mutex=0x1d5f050, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  0x00007f3c036da2f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from
/usr/lib/libthreadweaver.so.4
#3  0x00007f3c036dc433 in ThreadWeaver::WorkingHardState::applyForWork () from
/usr/lib/libthreadweaver.so.4
#4  0x00007f3c036dc44c in ThreadWeaver::WorkingHardState::applyForWork () from
/usr/lib/libthreadweaver.so.4
#5  0x00007f3c036daa2f in ThreadWeaver::ThreadRunHelper::run () from
/usr/lib/libthreadweaver.so.4
#6  0x00007f3c036dae88 in ThreadWeaver::Thread::run () from
/usr/lib/libthreadweaver.so.4
#7  0x00007f3c075519e1 in QThreadPrivate::start (arg=0x1933710) at
thread/qthread_unix.cpp:189
#8  0x00007f3c06d306fa in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#9  0x00007f3c072697ed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3beaae8910 (LWP 8650)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3c07552a6b in QWaitCondition::wait (this=<value optimized out>,
mutex=0x1d5f050, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  0x00007f3c036da2f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from
/usr/lib/libthreadweaver.so.4
#3  0x00007f3c036dc433 in ThreadWeaver::WorkingHardState::applyForWork () from
/usr/lib/libthreadweaver.so.4
#4  0x00007f3c036daa2f in ThreadWeaver::ThreadRunHelper::run () from
/usr/lib/libthreadweaver.so.4
#5  0x00007f3c036dae88 in ThreadWeaver::Thread::run () from
/usr/lib/libthreadweaver.so.4
#6  0x00007f3c075519e1 in QThreadPrivate::start (arg=0x19103a0) at
thread/qthread_unix.cpp:189
#7  0x00007f3c06d306fa in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#8  0x00007f3c072697ed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3c097567a0 (LWP 8642)):
[KCrash Handler]
#5  0x00007f3c071d1235 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f3c071d25bf in *__GI_abort () at abort.c:88
#7  0x00007f3c0720ff68 in malloc_printerr (action=2, str=0x7f3c072b6cfc
"free(): invalid pointer", ptr=0x21c2) at malloc.c:6201
#8  0x00007f3c07558539 in QList<QByteArray>::free (this=<value optimized out>,
data=0x21c2) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:375
#9  0x00007f3c07665d7b in QTextCodec::codecForName (name=@0x7fff0a4879b0) at
codecs/qtextcodec.cpp:944
#10 0x00007f3bf4c19b3f in ScanManager::slotReadReady () from
/usr/lib/kde4/libamarok_collection-sqlcollection.so
#11 0x00007f3bf4c1e6fc in ScanManager::qt_metacall () from
/usr/lib/kde4/libamarok_collection-sqlcollection.so
#12 0x00007f3c0764b076 in QMetaObject::activate (sender=0x18fc890,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0xffffffffffffffff) at kernel/qobject.cpp:3120
#13 0x00007f3c075daa6c in QProcessPrivate::_q_canReadStandardOutput
(this=0x1dc8600) at io/qprocess.cpp:564
#14 0x00007f3c075dda31 in QProcess::qt_metacall (this=0x18fc890,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0a487d50)
at .moc/release-shared/moc_qprocess.cpp:101
#15 0x00007f3c07a11e58 in KProcess::qt_metacall () from
/usr/lib/libkdecore.so.5
#16 0x00007f3c08aa99a0 in AmarokProcess::qt_metacall () from
/usr/lib/libamaroklib.so.1
#17 0x00007f3c0764b076 in QMetaObject::activate (sender=0x1d5e040,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0xffffffffffffffff) at kernel/qobject.cpp:3120
#18 0x00007f3c076815ae in QSocketNotifier::activated (this=0x21c2, _t1=54) at
.moc/release-shared/moc_qsocketnotifier.cpp:83
#19 0x00007f3c0764fa1b in QSocketNotifier::event (this=0x1d5e040,
e=0x7fff0a4882a0) at kernel/qsocketnotifier.cpp:316
#20 0x00007f3c07f4e02c in QApplicationPrivate::notify_helper (this=0xafded0,
receiver=0x1d5e040, e=0x7fff0a4882a0) at kernel/qapplication.cpp:4057
#21 0x00007f3c07f54fee in QApplication::notify (this=0x7fff0a488560,
receiver=0x1d5e040, e=0x7fff0a4882a0) at kernel/qapplication.cpp:4022
#22 0x00007f3c092847e6 in KApplication::notify () from /usr/lib/libkdeui.so.5
#23 0x00007f3c07635ccb in QCoreApplication::notifyInternal
(this=0x7fff0a488560, receiver=0x1d5e040, event=0x7fff0a4882a0) at
kernel/qcoreapplication.cpp:610
#24 0x00007f3c0765e7da in socketNotifierSourceDispatch (source=0xb012a0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 0x00007f3bff825dee in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#26 0x00007f3bff8294b8 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#27 0x00007f3bff8295e0 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#28 0x00007f3c0765e531 in QEventDispatcherGlib::processEvents (this=0xafc9f0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#29 0x00007f3c07fe1186 in QGuiEventDispatcherGlib::processEvents (this=0x21c2,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007f3c076345b2 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f3c07634975 in QEventLoop::exec (this=0x7fff0a488510, flags=) at
kernel/qeventloop.cpp:200
#32 0x00007f3c07636a59 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#33 0x0000000000403fd6 in _start ()


Goldendict:

(gdb) r                                                                         
Starting program: /usr/bin/goldendict                                           
[Thread debugging using libthread_db enabled]                                   
[New Thread 0x7f6af0a9a760 (LWP 11235)]                                         
[New Thread 0x7f6adfd5f910 (LWP 11238)]                                         
Load done                                                                       
[Thread 0x7f6adfd5f910 (LWP 11238) exited]                                      
getResource: gdlookup://localhost?blank=1                                       
scheme: gdlookup                                                                
host: localhost                                                                 
getResource: gdlookup://localhost?blank=1                                       
scheme: gdlookup                                                                
host: localhost                                                                 
getResource: gdlookup://localhost?word=Welcome!&group=4294967295                
scheme: gdlookup                                                                
host: localhost                                                                 
In-place finish.                                                                
[New Thread 0x7f6adfd5f910 (LWP 11239)]                                         
====reading 16384 bytes                                                         
====reading 16384 bytes                                                         
====reading 16384 bytes                                                         
====reading 16384 bytes                                                         
[Thread 0x7f6adfd5f910 (LWP 11239) exited]                                      
[New Thread 0x7f6adfd5f910 (LWP 11240)]                                         
bookname = Accounting (En-Ru)                                                   
wordcount = 4942                                                                
7104 entires made                                                               
Building a tree of 85 elements                                                  
bookname = Americana (En-Ru)                                                    
wordcount = 21018                                                               

Program received signal SIGABRT, Aborted.                                       
[Switching to Thread 0x7f6adfd5f910 (LWP 11240)]                                
0x00007f6aea15d235 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64            
64        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);                 
(gdb) bt                                                                        
#0  0x00007f6aea15d235 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64        
#1  0x00007f6aea15e5bf in *__GI_abort () at abort.c:88                          
#2  0x00007f6aea19bf68 in malloc_printerr (action=2, str=0x7f6aea242cfc
"free(): invalid pointer", ptr=0x2be3)         
    at malloc.c:6201                                                            
#3  0x000000000047f38e in BtreeIndexing::IndexedWords::addWord ()               
#4  0x000000000048434e in handleIdxSynFile (fileName=<value optimized out>,
indexedWords=<value optimized out>,        
    chunks=@0x7f6adfd5e640, articleOffsets=0x0, isSynFile=false) at
stardict.cc:959                                    
#5  0x0000000000487cde in Stardict::makeDictionaries
(fileNames=@0x7f6adfd5e900, indicesDir=<value optimized out>,     
    initializing=<value optimized out>) at stardict.cc:1051                     
#6  0x00000000004e2ad1 in LoadDictionaries::handlePath ()                       
#7  0x00000000004e2801 in LoadDictionaries::handlePath ()                       
#8  0x00000000004e2801 in LoadDictionaries::handlePath ()                       
#9  0x00000000004e366b in LoadDictionaries::run ()                              
#10 0x00007f6aeb9889e1 in QThreadPrivate::start (arg=0x7fff5e4eef40) at
thread/qthread_unix.cpp:189                    
#11 0x00007f6aeac2c6fa in start_thread (arg=<value optimized out>) at
pthread_create.c:297                             
#12 0x00007f6aea1f57ed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112                                   
#13 0x0000000000000000 in ?? ()                                                 
(gdb) info r                                                                    
rax            0x0      0                                                       
rbx            0x7f6aea242cfc   140097171500284                                 
rcx            0xffffffffffffffff       -1                                      
rdx            0x6      6                                                       
rsi            0x2be8   11240                                                   
rdi            0x2be3   11235                                                   
rbp            0x2      0x2                                                     
rsp            0x7f6adfd5e228   0x7f6adfd5e228                                  
r8             0x0      0                                                       
r9             0xffffffdf       4294967263                                      
r10            0x8      8                                                       
r11            0x202    514                                                     
r12            0x3ff4480        67060864                                        
r13            0x40367f0        67332080                                        
r14            0x7f6adfd5e450   140096998597712                                 
r15            0x13     19                                                      
rip            0x7f6aea15d235   0x7f6aea15d235 <*__GI_raise+53>                 
eflags         0x202    [ IF ]                                                  
cs             0x33     51                                                      
ss             0x2b     43                                                      
ds             0x0      0                                                       
es             0x0      0                                                       
fs             0x0      0                                                       
gs             0x0      0                                                       
fctrl          0x37f    895                                                     
fstat          0x0      0                                                       
ftag           0xffff   65535                                                   
fiseg          0x0      0                                                       
fioff          0x0      0                                                       
foseg          0x0      0                                                       
fooff          0x0      0                                                       
fop            0x0      0                                                       
mxcsr          0x1fa1   [ IE PE IM DM ZM OM UM PM ]                             
(gdb) info sha                                                                  


More information about the Unassigned-bugs mailing list