Bug 150359 - Kopete crashes on launch when using jabber jingle
Summary: Kopete crashes on launch when using jabber jingle
Status: RESOLVED DUPLICATE of bug 144494
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 158345 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-30 21:00 UTC by Nicholas Doyle
Modified: 2008-07-03 17:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace (5.83 KB, text/plain)
2007-11-19 22:45 UTC, Dennis Schridde
Details
Backtrace when closing (3.49 KB, text/plain)
2007-11-19 22:46 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Doyle 2007-09-30 21:00:13 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 4.2.0 (Gentoo 4.2.0 p1.4) 
OS:                Linux

About 80% of the time, when I try to launch Kopete, it shows the contact list window briefly and then crashes.

This seems to be the relevant bit from the console when it crashes:

kopete: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' failed.
KCrash: Application 'kopete' crashing...
Comment 1 Jan Ritzerfeld 2007-09-30 22:17:22 UTC
This may help: http://forums.gentoo.org/viewtopic.php?t=576594
Comment 2 Nicholas Doyle 2007-09-30 23:10:11 UTC
I tried the suggestion in the forum post but still get the crashes. I remerged pth, gnupg and kopete. It made no difference.
Comment 3 Jisakiel 2007-10-01 04:20:54 UTC
Same problem under gentoo, but when trying to add a jabber account. Didn't try yet wiping my settings as I keep history there, but I can move them if necessary. 

kopete: tpp.c:63: __pthread_tpp_change_priority: La declaración `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' no se cumple.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1477904688 (LWP 27850)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x48dcaf4f in raise () from /lib/libc.so.6
#2  0x48eebff4 in ?? () from /lib/libc.so.6
#3  0xa7e8f6d0 in ?? ()
#4  0x48dcc958 in abort () from /lib/libc.so.6
#5  0x00000000 in ?? ()

Also tried remerging pth, gnupg or qca / qca-tls with no success. Kopete is merged with USE="debug arts autoreplace connectionstatus contactnotes crypt debug history jingle kdeenablefinal kdehiddenvisibility kernel_linux netmeeting nowlistening sms ssl statistics texteffect translator winpopup xscreensaver" and 
CFLAGS="-march=athlon-tbird -O2 -pipe -mmmx -m3dnow -fno-strict-aliasing"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden". libdenetwork is 3.5.7, gcc 4.1.2,  glibc-2.6.1-r0 and kernel 2.6.22-kamikaze9. 


I have no clue on what it might be, but maybe related to http://sourceware.org/ml/glibc-bugs/2006-11/msg00099.html ? I just found it googling for the exact error, and seems too much coincidence to burp on the same assertion... That leads to http://sourceware.org/bugzilla/show_bug.cgi?id=3610 and is reported as an invalid bug on glibc; rest of the bug reporting sounds like klingon to me, but might help. 
Comment 4 Darafei Praliaskouski 2007-11-01 13:05:09 UTC
That only happens when compiled with USE="jingle", exactly the same happens when trying to run jingle-enabled Psi. with USE="-jingle" everything's OK to me.
Comment 5 Nicholas Doyle 2007-11-04 14:42:29 UTC
Compiling without jingle support stops the crashing for me as well. So I guess it seems that the bug is related to Jingle.
Comment 6 Dennis Schridde 2007-11-19 22:45:29 UTC
Created attachment 22125 [details]
Backtrace

I can confirm this bug as well.

On the console:
---
kopete: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio == -1 ||
(new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)'
failed.
---

Rough backtrace attached.

I also just now experienced a crash on shutdown, also threading related, it
seems. Attaching backtrace as well.
Comment 7 Dennis Schridde 2007-11-19 22:46:00 UTC
Created attachment 22126 [details]
Backtrace when closing
Comment 8 Dennis Schridde 2007-11-19 22:46:28 UTC
*** This bug has been confirmed by popular vote. ***
Comment 9 Dennis Schridde 2007-11-19 22:50:13 UTC
More info:

Qt: 3.3.8
KDE: 3.5.8
Kopete: 0.12.7

Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Timestamp of tree: Mon, 19 Nov 2007 14:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.mneisen.org/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/dirtyepic /usr/portage/local/layman/kde /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 avahi bash-completion berkdb bitmap-fonts bluetooth cairo cdr cjk cli cracklib crypt cups dbus dri dvb dvd dvdr dvdread emboss encode evo fam ffmpeg firefox foomaticdb fortran gdbm gif gimp gpm gtk hal iconv ipod ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kerberos ldap lm_sensors mad midi mikmod mmx mmxext mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pch pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session speex spell spl sse sse2 ssl subversion svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd visualization vorbis x264 xcb xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Will Stephenson 2007-11-21 15:01:45 UTC
Jingle is unsupported. Don't expect a fix for this soon.  Please consider amending Gentoo's default build to not build with Jingle.
Comment 11 Dennis Schridde 2007-11-21 20:21:29 UTC
Don't worry, Gentoo doesn't by default enable Jingle.
Comment 12 James Cornell 2007-12-03 18:33:51 UTC
I can confirm this as well on my system.  Gentoo 2007.0 updated all base packages before merging with new useflags, then emerged kde (3.5.8).  It crashes when you try to add a new jabber account from accounts.

kopete: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' failed.
KCrash: Application 'kopete' crashing...

Backtrace matches already attached.
Comment 13 Jan Ritzerfeld 2008-02-24 19:10:35 UTC
*** Bug 158345 has been marked as a duplicate of this bug. ***
Comment 14 Christophe Marin 2008-07-03 17:14:32 UTC
paste bt in #6

#5  0x00002b74233e3185 in raise () from /lib/libc.so.6
#6  0x00002b74233e4630 in abort () from /lib/libc.so.6
#7  0x00002b74233dc77f in __assert_fail () from /lib/libc.so.6
#8  0x00002b7421ad7ccd in ?? () from /lib/libpthread.so.0
#9  0x00002b7421ad15e1 in pthread_mutex_lock () from /lib/libpthread.so.0
#10 0x00002b7426301831 in cricket::ThreadManager::Add ()
   from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#11 0x00002b74263018bb in cricket::Thread::Thread ()
   from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#12 0x00002b7426301931 in cricket::ThreadManager::ThreadManager ()
   from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#13 0x00002b7426301974 in ?? () from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#14 0x00002b742630f2a2 in ?? () from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#15 0x00002b74275102de in ?? () from /usr/lib64/libasound.so.2
#16 0x0000000000ace160 in ?? ()
#17 0x0000000000ace160 in ?? ()
#18 0x00002b7426195fa3 in _init ()
   from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#19 0x00002b7426138134 in ?? () from /usr/kde/3.5/lib64/kde3/kopete_jabber.so
#20 0x00002b741a353066 in ?? () from /lib64/ld-linux-x86-64.so.2
#21 0x00002b741a35318e in ?? () from /lib64/ld-linux-x86-64.so.2
#22 0x00002b741a356fe0 in ?? () from /lib64/ld-linux-x86-64.so.2
#23 0x00002b741a352cf6 in ?? () from /lib64/ld-linux-x86-64.so.2
#24 0x00002b741a3567bb in ?? () from /lib64/ld-linux-x86-64.so.2
#25 0x00002b7422a19fcb in ?? () from /lib/libdl.so.2
#26 0x00002b741a352cf6 in ?? () from /lib64/ld-linux-x86-64.so.2
#27 0x00002b7422a1a35d in ?? () from /lib/libdl.so.2
#28 0x00002b7422a19f31 in dlopen () from /lib/libdl.so.2
#29 0x00002b741de30a82 in ?? () from /usr/kde/3.5/lib64/libkdecore.so.4
#30 0x00002b741de2f583 in ?? () from /usr/kde/3.5/lib64/libkdecore.so.4
#31 0x00002b741de30673 in lt_dlopen () from /usr/kde/3.5/lib64/libkdecore.so.4
#32 0x00002b741dd8d659 in KLibLoader::library ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#33 0x00002b741a85b7e7 in Kopete::PluginManager::loadPluginInternal ()
   from /usr/kde/3.5/lib64/libkopete.so.1
#34 0x00002b741a85bf43 in Kopete::PluginManager::slotLoadNextPlugin ()
   from /usr/kde/3.5/lib64/libkopete.so.1
#35 0x00002b741a87603d in Kopete::PluginManager::qt_invoke ()
   from /usr/kde/3.5/lib64/libkopete.so.1
#36 0x00002b741f0acb1c in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#37 0x00002b741f38e432 in QSignal::signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#38 0x00002b741f0c4eed in QSignal::activate ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#39 0x00002b741f0cb3d8 in QSingleShotTimer::event ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#40 0x00002b741f0568bd in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#41 0x00002b741f057318 in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#42 0x00002b741ddda0ff in KApplication::notify ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#43 0x00002b741f04cee9 in QEventLoop::activateTimers ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#44 0x00002b741f00dbba in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#45 0x00002b741f06ae42 in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#46 0x00002b741f06acf2 in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
Comment 15 Christophe Marin 2008-07-03 17:17:06 UTC

*** This bug has been marked as a duplicate of 144494 ***