apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45248] New: testlockperf of apr_thread_rwlock_t stalls forever on i686 Linux / glibc 2 .7
Date Fri, 20 Jun 2008 23:36:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45248

           Summary: testlockperf of apr_thread_rwlock_t stalls forever on
                    i686 Linux / glibc 2.7
           Product: APR
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR test
        AssignedTo: bugs@apr.apache.org
        ReportedBy: nix@esperi.org.uk


(I first saw this in APR 1.2.12: it is still present in 1.3.2.)

The symptoms are:

apr_thread_rwlock_t Tests
    Initializing the apr_thread_rwlock_t                    OK
    Starting 3 threads    OK
[indefinite stall]

gdb shows that the lock is still outstanding:

(gdb) bt
#0  0x40000424 in __kernel_vsyscall ()
#1  0x4b28b478 in pthread_join () from /lib/libpthread.so.0
#2  0x4002222f in apr_thread_join (retval=0xbfe707bc, thd=0x9e09348) at
threadproc/unix/thread.c:217
#3  0x08048c97 in test_thread_rwlock (num_threads=2) at testlockperf.c:212
#4  0x08049228 in main (argc=Cannot access memory at address 0x0
) at testlockperf.c:276
(gdb) thread 2
[Switching to thread 2 (Thread 0x40451b90 (LWP 9811))]#0  0x40000424 in
__kernel_vsyscall ()
(gdb) bt
#0  0x40000424 in __kernel_vsyscall ()
#1  0x4b290ec2 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0x4b28de60 in pthread_rwlock_wrlock () from /lib/libpthread.so.0
(gdb) thread 3
Thread ID 3 not known.
(gdb) bt
#0  0x40000424 in __kernel_vsyscall ()
#1  0x4b290ec2 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0x4b28de60 in pthread_rwlock_wrlock () from /lib/libpthread.so.0
(gdb) quit


I'm not really sure where to go from here. It's not at all obvious what's
wrong.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message