Date: Thu, 23 Nov 2023 08:37:15 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275276] benchmars/ramspeed do not work on amd64 now Message-ID: <bug-275276-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275276 Bug ID: 275276 Summary: benchmars/ramspeed do not work on amd64 now Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: gja822@narod.ru benchmarks/ramspeed compiles (although with warnings in amd64/ssemem.s havi= ng "fst" without suffix - should be "fstps" due to addresses), but then do not work. $ ramspeed -b18 RAMspeed/SMP (FreeBSD) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes Bus error (core dumped) And under debugger it shows error with jemmaloc: $ gdb /usr/local/bin/ramspeed GNU gdb (GDB) 13.2 [GDB v13.2 for FreeBSD] Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm= l> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd12.4". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/bin/ramspeed... (No debugging symbols found in /usr/local/bin/ramspeed) (gdb) r -b18 Starting program: /usr/local/bin/ramspeed -b18 RAMspeed/SMP (FreeBSD) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes [Detaching after fork from child process 77663] Program received signal SIGBUS, Bus error. Object-specific hardware error. 0x000000080055b73c in __je_extents_alloc (tsdn=3D0x800459090, arena=3D0x800= a00980,=20 r_extent_hooks=3D0x7fffffffe630, extents=3D0x800a025c8, new_addr=3D0x0, size=3D83886080, pad=3D4096,=20 alignment=3D64, slab=3D<optimized out>, szind=3D85, zero=3D0x7fffffffe6= 87, commit=3D0x7fffffffe62f) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_extent.c:504 504 /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_extent.c: No such fi= le or directory. (gdb) c Continuing. Program terminated with signal SIGBUS, Bus error. The program no longer exists. (gdb) r -b18 Starting program: /usr/local/bin/ramspeed -b18 RAMspeed/SMP (FreeBSD) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes [Detaching after fork from child process 77671] Program received signal SIGBUS, Bus error. Object-specific hardware error. 0x000000080055b73c in __je_extents_alloc (tsdn=3D0x800459090, arena=3D0x800= a00980,=20 r_extent_hooks=3D0x7fffffffe630, extents=3D0x800a025c8, new_addr=3D0x0, size=3D83886080, pad=3D4096,=20 alignment=3D64, slab=3D<optimized out>, szind=3D85, zero=3D0x7fffffffe6= 87, commit=3D0x7fffffffe62f) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_extent.c:504 504 /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_extent.c: No such fi= le or directory. (gdb) where #0 0x000000080055b73c in __je_extents_alloc (tsdn=3D0x800459090, arena=3D0x800a00980,=20 r_extent_hooks=3D0x7fffffffe630, extents=3D0x800a025c8, new_addr=3D0x0, size=3D83886080, pad=3D4096,=20 alignment=3D64, slab=3D<optimized out>, szind=3D85, zero=3D0x7fffffffe6= 87, commit=3D0x7fffffffe62f) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_extent.c:504 #1 0x0000000800574fec in __je_arena_extent_alloc_large (tsdn=3D0x800459090, arena=3D0x800a00980,=20 usize=3D83886080, alignment=3D64, zero=3D0x7fffffffe687) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_arena.c:338 #2 0x0000000800557323 in __je_large_palloc (tsdn=3D0x800459090, arena=3D<o= ptimized out>,=20 usize=3D83886080, alignment=3D64, zero=3D<optimized out>) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_large.c:47 #3 0x000000080057ba43 in arena_malloc (tsdn=3D0x800459090, arena=3D0x0, size=3D67112960, ind=3D85,=20 zero=3Dfalse, tcache=3D0x5000000, slow_path=3Dfalse) at /usr/src/contrib/jemalloc/include/jemalloc/internal/arena_inlines_b.h:105 #4 iallocztm (tsdn=3D0x800459090, size=3D67112960, ind=3D85, zero=3Dfalse, tcache=3D0x5000000,=20 is_internal=3Dfalse, arena=3D0x0, slow_path=3Dfalse) at /usr/src/contrib/jemalloc/include/jemalloc/internal/jemalloc_internal_inlin= es_c.h:53 #5 imalloc_no_sample (size=3D67112960, ind=3D85, sopts=3D<optimized out>, dopts=3D<optimized out>,=20 tsd=3D<optimized out>, usize=3D<optimized out>) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_jemalloc.c:1713 #6 imalloc_body (sopts=3D<optimized out>, dopts=3D<optimized out>, tsd=3D<= optimized out>) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_jemalloc.c:1909 #7 imalloc (sopts=3D<optimized out>, dopts=3D<optimized out>) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_jemalloc.c:2009 --Type <RET> for more, q to quit, c to continue without paging-- #8 __malloc (size=3D<optimized out>) at /usr/obj/usr/src/amd64.amd64/lib/libc/jemalloc_jemalloc.c:2042 #9 0x00000000004116a8 in ?? () #10 0x0000000000000002 in ?? () #11 0x00007fffffffe8b0 in ?? () #12 0x000000080042094d in _rtld_bind_start () at /usr/src/libexec/rtld-elf/amd64/rtld_start.S:121 #13 0x0000000000407e8b in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) c Continuing. Program terminated with signal SIGBUS, Bus error. The program no longer exists. (gdb) q I am aware that this port is quite outdated and unmaintained, but still the= bug is the bug=E2=80=A6 By the way, what's more up-to-date port is recommended to benchmark (or even test) RAM? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275276-7788>