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

Bug#272170: SIGBUS in _IO_vfscanf()



Package: libc6
Version: 2.3.2.ds1-16
Severity: important

libc6 generates misaligned memory accesses within _IO_vfscanf()
which causes problems on ARM platforms. libc6 version 2.3.2.ds1-13
did not suffer from the same problem.

# cat /proc/cpuinfo
Processor       : ARM720T rev 2 (v4l)
BogoMIPS        : 41.78
Features        : swp half thumb

Hardware        : Philips Home Audio Server (SAA7752 cpu)
Revision        : 0000
Serial          : 0000000000000000

# echo 5 > /proc/cpu/alignment
# gdb testapp
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/testapp
Alignment trap: testapp (159) PC=0x401d7c84 Instr=0xe5832000 Address=0x7ffffcb2 FSR 0xe3140803

Program received signal SIGBUS, Bus error.
0x401d7c84 in _IO_vfscanf () from /lib/libc.so.6
(gdb)



-- 
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10




Reply to: