We're updating the issue view to help you get more done. 

genrb crases on ar.txt (CVS HEAD)

Description

From a fresh checkout of ICU as of today, and after removing installed libicu-*
libraries.

gabier% ./configure --prefix=/usr

[attempt at build here; I then edited Makefile to show the command-line
for
genrb's invokation, just to show it there|First]

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 gabier% cd tools; emacs Makefile gabier% make Creating compiled resource file for ../../../data/ar.txt ICU_DATA=../../data/ ./genrb -D/home/yves/src/icu/icu/source/../data// ../../../ data/ar.txt make: *** [/home/yves/src/icu/icu/source/../data//ar.res] Segmentation fault make: *** Deleting file `/home/yves/src/icu/icu/source/../data//ar.res' gabier% ICU_DATA=../../data/ gdb ./genrb GNU gdb 19990928 Copyright 1998 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 "i686-pc-linux-gnu"... (gdb) r -D/home/yves/src/icu/icu/source/../data// ../../../data/ar.txt Starting program: /home/yves/src/icu/icu/source/tools/genrb/./genrb -D/home/yves Program received signal SIGSEGV, Segmentation fault. u_strlen (s=0x0) at ustring.c:173 173 ustring.c: No such file or directory. (gdb) bt #0 u_strlen (s=0x0) at ustring.c:173 #1 0x804a297 in write_ustring (rb=0x8050228, data=0x0) at write.c:59 #2 0x804a4aa in rb_write (f=0x8050228, data=0x804cc48, status=0x7ffff968) at write.c:163 #3 0x80490f5 in processFile (filename=0x7ffffb58 "../../../data/ar.txt", cp=0x804b100 "", outputDir=0x7ffffb30 "/home/yves/src/icu/icu/source/../data//", status=0x7ffff968) at genrb.c:210 #4 0x8048f0c in main (argc=3, argv=0x7ffff9d4) at genrb.c:134 (gdb) up #1 0x804a297 in write_ustring (rb=0x8050228, data=0x0) at write.c:59 59 len = u_strlen(data); (gdb) up #2 0x804a4aa in rb_write (f=0x8050228, data=0x804cc48, status=0x7ffff968) at write.c:163 163 write_ustring(f, data->fLocale); (gdb) p *data $1 = {fLocale = 0x0, fData = 0x80500c8, fCount = 0, fCapacity = 64} (gdb)

Environment

Status

Assignee

TracBot

Reporter

TracBot

Labels

tracCreated

Feb 22, 2000, 10:12 PM

tracProject

all

tracReporter

yves@3d6bff282d01d21e

tracResolution

wontfix

tracStatus

closed

Components

Priority

blocker