mailing list of musl libc
 help / color / mirror / code / Atom feed
* libc-test reports
@ 2015-06-18  5:47 Waldemar Brodkorb
  2015-06-18  9:33 ` Szabolcs Nagy
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Waldemar Brodkorb @ 2015-06-18  5:47 UTC (permalink / raw)
  To: musl

Hi,

I know Rich doesn't like the embedded-test Skript, because
the toolchains are build the first time it runs.
But here are the results from a complete run for 1.10
and git from yesterday:

http://tests.embedded-test.org/musl/

best regards
 Waldemar



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

* Re: libc-test reports
  2015-06-18  5:47 libc-test reports Waldemar Brodkorb
@ 2015-06-18  9:33 ` Szabolcs Nagy
  2015-06-18 18:51   ` Rich Felker
  2015-06-18 13:56 ` Rich Felker
  2015-06-19 18:00 ` Szabolcs Nagy
  2 siblings, 1 reply; 7+ messages in thread
From: Szabolcs Nagy @ 2015-06-18  9:33 UTC (permalink / raw)
  To: musl

* Waldemar Brodkorb <wbx@openadk.org> [2015-06-18 07:47:33 +0200]:
> I know Rich doesn't like the embedded-test Skript, because
> the toolchains are build the first time it runs.
> But here are the results from a complete run for 1.10
> and git from yesterday:
> 
> http://tests.embedded-test.org/musl/
> 

thanks

i assume the x86 math errors are qemu's fault

but that does not explain all the failures..
i will look at it later


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

* Re: libc-test reports
  2015-06-18  5:47 libc-test reports Waldemar Brodkorb
  2015-06-18  9:33 ` Szabolcs Nagy
@ 2015-06-18 13:56 ` Rich Felker
  2015-06-19 18:00 ` Szabolcs Nagy
  2 siblings, 0 replies; 7+ messages in thread
From: Rich Felker @ 2015-06-18 13:56 UTC (permalink / raw)
  To: musl

On Thu, Jun 18, 2015 at 07:47:33AM +0200, Waldemar Brodkorb wrote:
> Hi,
> 
> I know Rich doesn't like the embedded-test Skript, because
> the toolchains are build the first time it runs.
> But here are the results from a complete run for 1.10
> and git from yesterday:

I don't dislike it; it's just not practical for re-running tests after
every compile during development, which is what I was looking to be
able to do.

Rich


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

* Re: libc-test reports
  2015-06-18  9:33 ` Szabolcs Nagy
@ 2015-06-18 18:51   ` Rich Felker
  2015-06-18 22:02     ` Szabolcs Nagy
  0 siblings, 1 reply; 7+ messages in thread
From: Rich Felker @ 2015-06-18 18:51 UTC (permalink / raw)
  To: musl

On Thu, Jun 18, 2015 at 11:33:02AM +0200, Szabolcs Nagy wrote:
> * Waldemar Brodkorb <wbx@openadk.org> [2015-06-18 07:47:33 +0200]:
> > I know Rich doesn't like the embedded-test Skript, because
> > the toolchains are build the first time it runs.
> > But here are the results from a complete run for 1.10
> > and git from yesterday:
> > 
> > http://tests.embedded-test.org/musl/
> > 
> 
> thanks
> 
> i assume the x86 math errors are qemu's fault
> 
> but that does not explain all the failures..
> i will look at it later

Looking at x86 (i386) results for 1.1.10:

iconv errors are wrong test assumptions; they fail with current musl.

sem_open segfault is probably failure of the test to handle
non-existence of /dev/shm or failure of it to have mode 1777; if so
this is an error in the test environment but it would be nice for the
test to report the error rather than crashing.

strtod failures on x86 are expected because of broken emulation.

remaining math issues I'll leave for nsz. :-)

fgets-eof-static looks like some linking breakage. It could indicate a
new toolchain bug we're not aware of, so I'd really like to see the
binary that crashes.

pthread-robust-detach is a broken test -- it's unstable under
timing/scheduling differences. It should use lock rather than trylock,
but then it would hang on failure. Timedlock with a 10-50ms timeout or
so would be a decent compromise.

regex-escaped-high-byte failure is odd. It should fail in musl git
without latest libc-test (because of byte-based C locale) but should
not fail on 1.1.10.

statvfs is probably a filesystem oddity of the test environment.

strverscmp is a known issue in musl, patch still pending review/merge.

Rich


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

* Re: libc-test reports
  2015-06-18 18:51   ` Rich Felker
@ 2015-06-18 22:02     ` Szabolcs Nagy
  0 siblings, 0 replies; 7+ messages in thread
From: Szabolcs Nagy @ 2015-06-18 22:02 UTC (permalink / raw)
  To: musl

* Rich Felker <dalias@libc.org> [2015-06-18 14:51:08 -0400]:
> Looking at x86 (i386) results for 1.1.10:
> 
> iconv errors are wrong test assumptions; they fail with current musl.

fixed

> sem_open segfault is probably failure of the test to handle
> non-existence of /dev/shm or failure of it to have mode 1777; if so
> this is an error in the test environment but it would be nice for the
> test to report the error rather than crashing.

only sem_open-static.exe fails, so i'm not sure what's the problem

(if /dev/shm were broken then the failure of sem_open would be printed)

> strtod failures on x86 are expected because of broken emulation.
> 
> remaining math issues I'll leave for nsz. :-)

if the test machine is x86 with /dev/kvm then run qemu with --enable-kvm
(x87 emulation is too broken otherwise)

> fgets-eof-static looks like some linking breakage. It could indicate a
> new toolchain bug we're not aware of, so I'd really like to see the
> binary that crashes.

another weird -static only failure

> pthread-robust-detach is a broken test -- it's unstable under

fixed

> regex-escaped-high-byte failure is odd. It should fail in musl git
> without latest libc-test (because of byte-based C locale) but should
> not fail on 1.1.10.

current libc-test has setlocale(LC_CTYPE, "C.UTF-8");


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

* Re: libc-test reports
  2015-06-18  5:47 libc-test reports Waldemar Brodkorb
  2015-06-18  9:33 ` Szabolcs Nagy
  2015-06-18 13:56 ` Rich Felker
@ 2015-06-19 18:00 ` Szabolcs Nagy
  2015-06-22 14:08   ` Szabolcs Nagy
  2 siblings, 1 reply; 7+ messages in thread
From: Szabolcs Nagy @ 2015-06-19 18:00 UTC (permalink / raw)
  To: musl

* Waldemar Brodkorb <wbx@openadk.org> [2015-06-18 07:47:33 +0200]:
> But here are the results from a complete run for 1.10
> and git from yesterday:
> 
> http://tests.embedded-test.org/musl/
> 

can you make these binaries available somewhere:
FAIL ./src/functional/sem_open-static.exe [signal Segmentation fault]
FAIL ./src/regression/fgets-eof-static.exe [signal Segmentation fault]

(for me the x86_64 versions are enough, you can mail them)

thanks


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

* Re: libc-test reports
  2015-06-19 18:00 ` Szabolcs Nagy
@ 2015-06-22 14:08   ` Szabolcs Nagy
  0 siblings, 0 replies; 7+ messages in thread
From: Szabolcs Nagy @ 2015-06-22 14:08 UTC (permalink / raw)
  To: musl

* Szabolcs Nagy <nsz@port70.net> [2015-06-19 20:00:30 +0200]:
> * Waldemar Brodkorb <wbx@openadk.org> [2015-06-18 07:47:33 +0200]:
> > But here are the results from a complete run for 1.10
> > and git from yesterday:
> > 
> > http://tests.embedded-test.org/musl/
> > 
> 
> can you make these binaries available somewhere:
> FAIL ./src/functional/sem_open-static.exe [signal Segmentation fault]
> FAIL ./src/regression/fgets-eof-static.exe [signal Segmentation fault]
> 

ok, both of them die the exact same way:

brk(0)                                  = 0x1cf6000
brk(0x1cf8000)                          = 0x1cf8000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1cf5ff8} ---

a dereference 8 bytes before the first brk

there is no debug info, but based on the asm it seems to be
the p[-1] access in calloc.c:

	p = malloc(n);
	if (!p) return 0;
	/* Only do this for non-mmapped chunks */
	if (((size_t *)p)[-1] & 7) {

i think __simple_malloc is used in these tests.


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

end of thread, other threads:[~2015-06-22 14:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18  5:47 libc-test reports Waldemar Brodkorb
2015-06-18  9:33 ` Szabolcs Nagy
2015-06-18 18:51   ` Rich Felker
2015-06-18 22:02     ` Szabolcs Nagy
2015-06-18 13:56 ` Rich Felker
2015-06-19 18:00 ` Szabolcs Nagy
2015-06-22 14:08   ` Szabolcs Nagy

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).