Article View: gnu.utils.bug
Article #671Re: GNU regex routines.(for xxgdb) on AIX
From: Joachim Schrod
Date: Fri, 28 Aug 1992 14:52
Date: Fri, 28 Aug 1992 14:52
28 lines
1646 bytes
1646 bytes
In article <y-qyrwk@rpi.edu>, ramabs2@rpi.edu (Shiva Ramabadran) writes: > > I'm running into problems using them on an Rs/6000 running > AIX 3.1 (or 3.2 for that matter.) Specifically, I'm trying to > compile xxgdb on an rs/6000 and running into problems with Regexp > parsing using these routines. > > It SEGV's attempting recognize the most simple of regexp's > like '[ ]*'. Have you applied the patch Torsten Ohl posted a few months ago? Basically, the regexp package do not work when alloca() is used to get the space for the nodes. Then storage is accessed (with a read operation) which is never allocated; that can cause a SEGV like in your case. There is a #define at the very top to discard the usage of alloca(), use this. Oh yes, a good tool for analyzing such errors is the debugging malloc library (posted in c.s.r and available from all good archives). -- Joachim =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Joachim Schrod Email: schrod@iti.informatik.th-darmstadt.de Computer Science Department Technical University of Darmstadt, Germany
Technical Details
Message-ID:
<1992Aug28.145242.20634@news.th-darmstadt.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!iti.INformatik.TH-darmstadt.DE!schrodReferences:
<y-qyrwk@rpi.edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!iti.INformatik.TH-darmstadt.DE!schrod From: schrod@iti.INformatik.TH-darmstadt.DE (Joachim Schrod) Subject: Re: GNU regex routines.(for xxgdb) on AIX Message-ID: <1992Aug28.145242.20634@news.th-darmstadt.de> Sender: gnulists@ai.mit.edu Organization: TU Darmstadt References: <y-qyrwk@rpi.edu> Distribution: gnu Date: Fri, 28 Aug 1992 14:52:42 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 29