[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/30060] New: ASAN error: in bfd_cache_close /buildworker/ma
From: |
mliska at suse dot cz |
Subject: |
[Bug binutils/30060] New: ASAN error: in bfd_cache_close /buildworker/marxinbox-cross-binutils-sanitizers/build/bfd/cache.c:532 |
Date: |
Mon, 30 Jan 2023 10:13:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30060
Bug ID: 30060
Summary: ASAN error: in bfd_cache_close
/buildworker/marxinbox-cross-binutils-sanitizers/build
/bfd/cache.c:532
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: mliska at suse dot cz
CC: amodra at gmail dot com
Target Milestone: ---
Since 8219cab3f883cb9981e533407d3ce93d9da7d5f2, I see the following ASAN error:
configure --build=x86_64-linux --disable-gdb --disable-gdbserver
--disable-werror --enable-obsolete --target=alpha-dec-vms CFLAGS="-g -O2
-fsanitize=address,undefined -Wno-error"CXXLAGS="-g -O2
-fsanitize=address,undefined -Wno-error"LDFLAGS="-ldl"
Target: alpha-dec-vms
| exit( YY_EXIT_FAILURE );
Executing on host: /dev/shm/8klydwaz/binutils/ar rc tmpdir/artest.a
tmpdir/abcdefghijklmnopqrstuvwxyz1 tmpdir/abcdefghijklmnopqrstuvwxyz2
(timeout = 300)
==14883==ERROR: AddressSanitizer: heap-use-after-free on address 0x6120000007d8
at pc 0x00000045582b bp 0x7fffffffbac0 sp 0x7fffffffbab8
#0 0x45582a in bfd_cache_close
/buildworker/marxinbox-cross-binutils-sanitizers/build/bfd/cache.c:532
#1 0x424ffe in remove_output
/buildworker/marxinbox-cross-binutils-sanitizers/build/binutils/ar.c:442
#2 0x623911 in xatexit_cleanup
/buildworker/marxinbox-cross-binutils-sanitizers/build/libiberty/xatexit.c:98
#3 0x623ce4 in xexit
/buildworker/marxinbox-cross-binutils-sanitizers/build/libiberty/xexit.c:50
#4 0x42e707 in bfd_fatal
/buildworker/marxinbox-cross-binutils-sanitizers/build/binutils/bucomm.c:110
#5 0x426f79 in write_archive
/buildworker/marxinbox-cross-binutils-sanitizers/build/binutils/ar.c:1304
#6 0x427fd1 in replace_members
/buildworker/marxinbox-cross-binutils-sanitizers/build/binutils/ar.c:1566
#7 0x4185eb in main
/buildworker/marxinbox-cross-binutils-sanitizers/build/binutils/ar.c:946
#8 0x7ffff6e2c5af in __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
#9 0x7ffff6e2c678 in __libc_start_main_impl ../csu/libc-start.c:381
#10 0x41a024 in _start ../sysdeps/x86_64/start.S:115
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/30060] New: ASAN error: in bfd_cache_close /buildworker/marxinbox-cross-binutils-sanitizers/build/bfd/cache.c:532,
mliska at suse dot cz <=