This is the mail archive of the libc-alpha@cygnus.com 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]

libg++ 2.8.1.1 - sigsegv in re_compile_fastmap(..)


>Submitter-Id:	net
>Originator:	Therapy?
>Organization:
  bye,
  	therapy 
>
>Confidential:	no
>Synopsis:	libg++ 2.8.1.1 - sigsegv in re_compile_fastmap of Regex:Regex(..)
>Severity:	serious
>Priority:	medium
>Category:	libc
>Class:		sw-bug
>Release:	libc-2.0.95
>Environment:
	libg++ 2.8.1.1 
Host type: i586-pc-linux-gnu
System: Linux guardian 2.1.120 #4 Wed Sep 9 15:23:21 MET DST 1998 i586
Architecture: i586

Addons: crypt linuxthreads

Build CC: gcc
Compiler version: egcs-2.91.57 19980901 (egcs-1.1 release)
Kernel headers: 2.1.120
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio

>Description:
	netscape 4.5glibc2 needs libg++.so.2.7.2.. 
so i compiled libg++-2.8.1.1 in combination with libstdc++ (which says to be 
2.9.0) of egcs. - as far as i can find out Regex::Regex (of libg++/src/Regex.cc) 
calls re_compile_fastmap of glibc/posix/regex.c which sigsegv's before
INIT_FAIL_STACK.. haven't done any further bugtracking.. 
probably because netscape needs 2.7.2 and not 2.8.1.1 but i guess this does not matter..

---
(gdb) run
Starting program: /usr/local/netscape/netscape 
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x401af2c1 in __bzero ()
(gdb) bt
#0  0x401af2c1 in __bzero ()
#1  0x8bfc040 in ?? ()
---comment
^^ i'm not so familiar with debugging - can anyone tell me whats at this adress? looks like a stack address to me..
---/comment
#2  0x4024c1da in Regex::Regex (this=0x40281100, 
    t=0x4026daef "[ \n\t\r\013\f]+", fast=1, bufsize=40, transtable=0x0)
    at ../../../../libg++/src/Regex.cc:77
#3  0x4024c429 in global constructors keyed to Regex::~Regex ()
    at ../../../../libg++/src/Regex.cc:141
#4  0x4026da04 in __do_global_ctors_aux ()
#5  0x4024a312 in _init ()
#6  0x400024d2 in _dl_start_user () at rtld.c:113
#7  0x8bfd000 in ?? ()
Cannot access memory at address 0x8bfe000.


>How-To-Repeat:
	communicator-v45b1.x86-unknown-linux2.0 + libg++ 2.8.1.1 forced libg++ 2.7.2

>Fix:
	unknown.


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