home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / utils / bug / 1436 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.6 KB  |  43 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!iti.INformatik.TH-darmstadt.DE!schrod
  3. From: schrod@iti.INformatik.TH-darmstadt.DE (Joachim Schrod)
  4. Subject: Re: GNU regex routines.(for xxgdb) on AIX
  5. Message-ID: <1992Aug28.145242.20634@news.th-darmstadt.de>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: TU Darmstadt
  8. References: <y-qyrwk@rpi.edu>
  9. Distribution: gnu
  10. Date: Fri, 28 Aug 1992 14:52:42 GMT
  11. Approved: bug-gnu-utils@prep.ai.mit.edu
  12. Lines: 29
  13.  
  14. In article <y-qyrwk@rpi.edu>, ramabs2@rpi.edu (Shiva Ramabadran) writes:
  15. >     I'm running into problems using them on an Rs/6000 running
  16. > AIX 3.1  (or 3.2 for that matter.) Specifically, I'm trying to 
  17. > compile xxgdb on an rs/6000 and running into problems with Regexp 
  18. > parsing using these routines. 
  19. >     It SEGV's attempting recognize the most simple of regexp's 
  20. > like  '[ ]*'. 
  21.  
  22. Have you applied the patch Torsten Ohl posted a few months ago?
  23.  
  24. Basically, the regexp package do not work when alloca() is used to
  25. get the space for the nodes. Then storage is accessed (with a read
  26. operation) which is never allocated; that can cause a SEGV like in
  27. your case. There is a #define at the very top to discard the usage of
  28. alloca(), use this.
  29.  
  30. Oh yes, a good tool for analyzing such errors is the debugging malloc
  31. library (posted in c.s.r and available from all good archives).
  32.  
  33. --
  34. Joachim
  35.  
  36. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  37. Joachim Schrod            Email: schrod@iti.informatik.th-darmstadt.de
  38. Computer Science Department
  39. Technical University of Darmstadt, Germany
  40.  
  41.