Article freyasx/57 of [1-99] on the server localhost:7119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.freyasx

[FreyaSX] Re: fsearch.cgi 実行時 Segmentation fault
27 Sep 2005 14:01:39 GMT 辻 智之 <pgqaaappw-ntjwhkonw6tw.ml@delegate.org>

佐藤様
おそくなってすいません。

取り急ぎ結果をご報告いたしますので、
よろしくお願いいたします。

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)

>なお、core をはくと言うことですので、例えば、
>
>  $ gdb fseach.cgi
>  (gdb) run
>  ...
>  (gdb) bt
>
>などとしてやると、どこで異常終了しているかわかりますので、結果を見せて
>いただければ、対処できるかも知れません。

$ gdb fsearch.cgi
GNU gdb Red Hat Linux (5.2-2)
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 "i386-redhat-linux"...
(gdb) run
Starting program: /usr/local/src/FreyaSX/default/freyasx/cgi-bin/fsearch.cgi

Program received signal SIGSEGV, Segmentation fault.
0x401092fc in _IO_default_uflow (fp=0x806eee4) at genops.c:423
423     genops.c: No such file or directory.
        in genops.c
(gdb) bt
#0  0x401092fc in _IO_default_uflow (fp=0x806eee4) at genops.c:423
#1  0x40049b0b in streambuf::uflow () from /usr/lib/libstdc++-libc6.2-2.so.3
#2  0x4010849f in __uflow (fp=0x806eee4) at genops.c:377
#3  0x40103d1f in _IO_getc (fp=0x806eee4) at getc.c:41
#4  0x0805109f in sout_flush ()
#5  0x0804e9fb in main ()
#6  0x400ab336 in __libc_start_main (main=0x804e960 <main>, argc=1,
ubp_av=0xbffff384, init=0x8049f6c <_init>,
    fini=0x8063de0 <_fini>, rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbffff37c)
    at ../sysdeps/generic/libc-start.c:129
(gdb) quit
The program is running.  Exit anyway? (y or n) y
$


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V