Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <03a5f237-87cd-5580-4148-a29fa22d3ef0@adelielinux.org>
Date: Fri, 7 Dec 2018 13:13:44 -0600
From: "A. Wilcox" <awilfox@...lielinux.org>
To: musl@...ts.openwall.com
Subject: Re: aio_cancel segmentation fault for in progress write
 requests

Okay, it's a race of some kind:

awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so
musl libc (powerpc64)
Version 1.1.20-git-156-gb1c58cb9
Dynamic Program Loader
Usage: lib/libc.so [options] [--] pathname [args]
awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so ~/aioWrite

zsh: segmentation fault  lib/libc.so ~/aioWrite
awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so ~/aioWrite
zsh: segmentation fault  lib/libc.so ~/aioWrite
awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so ~/aioWrite
zsh: segmentation fault  lib/libc.so ~/aioWrite
awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so ~/aioWrite
zsh: segmentation fault  lib/libc.so ~/aioWrite
awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so ~/aioWrite
zsh: segmentation fault  lib/libc.so ~/aioWrite
awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so ~/aioWrite
zsh: segmentation fault  lib/libc.so ~/aioWrite
awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so ~/aioWrite
aio_write/1-1.c cancelationStatus : 2
Test PASSED
awilcox on gwyn [pts/7 Fri 7 13:12] musl: lib/libc.so ~/aioWrite
zsh: segmentation fault  lib/libc.so ~/aioWrite


So, my best theory is that running inside a debugger (gdb, valgrind)
makes it slow enough that it no longer races.

Best,
--arw


-- 
A. Wilcox (awilfox)
Project Lead, Adélie Linux
https://www.adelielinux.org



Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.