Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2005 14:01:28 -0600
From:      Rick Kukiela <digitsix-w@tech-nine.net>
To:        freebsd-questions@freebsd.org
Subject:   problem with mutex locking....
Message-ID:  <200502031401.29214.digitsix-w@tech-nine.net>

next in thread | raw e-mail | index | archive | help
I have beeing using this program in kde called kooldock. just recently I have 
been unable to start the program I get the following error:

Mutex lock failure: Invalid argument
Mutex unlock failure: Resource deadlock avoided
Mutex lock failure: Invalid argument
Mutex unlock failure: Resource deadlock avoided
Mutex lock failure: Invalid argument
Mutex unlock failure: Resource deadlock avoided
Mutex lock failure: Invalid argument
Mutex unlock failure: Resource deadlock avoided
Mutex lock failure: Invalid argument
Mutex unlock failure: Resource deadlock avoided
Mutex lock failure: Invalid argument
Mutex unlock failure: Resource deadlock avoided
ERROR: Communication problem with kooldock, it probably crashed.

And when i use gdb with backtrace i get this:
(gdb) bt
#0  0x2930ee77 in sigsuspend () from /lib/libc.so.5
#1  0x2918ff19 in __pth_mctx_set () from /usr/local/lib/libpthread.so.10
#2  0x29192fee in pth_spawn () from /usr/local/lib/libpthread.so.10
#3  0x291928bf in pth_init () from /usr/local/lib/libpthread.so.10
#4  0x2918cd17 in pthread_initialize_minimal ()
   from /usr/local/lib/libpthread.so.10
#5  0x2918df98 in pthread_mutex_init () from /usr/local/lib/libpthread.so.10
#6  0x2918e204 in pthread_mutex_lock () from /usr/local/lib/libpthread.so.10
#7  0x292823b2 in __register_frame_info_bases () from /usr/lib/libstdc++.so.4
#8  0x2928240e in __register_frame_info () from /usr/lib/libstdc++.so.4
#9  0x2921d832 in ?? () from /usr/lib/libstdc++.so.4
#10 0x2928bd30 in typeinfo for std::bad_exception ()
   from /usr/lib/libstdc++.so.4
#11 0x292a3a64 in ?? () from /usr/lib/libstdc++.so.4
#12 0xbfbfe880 in ?? ()
#13 0x2921d80c in ?? () from /usr/lib/libstdc++.so.4
#14 0x280993d8 in ?? () from /libexec/ld-elf.so.1
#15 0x280993d8 in ?? () from /libexec/ld-elf.so.1
#16 0xbfbfe850 in ?? 
#17 0x29219eb9 in _init () from /usr/lib/libstdc++.so.4
#18 0x280806c5 in find_symdef () from /libexec/ld-elf.so.1


I have uninstalled and reinstalled my linuxthreads package and my ngpt package

I have also upgraded my gcc to 3.4 which is the current stable release (which 
includes the libstdc++ libraries)

I have since recompiled the software and installed fresh and am still getting 
this error when I run it, including after reboot.

Does anyone know any way to fix this?



Ps, here is a list of installed packages:

BitchX-1.1          "An alternative ircII color client with optional GTK/GNOME
ORBit-0.5.17_2      High-performance CORBA ORB with support for the C language
ORBit2-2.10.4       High-performance CORBA ORB with support for the C language
OpenEXR-1.2.1_1     A high dynamic-range (HDR) image file format
WordNet-2.0         Dictionaries and thesauri with devel. libraries (C, TCL) 
an
aalib-1.4.r5_1      An ascii art library
arts-1.3.2,1        Audio system for the KDE integrated X11 desktop
artswrapper-1.2.1_1 Setuid wrapper for arts
aspell-0.60.2       Spelling checker with better suggestion logic than ispell
atk-1.8.0           A GNOME accessibility toolkit (ATK)
autoconf-2.53_3     Automatically configure source code on many Un*x platforms
autoconf-2.59_2     Automatically configure source code on many Un*x platforms
automake-1.5_2,1    GNU Standards-compliant Makefile generator (version 1.5)
automake-1.9.1      GNU Standards-compliant Makefile generator (version 1.9)
automake-1.9.4      GNU Standards-compliant Makefile generator (version 1.9)
bash-2.05b.007_2    The GNU Bourne Again Shell
bison-1.75_2        A parser generator from FSF, (mostly) compatible with Yacc
bitstream-vera-1.10 Bitstream Vera TrueType font collection
bsdpan-Gaim-0.01    Gaim - Perl extension the Gaim instant messenger.
cclient-2004a,1     Mark Crispin's C-client mail access routines
cdparanoia-3.9.8_7  A CDDA extraction tool (also known as ripper)
cups-base-1.1.23.0_3 The Common UNIX Printing System: headers, libs, & daemons
cups-pstoraster-7.07_1 GNU Postscript interpreter for CUPS printing to non-PS 
prin
curl-7.12.1         Non-interactive tool to get files from FTP, GOPHER, 
HTTP(S)
cvsup-16.1h         General network file distribution system optimized for CVS
db4-4.0.14_1,1      The Berkeley DB package, revision 4
db41-4.1.25_2       The Berkeley DB package, revision 4.1
djbfft-0.76_1       An extremely fast library for floating-point convolution
docbook-sk-4.1.2_3  XML version of the DocBook DTD version controlled for 
Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xsl-1.65.1  XSL DocBook stylesheets
dri-5.0.2,2         OpenGL hardware acceleration drivers for the DRI
dvipsk-tetex-5.92b_1 Convert a TeX DVI file to PostScript
esound-0.2.35_1     A sound library for enlightenment package
expat-1.95.8        XML 1.0 parser written in C
ezm3-1.2            Easier, more portable Modula-3 distribution for building 
CV
fam-2.6.9_6         A file alteration monitor
flac-1.1.0_4        Free lossless audio codec
fontconfig-2.2.3,1  An XML-based font configuration API for X Windows
freetds-0.62.3      Sybase/Microsoft TDS protocol library
freetds-msdblib-0.62.3 Sybase/Microsoft TDS protocol library
freetype2-2.1.7_4   A free and portable TrueType font rendering engine
fribidi-0.10.4_1    A Free Implementation of the Unicode Bidirectional 
Algorith
gcc-3.4.4_20050114  GNU Compiler Collection 3.4
gconf2-2.6.4        A configuration database system for GNOME
gd-2.0.25,1         A graphics library for fast creation of images
gdbm-1.8.3_1        The GNU database manager
gengetopt-2.11      A tool for generating a C function which parses command 
lin
gettext-0.14.1      GNU gettext package
ghostscript-gnu-7.07_12 GNU Postscript interpreter
gimp-2.0.4,1        A GNU Image Manipulation Program
gimp-print-4.2.7    GIMP Print Printer Driver
glib-1.2.10_11      Some useful routines of C programming (previous stable 
vers
glib-2.4.8          Some useful routines of C programming (current stable 
versi
gmake-3.80_2        GNU version of 'make' utility
gmpc-0.11.1,1       Tray-aware GTK2 client for musicpd
gnomehier-1.0_21    A utility port that creates the GNOME directory tree
gnomelibs-1.4.2_2   Libraries for GNOME, a GNU desktop environment
gnomemimedata-2.4.1_2 A MIME and Application database for GNOME
gnomevfs2-2.6.2_1   GNOME Virtual File System
gnuls-4.1           GNU colorized `ls'
gnupg-1.4.0         The GNU Privacy Guard
gnutls-1.0.21_1     GNU Transport Layer Security library
gocr-0.39           GOCR/JOCR is an OCR (Optical Character Recognition) 
program
gpgme-1.0.1_3       A library to make access to GnuPG easier
gsfonts-8.11_2      Fonts used by GNU Ghostscript (or X)
gtk-1.2.10_12       Gimp Toolkit for X11 GUI (previous stable version)
gtk-2.4.14_2        Gimp Toolkit for X11 GUI (current stable version)
gtk-engines2-2.2.0_4 Theme engine for the gtk+-2.0 toolkit
help2man-1.34.2     Automatically generating simple manual pages from program 
o
hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop 
project
imake-6.8.1         Imake and other utilities from X.Org
imlib-1.9.15_2      A graphic library for enlightenment package
imwheel-1.0.0.p12   Utility to translate mouse wheel actions into X keyboard 
ev
intltool-0.32.1     Tools to internationalize various kinds of data files
jasper-1.701.0      An implementation of the codec specified in the JPEG-2000 
s
jpeg-6b_3           IJG's jpeg compression utilities
karamba-0.17_3      Display various information right on your desktop
kde-3.3.2           The "meta-port" for KDE
kdeaccessibility-3.3.2 Accessibility applications for KDE
kdeadmin-3.3.2      KDE applications related to system administration
kdeartwork-3.3.2    Additional themes, sounds, wallpapers and window styles 
for
kdebase-3.3.2       Basic applications for the KDE system
kdeedu-3.3.2        Collection of entertaining, educational programs for KDE
kdegames-3.3.2      Games for the KDE integrated X11 desktop
kdegraphics-3.3.2_2 Graphics utilities for the KDE3 integrated X11 desktop
kdegraphics-kamera-3.3.2 Digital camera support for KDE
kdegraphics-kooka-3.3.2 Raster image scan program for KDE
kdegraphics-kuickshow-3.3.2 KDE image viewer
kdehier-1.0_4       Utility port which installs a hierarchy of shared KDE 
direc
kdelibs-3.3.2_3     Base set of libraries needed by KDE programs
kdemultimedia-3.3.2 Multimedia utilities for the KDE integrated X11 desktop
kdemultimedia-mpeglib_artsplug-3.3.2 Default KDE decoders for mp3/ogg
kdemultimedia-xine_artsplugin-3.3.2_1 Xine-based multimedia backend for KDE
kdenetwork-3.3.2    Network-related programs and modules for KDE
kdepim-3.3.2        Personal Information Management tools for KDE
kdesdk-3.3.2        KDE Software Development Kit
kdetoys-3.3.2       Small applications for KDE
kdeutils-3.3.2      Utilities for the KDE integrated X11 desktop
kdevelop-3.1.2      Powerful IDE for developing KDE/Qt-based apps
kdewebdev-3.3.2,2   Comprehensive html/website development environment
koffice-1.3.5_1,1   Office Suite for KDE3
lcms-1.14,1         Light Color Management System -- a color management 
library
libIDL-0.8.4        A library for creating trees of CORBA Interface Definition
libXft-2.1.6        A client-sided font API for X applications
liba52-0.7.4_1      A free library for decoding ATSC A/52 streams, aka AC-3
libart_lgpl2-2.3.17 Library for high-performance 2D graphics
libaudiofile-0.2.6  A sound library for SGI audio file
libbonobo-2.6.2     A component and compound document system for GNOME2
libcroco-0.5.1      CSS2 parsing library
libdvdcss-1.2.8_1   Portable abstraction library for DVD decryption
libdvdread-0.9.4_1  This is needed by ogle, which is a DVD player that 
supports
libexif-0.6.10      Library to read digital camera file meta-data
libfame-0.9.1_1     A video encoding library
libgcrypt-1.2.1     "General purpose crypto library based on code used in 
GnuPG
libglade2-2.4.0     GNOME glade library
libglut-6.0.1       A graphics library similar to SGI's OpenGL
libgpg-error-1.0_1  Common error values for all GnuPG components
libgphoto2-2.1.5    A universal digital camera picture control tool
libgsf-1.10.1       An extensible i/o abstraction for dealing with structured 
f
libiconv-1.9.2_1    A character set conversion library
libidn-0.5.12       Internationalized Domain Names command line tool
libijs-0.35         C library that supports plugin printer driver for 
Ghostscri
libltdl-1.5.8       System independent dlopen wrapper
libmad-0.15.1b_1    Libmad library (part of MAD project)
libmal-0.40         A library encapsulating malsync
libmcal-0.7_1       Modular Calendar Access Library
libmng-1.0.8        Multiple-image Network Graphics (MNG) reference library
libmusicbrainz-2.1.1 2nd generation incarnation of the CD Index - audio 
metadata
libogg-1.1.2_1,3    Ogg bitstream library
libpaper-1.1.14     A library providing routines for paper size management
librsvg2-2.6.5_1    Library for parsing and rendering SVG vector-graphic files
libtool-1.3.5_2     Generic shared library support script (version 1.3)
libtool-1.5.10      Generic shared library support script (version 1.5)
libtunepimp-0.3.0_1 Client library for musicbrainz
libungif-4.1.3      Tools and library routines for working with GIF images
libusb-0.1.7_1      Library giving userland programs access to USB devices
libvorbis-1.1.0_1,3 Audio compression codec library
libwmf-0.2.8.3      Tools and library for converting Microsoft WMF (windows 
met
libwww-5.4.0_1      The W3C Reference Library
libxine-1.0_1       Libraries for xine multimedia player
libxml-1.8.17_2     Xml parser library for GNOME
libxml2-2.6.17      XML parser library for GNOME
libxslt-1.1.12_1    The XSLT C library for GNOME
linc-1.0.3_2        A library for writing networked servers & clients
linux_base-6.1_6    The base set of packages needed in Linux mode
linuxthreads-2.2.3_16 POSIX pthreads implementation using rfork to generate 
kerne
m4-1.4.1            GNU m4
mcal-0.3            A libmcal powered cal replacement
mysql-client-4.1.5  Multithreaded SQL database (client)
mysql-server-4.1.5  Multithreaded SQL database (server)
nas-1.7             Network Audio System
nasm-0.98.38_1,1    General-purpose multi-platform x86 assembler
net-snmp-5.2_1      An extendable SNMP implementation
ngpt-1.0.1_1        NGPT is a next generation pthread implementation based on 
G
nmap-3.70           Port scanning utility for large networks
open-motif-2.2.3_1  Motif X11 Toolkit (industry standard GUI (IEEE 1295))
openldap-client-2.2.19 Open source LDAP client implementation
openslp-1.0.11_1    Open-source implementation of the Service Location 
Protocol
openssl-0.9.7e_2    SSL and crypto library
p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, 
expat
p5-gettext-1.03     Message handling functions
pango-1.6.0         An open-source framework for the layout and rendering of 
i1
pcre-5.0            Perl Compatible Regular Expressions library
perl-5.6.1_15       Practical Extraction and Report Language
perl-5.8.5          Practical Extraction and Report Language
pilot-link-0.11.8_3 PalmPilot communications utilities 
(backup/restore/install/
pkgconfig-0.15.0_1  A utility used to retrieve information about installed 
libr
png-1.2.8           Library for manipulating PNG images
popt-1.7            A getopt(3) like library with a number of enhancements, 
fro
portupgrade-20040701_3 FreeBSD ports/packages administration and management 
tool s
pth-2.0.3           GNU Portable Threads
py24-BitTornado-0.3.9a,1 An extended BitTorrent peer-to-peer tool for 
distributing f
py24-bsddb3-4.2.4   Python extension module for BerkeleyDB 3 and 4
py24-imaging-1.1.4  The Python Imaging Library
py24-numeric-23.7   The Numeric Extension to Python
py24-ogg-1.3_1      Object-oriented Python bindings for the ogg library
py24-opengl-2.0.1.07_1 An OpenGL (and related library) interface for Python
py24-tkinter-2.4_1  Python bindings to the Tk widget set
py24-vorbis-1.4     Object-oriented Python bindings for the vorbis library
py24-wxPython-2.4.2.4_3 Python bindings for the wxWidgets/GTK GUI toolkit
pyslsk-1.2.6        Client for SoulSeek filesharing system
python-2.4          An interpreted object-oriented programming language
qca-tls-1.0_1       SSL/TLS plugin for Qt
qmake-3.3.3         The build utility of the Qt project
qt-3.3.3_3          Multiplatform C++ application framework
ruby-1.8.2.p2_1     An object-oriented interpreted scripting language
ruby18-bdb1-0.2.2   Ruby interface to Berkeley DB revision 1.8x with full 
featu
samba-libsmbclient-3.0.10_1 The shared lib from the samba packages
sane-backends-1.0.15 API for access to scanners, digitals camera, frame 
grabbers
scrollkeeper-0.3.14_1,1 An Open Document Cataloging Project
sdl-1.2.8,2         Cross-platform multi-media development API
sdocbook-xml-4.1.2.5_2 "Simplified" DocBook XML DTD
shared-mime-info-0.15_7 A MIME type database from the FreeDesktop project
speex-1.0.4_1,1     An open-source patent-free voice codec
svgalib-1.4.3_4     A low level console graphics library
swig-1.1p5_9        Simplified Wrapper and Interface Generator
t1lib-5.0.1,1       A Type 1 Rasterizer Library for UNIX/X11
taglib-1.3.1        Library for manipulating ID3 tags and Ogg comments
tcl-8.4.7,1         Tool Command Language
teTeX-2.0.2_5       A meta port for teTeX suite
teTeX-base-2.0.2_2  Thomas Esser's distribution of TeX & friends (binaries)
teTeX-texmf-2.0.2   Thomas Esser's distribution of TeX & friends (texmf tree)
tex-texmflocal-1.4  Meta-port that creates a site-local $TEXMF directory
tidy-20000804_2     Fixes and tidies up HTML files
tiff-3.7.1_2        Tools and library routines for working with TIFF images
tk-8.4.7,2          Graphical toolkit for TCL
unzip-5.51          List, test and extract compressed files in a ZIP archive
vim+ruby-6.3.16_2   Vi IMproved version 6 with embedded Ruby interpreter
wget-1.8.2_6        Retrieve files from the Net via HTTP and FTP
wv2-0.2.2           A library providing routines to access Microsoft Word 
files
wxgtk-common-2.4.2_1 The wxWidgets GUI toolkit (common files)
wxgtk2-2.4.2_5      The wxWidgets GUI toolkit (GTK2 version)
xdvik-tetex-22.78_2 DVI Previewer(kpathsearch) for X
xmlcatmgr-2.1       SGML and XML catalog manager
xmule-1.9.4.b_1     Port of eMule eDonkey P2P client using wxWindows class 
libr
xorg-6.7.0_1        X.Org distribution metaport
xorg-clients-6.8.1_1 X client programs and related files from X.Org
xorg-documents-6.7.0 Documentation of X11 protocol and libraries from X.Org
xorg-fonts-100dpi-6.7.0 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.7.0 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-6.7.0 X.Org Cyrillic bitmap fonts
xorg-fonts-encodings-6.8.1 X.Org font encoding files
xorg-fonts-miscbitmaps-6.7.0 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-6.8.1 X.Org TrueType fonts
xorg-fonts-type1-6.7.0 X.Org Type1 fonts
xorg-fontserver-6.7.0 X font server from X.Org
xorg-libraries-6.8.1_1 X11 libraries and headers from X.Org
xorg-manpages-6.7.0 X.Org library manual pages
xorg-nestserver-6.7.0 Nesting X server from X.Org
xorg-printserver-6.7.0 X Print server from X.Org
xorg-server-6.7.0_9 X.Org X server and related programs
xorg-vfbserver-6.7.0 X virtual framebuffer server from X.Org
xpdf-3.00_6         Display PDF files, and convert them to other formats
xterm-199           Terminal emulator for the X Window System
zip-2.3_1           Create/update ZIP files compatible with pkzip



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502031401.29214.digitsix-w>