[Haiku-commits] r28970 - in haiku/trunk/src/system/libroot/posix: glibc/stdlib glibc/wcsmbs locale
Grzegorz Dąbrowski
grzegorz.dabrowski at gmail.com
Sun Jan 25 12:13:38 CET 2009
On Tue, 20 Jan 2009 17:10:05 +0100
jackburton at mail.berlios.de wrote:
> Log:
> Imported some wide char functions from freebsd, adapted to the build,
> tried to integrate them with the glibc we are using. The mbtest
> supplied in ticket #2822 seems to work, without regressions. Please
> shout if there are issues.
Thank you Jack for trying to fix this annoying wide char bugs.
Following backtrace could be useful to create a test case:
~> gdb AboutSystem
GNU gdb 6.3
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 "i586-pc-haiku"...(no debugging
symbols found)
(gdb) run
Starting program: /boot/beos/apps/AboutSystem
Thread 161 caused an exception: Bounds check exception
Program received signal SIGTRAP, Trace/breakpoint trap.
0x0057189d in __mbsinit () from /boot/beos/system/lib/libroot.so
(gdb) bt
#0 0x0057189d in __mbsinit () from /boot/beos/system/lib/libroot.so
#1 0x0051ae51 in __mbrlen (s=0x20ef6a "© 2001-%ld The Haiku project.
", n=1, ps=0x7ffede70) at
src/system/libroot/posix/glibc/wcsmbs/mbrlen.c:33 #2 0x0050aa89 in
find_spec ( format=0x20ef6a "© 2001-%ld The Haiku project. ",
ps=0x7ffede70) at
src/system/libroot/posix/glibc/stdio-common/printf-parse.h:109 #3
0x00503cce in _IO_vfprintf (s=0x7ffee2ac, format=0x20ef60 "Copyright ©
2001-%ld The Haiku project. ", ap=0x7ffee3d4 "a")
at src/system/libroot/posix/glibc/stdio-common/vfprintf.c:1305
#4 0x004ead21 in _IO_vsnprintf (string=0x7ffee6d4 "", maxlen=1024,
format=0x20ef60 "Copyright © 2001-%ld The Haiku project. ",
args=0x7ffee3d4 "a")
at src/system/libroot/posix/glibc/libio/vsnprintf.c:130
#5 0x0050304a in __snprintf (s=0x7ffee6d4 "", maxlen=1024,
format=0x20ef60 "Copyright © 2001-%ld The Haiku project. ")
at src/system/libroot/posix/glibc/stdio-common/snprintf.c:39
#6 0x0020a7f4 in AboutView::AboutView ()
#7 0x00208ddf in AboutWindow::AboutWindow ()
#8 0x00208c9b in AboutApp::AboutApp ()
#9 0x0020d41e in main ()
--
Grzegorz Dąbrowski (kaliber)
http://tiltos.com
http://home.gna.org/pingwinek/
More information about the Haiku-commits
mailing list