Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRD swapcontext hangs on FreeBSD 13.2 i386 #198

Open
paulfloyd opened this issue Apr 13, 2023 · 0 comments
Open

DRD swapcontext hangs on FreeBSD 13.2 i386 #198

paulfloyd opened this issue Apr 13, 2023 · 0 comments

Comments

@paulfloyd
Copy link
Owner

paulfloyd commented Apr 13, 2023

Does it hang standalone? No.

Any relationship to #163 ?

sigframe hasn't changed? Not that I can see.

When it hangs, lots of

--840:4: gdbsrv VG_(gdbserver_report_syscall) before 1 sysno 423 tid 2
--840:4: gdbsrv VG_(gdbserver_report_syscall) before 0 sysno 423 tid 2
--840:4: gdbsrv VG_(gdbserver_report_syscall) before 1 sysno 240 tid 2
--840:4: gdbsrv VG_(gdbserver_report_syscall) before 0 sysno 240 tid 3
--840:4: gdbsrv VG_(gdbserver_report_syscall) before 1 sysno 423 tid 3
--840:4: gdbsrv VG_(gdbserver_report_syscall) before 0 sysno 423 tid 3

That's
GENXY(__NR_nanosleep, sys_nanosleep), // 240
and
BSDXY(__NR_swapcontext, sys_swapcontext), // 423

Tracing syscalls

SYSCALL846,7 sys_swapcontext ( 0xfbbf1020, 0xfbbf0d60 ) --> [pre-success] NoWriteResult
SYSCALL846,7 sys_nanosleep ( 0x630be1c, 0x0 ) --> [async] ...
SYSCALL846,6 ... [async] --> Success(0x0)
SYSCALL846,6 sys_swapcontext ( 0xfbbf07d0, 0xfbbf0510 ) --> [pre-success] NoWriteResult
SYSCALL846,6 sys_nanosleep ( 0x63088ac, 0x0 ) --> [async] ...
SYSCALL846,7 ... [async] --> Success(0x0)
SYSCALL846,7 sys_swapcontext ( 0xfbbf0d60, 0xfbbf1020 ) --> [pre-success] NoWriteResult
SYSCALL846,7 sys_nanosleep ( 0x630d63c, 0x0 ) --> [async] ...

Can't see anything version specific in there.

@paulfloyd paulfloyd changed the title swapcontext hangs on FreeBSD 13.2 i386 DRD swapcontext hangs on FreeBSD 13.2 i386 Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant