[Pkg-utopia-maintainers] Bug#368863: hald generates unaligned trap errors on Alpha

Michael Cree mcree at orcon.net.nz
Thu Oct 16 19:00:42 UTC 2008


I've been looking into the hald unaligned trap messages on Alpha.  I can report that unaligned trap 
messages are still being generated by hald.  However, it is not hald's fault.  In my case the 
messages are:

hald(14947): unaligned trap at 00000200002083cc: 000000011fa49391 28 3
hald(14947): unaligned trap at 00000200002083ec: 000000011fa49391 2c 1

The address of the code producing the trap is above 0x0000020000000000, and on Alpha that is where 
libraries are loaded.  So note:

ldd hald
	libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x0000020000042000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x000002000007a000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00000200000de000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00000200001d2000)
	libm.so.6.1 => /lib/ev67/libm.so.6.1 (0x0000020000232000)
	libc.so.6.1 => /lib/ev67/libc.so.6.1 (0x00000200002ea000)
	libnsl.so.1.1 => /lib/ev67/libnsl.so.1.1 (0x000002000046c000)
	libselinux.so.1 => /lib/libselinux.so.1 (0x000002000049a000)
	libpcre.so.3 => /usr/lib/libpcre.so.3 (0x00000200004cc000)
	/lib/ld-linux.so.2 (0x0000020000000000)
	libdl.so.2.1 => /lib/ev67/libdl.so.2.1 (0x0000020000506000)

and libdbus-1 has greatest address less than 0x00000200002083cc (the address of code producing the 
traps).  This is the likely candidate.  Indeed, on running gdb with debug versions of hald and 
libdbus-1 I was able to identify the offending line of code and it is in the libdbus-1 library.  I 
have opened bug #502408 on the dbus and libdbus-1 packages, and once that is resolved, hald will no 
longer generate unaligned traps.

Cheers
Michael.





More information about the Pkg-utopia-maintainers mailing list