public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/25670] New: gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed
@ 2020-03-13 16:40 vries at gcc dot gnu.org
  2020-03-13 16:56 ` [Bug gdb/25670] " vries at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2020-03-13 16:40 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=25670

            Bug ID: 25670
           Summary: gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock:
                    Assertion `mutex->__data.__owner == 0' failed
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

With current trunk I run into:
...
Running
/data/gdb_versions/devel/src/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp ...
PASS: gdb.threads/non-ldr-exc-2.exp: successfully compiled posix threads test
case
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=off,non-stop=on: continue to
breakpoint: break-here
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=off,non-stop=on: thread 2
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=off,non-stop=on: single thread
left
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=off,non-stop=on: continue over
exec
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=on,non-stop=off: continue to
breakpoint: break-here
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=on,non-stop=off: single thread
left
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=on,non-stop=off: set
scheduler-locking on
ERROR: GDB process no longer exists
UNRESOLVED: gdb.threads/non-ldr-exc-2.exp: lock-sched=on,non-stop=off: continue
over exec
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=off,non-stop=off: continue to
breakpoint: break-here
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=off,non-stop=off: single thread
left
PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=off,non-stop=off: continue over
exec
...

In more detail:
...
(gdb) PASS: gdb.threads/non-ldr-exc-2.exp: lock-sched=on,non-stop=off: set
scheduler-locking on
continue^M
Continuing.^M
[New LWP 16332]^M
process 16332 is executing new program:
/data/gdb_versions/devel/build/gdb/testsuite/outputs/gdb.threads/non-ldr-exc-2/non-ldr-exc-2^M
gdb: ../nptl/pthread_mutex_lock.c:81: __pthread_mutex_lock: Assertion
`mutex->__data.__owner == 0' failed.^M
ERROR: GDB process no longer exists
GDB process exited with wait status 16319 exp48 0 0 CHILDKILLED SIGABRT SIGABRT
UNRESOLVED: gdb.threads/non-ldr-exc-2.exp: lock-sched=on,non-stop=off: continue
over exec
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/25670] gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed
  2020-03-13 16:40 [Bug gdb/25670] New: gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed vries at gcc dot gnu.org
@ 2020-03-13 16:56 ` vries at gcc dot gnu.org
  2020-03-13 17:49 ` vries at gcc dot gnu.org
  2020-03-15  9:50 ` vries at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2020-03-13 16:56 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=25670

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Not reproducible with couple of individual test runs.

Nothing triggers with -fsanitize=address.

Nothing triggers with -fsanitize=thread.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/25670] gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed
  2020-03-13 16:40 [Bug gdb/25670] New: gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed vries at gcc dot gnu.org
  2020-03-13 16:56 ` [Bug gdb/25670] " vries at gcc dot gnu.org
@ 2020-03-13 17:49 ` vries at gcc dot gnu.org
  2020-03-15  9:50 ` vries at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2020-03-13 17:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=25670

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
This may have been me running into glibc PR23275.

This is fixed in version 2.29, and openSUSE Leap 15.1 is using 2.26.

I've filed a backport request:
https://bugzilla.suse.com/show_bug.cgi?id=1166643 .

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/25670] gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed
  2020-03-13 16:40 [Bug gdb/25670] New: gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed vries at gcc dot gnu.org
  2020-03-13 16:56 ` [Bug gdb/25670] " vries at gcc dot gnu.org
  2020-03-13 17:49 ` vries at gcc dot gnu.org
@ 2020-03-15  9:50 ` vries at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2020-03-15  9:50 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=25670

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
My theory is that this is not a gdb bug.

So, marking resolved-invalid.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-15  9:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 16:40 [Bug gdb/25670] New: gdb.threads/non-ldr-exc-2.exp: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed vries at gcc dot gnu.org
2020-03-13 16:56 ` [Bug gdb/25670] " vries at gcc dot gnu.org
2020-03-13 17:49 ` vries at gcc dot gnu.org
2020-03-15  9:50 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).