This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Regex testcase (was Re: more on cat-gets/tst-catgets)

On  5 Sep, To: wrote:
> On  4 Sep, Roland McGrath wrote:
>> I put the new test in, so everybody's make check should be catching the bug.
> HI!
> This is my make check result for posix,
> My system is powerpc linux.
> Then bug-regex11.out is empty
> Kaoru
> ----------------------------------------
> make -s -C posix tests
> make[2]: Entering directory `/usr/src/redhat/BUILD/libc/posix'
> /tmp/ccHoPcNH.o: In function `get_null_defines':
> /tmp/ccHoPcNH.o(.text+0x230): the use of `tmpnam' is dangerous, better use `mkstemp'
> /usr/src/redhat/BUILD/libc/build-ppc-linux/posix/wordexp-test.o: In function `main':
> /usr/src/redhat/BUILD/libc/posix/wordexp-test.c:243: the use of `tmpnam' is dangerous, better use `mkstemp'
> make[2]: *** [/usr/src/redhat/BUILD/libc/build-ppc-linux/posix/bug-regex11.out] Error 139
> make[2]: Target `tests' not remade because of errors.
> make[2]: Leaving directory `/usr/src/redhat/BUILD/libc/posix'
> make[1]: *** [posix/tests] Error 2

bug-regex11 gave me core

[root@g4mpkfukui posix]# GCONV_PATH=/usr/src/redhat/BUILD/libc/build-ppc-linux/iconvdata LC_ALL=C ./bug-regex11 >bug-regex11.out
Segmentation fault (core dumped)

[root@g4mpkfukui posix]# gdb bug-regex11 core.14362
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 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 "ppc-redhat-linux"...
Core was generated by `./bug-regex11'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/
Loaded symbols for /lib/
Reading symbols from /lib/
Loaded symbols for /lib/
#0  0x0ff6cd40 in proceed_next_node () from /lib/
(gdb) where
#0  0x0ff6cd40 in proceed_next_node () from /lib/
#1  0x0ff66068 in set_regs () from /lib/
#2  0x0ff65878 in re_search_internal () from /lib/
#3  0x0ff6bc60 in regexec () from /lib/
#4  0x100005b4 in main () at bug-regex11.c:45
#5  0x0fec1f6c in __libc_start_main () from /lib/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]