Problem of segmentation fault with a lot of KDE programs

Gregory Nou gregory.nou at gmail.com
Fri Feb 2 05:15:30 UTC 2007


Hi,

After trying to figure out how to solve the problem I have on my own,
I'd like to submit it to you, to get some hints.
Here it is: almost all programs related to kde (kdevelop, kghosviewer,
kile, ...) and gaim are segfaulting, because of a problem which seems
to be related to pthread.
Please note that everything else is working fine : xfce-4.4, anjuta,
firefox, etc...

FreeBSD 7.0-CURRENT #6: Fri Feb  2 13:47:26 EST 2007
root at greg:/usr/obj/usr/src/sys/MYSMP  i386

running gdb kile :

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100060]
0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2
(gdb) bt
#0  0x29d0f1f9 in pthread_join () from /lib/libpthread.so.2
#1  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#2  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#3  0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2
#4  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#5  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#6  0x29d0f2b2 in pthread_join () from /lib/libpthread.so.2
#7  0x29d0374a in pthread_self () from /lib/libpthread.so.2
#8  0x29d03dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
...

and it goes far, repeating it ad vitam. (using ktrace and kdump, wc -l
outputs 637047)
By the way, the equivalent in the ktrace part is :
 2913 kile     CALL  getpid
 2913 kile     RET   getpid 2913/0xb61
 2913 kile     CALL  getpid
 2913 kile     RET   getpid 2913/0xb61
 2913 kile     CALL  getpid
 2913 kile     RET   getpid 2913/0xb61

Same for kdevelop-bin and all the kde-related who segfault (because
some rare k(something) work, like konsole oder KDE System Guard)

For gaim, the error message is a bit different, but bt gives the same output :

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100079]
0x28b38d3e in sysctl () from /lib/libc.so.6
(gdb) bt
#0  0x28b38d3e in sysctl () from /lib/libc.so.6
#1  0x28a852b2 in pthread_join () from /lib/libpthread.so.2
#2  0x28a7974a in pthread_self () from /lib/libpthread.so.2
#3  0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2
#4  0x28a852b2 in pthread_join () from /lib/libpthread.so.2
#5  0x28a7974a in pthread_self () from /lib/libpthread.so.2
#6  0x28a79dfc in pthread_rwlock_unlock () from /lib/libpthread.so.2

I experience these problems for more than a week now. Everything is
up-to-date on my system (src + ports) - last cvsup a few hours ago. I
recompiled everything a few time.
As I did not see feedback on forums or on mailing lists, I assume I am
the only one who has this problem. Which makes me feel a bit lonely ;)

Could you please me help me ? Also, I would be glad to provide any
further information like dmesg, bt, ktrace, whatever, ...

Thanks !
Gregory


More information about the freebsd-questions mailing list