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

Bug#234691: sparc64 too..



Hi,

At Wed, 26 May 2004 12:08:17 +0900,
GOTO Masanori wrote:
> #234691 is the last RC bug for debian glibc package.  I digged this
> problem, and it seemed it was not glibc iconv(3) problem.  I suspect
> mkisofs mkisofs iconv patch.  Joerg, could you reproduce this problem
> on sparc and on i386?  Looking at the input data of iconv(3), I
> suspected the behavior of mkisofs is really correct.  I plan to
> reassign this bug to mkisofs because iconv(3) just works.

I confirmed that #234691 is glibc bug, not mkisofs.  

Sometimes pointers of inbuf/outbuf of iconv(inbuf, outbuf) is
unaligned (not 2 or 4 byte alignment), but glibc iconv routine for
UCS-2LE/UCS-2BE cannot handle such unaligned memory access.  This
causes problems on some architectures which does not allow unaligned
memory access like sparc, hppa, alpha, and so on.

Generally kernels on such architectures recover automatically, but
linux/sparc sends process SIGBUS when it's trapped unaligned access
exception.

I've put the fix for the current debian-glibc cvs.  This bug will be
fixed in 2.3.2.ds1-14.  Now glibc and linux-kernel-headers packages
are RC bug free for releasing sarge!

Regards,
-- gotom




Reply to: