smokey's fork tests hangs?

Lange Norbert norbert.lange at andritz.com
Thu Mar 7 15:55:41 CET 2019


Hello,

I have problems with the fork tests, they both hang for me.

# xeno smokey --run=11 --verbose=2
<hangs>

# xeno smokey --run=20 --verbose=2
no leak withthread
no leak withmutex
no leak withcond
no leak withsem
no leak withnamed sem
no leak withtimer
no leak withmq
<hangs>

When started under gdb, the parent is running into waitpid,
The child is stuck at an innocent locking snippet [1].

#0  __lll_lock_wait_private ()
    at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:63
#1  0x00007ffff7ed74de in __GI___register_atfork (
    prepare=0x7ffff7f5edc0 <atfork_lock>, prepare at entry=0x0,
    parent=parent at entry=0x0,
    child=child at entry=0x7ffff7f9f4e0 <cobalt_fork_handler>,
    dso_handle=0x7ffff7de0e5b <__lll_lock_wait_private+27>)
    at register-atfork.c:40
#2  0x00007ffff7faca9d in __pthread_atfork (prepare=prepare at entry=0x0,
    parent=parent at entry=0x0,
    child=child at entry=0x7ffff7f9f4e0 <cobalt_fork_handler>)
    at pthread_atfork.c:51
#3  0x00007ffff7f9f307 in __cobalt_init ()
    at /home/lano/buildroot/build/xenomai/lib/cobalt/init.c:212
#4  cobalt_init () at /home/lano/buildroot/build/xenomai/lib/cobalt/init.c:252
#5  0x00007ffff7f9f4fc in cobalt_fork_handler ()
    at /home/lano/buildroot/build/xenomai/lib/cobalt/init.c:192
#6  0x00007ffff7ed7898 in __run_fork_handlers (who=who at entry=atfork_run_child)
    at register-atfork.c:134
#7  0x00007ffff7e9b04a in __libc_fork () at ../sysdeps/nptl/fork.c:137
#8  0x0000000000408d0b in ?? ()
#9  0x00000000004051d1 in main ()

[1] - https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/x86_64/lowlevellock.S;h=71dd740202b1d6501a2ffd929aa99cbd99a019ef;hb=1e5c5303a522764d7e9d2302a60e4a32cdb902f1


Mit besten Grüßen / Kind regards

NORBERT LANGE
AT-DES

ANDRITZ HYDRO GmbH
Eibesbrunnergasse 20
1120 Vienna / AUSTRIA
p: +43 50805 56684
norbert.lange at andritz.com
andritz.com
________________________________

This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.

ANDRITZ HYDRO GmbH


Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation

Firmensitz/ Registered seat: Wien

Firmenbuchgericht/ Court of registry: Handelsgericht Wien

Firmenbuchnummer/ Company registration: FN 61833 g

DVR: 0605077

UID-Nr.: ATU14756806


Thank You
________________________________



More information about the Xenomai mailing list