bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/32096] UBSAN issues in gprofng


From: sam at gentoo dot org
Subject: [Bug gprofng/32096] UBSAN issues in gprofng
Date: Wed, 11 Sep 2024 20:49:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32096

--- Comment #5 from Sam James <sam at gentoo dot org> ---
Thanks for the fixes so far.

In addition to what Arsen said wrt Vector, I see this too:
```
unwind.c:1559:10: runtime error: load of misaligned address 0x623e5a670173 for
type 'int', which requires 4 byte alignment
0x623e5a670173: note: pointer points here
 d7  ff d0 b8 00 00 00 00 e8  69 e6 ff ff 48 8b 55 f8  48 89 82 88 00 00 00 b8 
00 00 00 00 e8 49 e6
              ^
    #0 0x79413e876884 in read_int
/home/sam/git/binutils-gdb/gprofng/libcollector/unwind.c:1559
    #1 0x79413e876884 in find_i386_ret_addr
/home/sam/git/binutils-gdb/gprofng/libcollector/unwind.c:3351
    #2 0x79413e88372c in stack_unwind
/home/sam/git/binutils-gdb/gprofng/libcollector/unwind.c:4474
    #3 0x79413e885353 in __collector_get_frame_info
/home/sam/git/binutils-gdb/gprofng/libcollector/unwind.c:601
    #4 0x79413e818b82 in __collector_ext_profile_handler
/home/sam/git/binutils-gdb/gprofng/libcollector/profile.c:282
    #5 0x79413de20fdf  (/usr/lib64/libc.so.6+0x1efdf)
    #6 0x623e5a670695 in addone
/home/sam/git/binutils-gdb/gprofng/testsuite/gprofng.display/mttest/mttest.c:1139
    #7 0x623e5a6704df in computeF
/home/sam/git/binutils-gdb/gprofng/testsuite/gprofng.display/mttest/mttest.c:1093
    #8 0x623e5a670171 in calladd
/home/sam/git/binutils-gdb/gprofng/testsuite/gprofng.display/mttest/mttest.c:1008
    #9 0x623e5a66f68d in do_work
/home/sam/git/binutils-gdb/gprofng/testsuite/gprofng.display/mttest/mttest.c:650
    #10 0x79413e804be3 in collector_root
/home/sam/git/binutils-gdb/gprofng/libcollector/dispatcher.c:1123
    #11 0x79413de7f708 in start_thread
/usr/src/debug/sys-libs/glibc-2.40-r1/glibc-2.40/nptl/pthread_create.c:447
    #12 0x79413df03197 in __clone3
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]