https://bugs.kde.org/show_bug.cgi?id=406260
Bug ID: 406260 Summary: valgrind memcheck receive SIGBUS on octeon II CPU Product: valgrind Version: 3.14.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: yushou...@ruijie.com.cn Target Milestone: --- SUMMARY valgrind memcheck receive SIGBUS on octeon II CPU CN61xx。 STEPS TO REPRODUCE 1. build a valgrind for a cavium octeonII CPU ./configure --enable-only64bit --target=mips64-octeon-linux-gnu --host=mips64-octeon-linux-gnu --prefix=/usr --program-prefix="" CFLAGS="-march=octeon2 -Werror" make gcc version is 4.7 glibc is 2.16 kernel version is 3.10 valgrind code is 3.14.0 2. try to start a program using valgrind without any param on a cavium board. get a log like this OBSERVED RESULT ==7907== Memcheck, a memory error detector ==7907== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==7907== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info ==7907== Command: /sbin/xgs.sda.sw ==7907== Parent PID: 7870 ==7907== ==7907== Invalid write of size 1 ==7907== at 0x41C7044: __pthread_initialize_minimal (in /lib/libpthread-2.16.so) ==7907== by 0x41C5A58: ??? (in /lib/libpthread-2.16.so) ==7907== Address 0xffffffffffff8d12 is not stack'd, malloc'd or (recently) free'd ==7907== ==7907== ==7907== Process terminating with default action of signal 10 (SIGBUS): dumping core ==7907== at 0x41C7044: __pthread_initialize_minimal (in /lib/libpthread-2.16.so) ==7907== by 0x41C5A58: ??? (in /lib/libpthread-2.16.so) ==7907== Invalid read of size 4 ==7907== at 0x4019518: ??? (in /lib/ld-2.16.so) ==7907== by 0x40192E8: ??? (in /lib/ld-2.16.so) ==7907== Address 0xffffffffffff8900 is not stack'd, malloc'd or (recently) free'd ==7907== ==7907== ==7907== Process terminating with default action of signal 10 (SIGBUS) ==7907== at 0x4019518: ??? (in /lib/ld-2.16.so) ==7907== by 0x40192E8: ??? (in /lib/ld-2.16.so) ==7907== ==7907== HEAP SUMMARY: ==7907== in use at exit: 0 bytes in 0 blocks ==7907== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==7907== ==7907== All heap blocks were freed -- no leaks are possible ==7907== ==7907== For counts of detected and suppressed errors, rerun with: -v ==7907== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 3 from 3) EXPECTED RESULT SOFTWARE/OS VERSIONS Linux/KDE Plasma: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.