Bug#520689: libnspr4-0d: Failure when re-initializing the library

Ludovico Cavedon ludovico.cavedon at gmail.com
Sun Mar 22 00:33:31 UTC 2009


Package: libnspr4-0d
Version: 4.7.1-4
Severity: normal

The libraries fails to reinitialize correctly after an
initialization/cleanup cycle.

Please see attached testcase.
If I run it I get the following output:

Init 1
Cleanup 1
success=1
Init 2
Cleanup 2

<deadlocked here>


If I set NSPR_LOG_MODULES=all:5, I get:
Init 1
-136541440[8ed2580]: Loaded library a.out (init)
Cleanup 1
-136541440[8ed2580]: PR_Cleanup: shutting down NSPR
success=1
Init 2
Segmentation fault

Thank you,
Ludovico

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.27-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages libnspr4-0d depends on:
ii  libc6                         2.9-6      GNU C Library: Shared libraries

libnspr4-0d recommends no packages.

libnspr4-0d suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nspr_testcase.c
Type: text/x-csrc
Size: 441 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20090321/b12f6cb4/attachment.c 


More information about the pkg-mozilla-maintainers mailing list