Subject: Strange pthread error
To: None <current-users@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: current-users
Date: 10/07/2005 18:04:44
This is a cryptographically signed message in MIME format.

--------------ms020509000505010301030304
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I'm getting an odd pthread-related error while running korganizer (built 
from pkgsrc).

Here's the error...

assertion "next != 0" failed: file 
"/usr/src/lib/libpthread/pthread_run.c", line 130, function "pthread__next"
DCOP aborting (delayed) call from 'anonymous-997' to 'korganizer'
ERROR: Communication problem with korganizer, it probably crashed.
KCrash: Application 'korganizer' crashing...
libkcal: ERROR: Can't read uid map file 
'/home/louis/.kde/share/kde/apps/kcal/uidmaps/remote_tIPYnS3yB4'
assertion "next != 0" failed: file 
"/usr/src/lib/libpthread/pthread_run.c", line 130, function "pthread__next"
DCOP aborting (delayed) call from 'anonymous-577' to 'korgac'
ERROR: Communication problem with korgac, it probably crashed.
KCrash: Application 'korgac' crashing...



... I'm not sure if this is a pthread issue or a kde issue. Please 
advise. More info follows. Thanks!

Louis

$ pkg_info |grep kde
kde-3.4.2           "meta-package" for the KDE integrated X11 desktop
kdetoys-3.4.2       Toys for the KDE integrated X11 desktop
kdelibs-3.4.2nb1    Support libraries for the KDE integrated X11 desktop
kdebase-3.4.2nb2    Base modules for the KDE 3 integrated X11 desktop
kdegraphics-3.4.2   Graphics programs for the KDE integrated X11 desktop
kdeaccessibility-3.4.2 Accessibility support for the KDE integrated X11 
desktop
kdeartwork-3.4.2    Artwork for the KDE integrated X11 desktop
kdegames-3.4.2nb1   Games for the KDE integrated X11 desktop
kdepim-3.4.2nb1     Personal Information Management tools for the KDE 
desktop
kdemultimedia-3.4.2 Multimedia tools for the KDE integrated X11 desktop
kdeaddons-3.4.2     Add ons for the KDE integrated X11 desktop
kdeadmin-3.4.2      System administration tools for the KDE integrated 
X11 desktop
kdeedu-3.4.2nb1     Edu{tainment,cation} tools for the KDE integrated 
X11 desktop
kdenetwork-3.4.2    Network modules for the KDE integrated X11 desktop
kdeutils-3.4.2      Utilities for the KDE integrated X11 desktop
kdewebdev-3.4.2     HTML editor and tools suitable for experienced web 
developers



$ uname -a
NetBSD shodo.berklee.net 3.99.9 NetBSD 3.99.9 (SHODO.MPACPI) #12: Mon 
Sep 26 13:34:04 EDT 2005 
louis@shodo.berklee.net:/usr/obj/sys/arch/i386/compile/SHODO.MPACPI i386

This kernel is very close to GENERIC.MPACPI...

###################################################################

--- /usr/src/sys/arch/i386/conf/GENERIC.MPACPI  2005-09-14 
15:53:12.000000000 -0400
+++ /usr/src/sys/arch/i386/conf/SHODO.MPACPI    2005-09-26 
13:23:46.000000000 -0400
@@ -1,15 +1,9 @@
-#      $NetBSD: GENERIC.MPACPI,v 1.46 2005/09/14 08:22:24 tron Exp $
-#
-#      GENERIC.MPACPI -- Generic, plus ACPI Multiprocessor support
-#
-#      Use this kernel to utilize Hyper-Threading.
+# Louis' version of GENERIC.MPACPI for SHODO

  include        "arch/i386/conf/std.i386"

  options        INCLUDE_CONFIG_FILE     # embed config file in kernel 
binary

-#ident                 "GENERIC-$Revision: 1.46 $"
-
  maxusers       32              # estimated number of users

  # CPU support.  At least one is REQUIRED.
@@ -73,7 +67,7 @@
  #options       SEMUME=10       # max number of undo entries per process
  #options       SEMMNU=30       # number of undo structures in system
  options        SYSVSHM         # System V-like memory sharing
-#options       SHMMAXPGS=2048  # 2048 pages is the default
+options        SHMMAXPGS=32768 # 2048 pages is the default
  options        P1003_1B_SEMAPHORE      # p1003.1b semaphore support

  options        LKM             # loadable kernel modules
@@ -224,7 +218,7 @@
  #options       WSEMUL_SUN              # sun terminal emulation
  options        WSEMUL_VT100            # VT100 / VT220 emulation
  # different kernel output - see dev/wscons/wsdisplayvar.h
-options        WS_KERNEL_FG=WSCOL_GREEN
+options        WS_KERNEL_FG=WSCOL_BROWN
  #options       WS_KERNEL_BG=WSCOL_BLACK
  # compatibility to other console drivers
  options        WSDISPLAY_COMPAT_PCVT           # emulate some ioctls
@@ -1010,7 +1004,7 @@
  irframe* at oboe?

  # PCI IEEE1394 controllers
-#fwohci*       at pci? dev ? function ?        # IEEE1394 Open Host 
Controller
+#fwohci* at pci? dev ? function ?      # IEEE1394 Open Host Controller

  # CardBus IEEE1394 controllers
  #fwohci*       at cardbus? function ?  # IEEE1394 Open Host Controller





###################################################################

--------------ms020509000505010301030304
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/TCC
AtkwggJCoAMCAQICAw5BgDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMzEzMDQxNDUwWhcNMDYwMzEzMDQxNDUw
WjBIMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZs
Z3VpbGxhdW1lQGJlcmtsZWUuZWR1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
7oKaqOBxvzmsqFBmyM/OW13GZwrHIWZsChw3Bg8pqCqFKoJZ2v1Z86Q6mlqXk63ctPanfLo6
Js6TQy/25POsGnglILts6amQLnE1C4fkqVc7gApM12R3VaPopWDl+Tn+cVJxsjsUvpj2OYTt
MQTv2TtcpRwbC0mZRPt7/NUctiiKnNMwwpx5kV7xwd9bLiAuxvj2rb0xxjMcV5dWDDzH335U
x2poCooXzxElhHSgiR+cowzdzw6I2O+mD3A2XLxHEH606sRzp48ywDSJ3uOVTb1h0zOIpIQd
4QfsVlN7DR+KQQlIAtig8k5lABNVoJ91Zpq4GqWC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