Skip Menu |

This queue is for tickets about the Lingua-LinkParser CPAN distribution.

Report information
The Basics
Id: 4428
Status: new
Priority: 0/
Queue: Lingua-LinkParser

People
Owner: Nobody in particular
Requestors: chris [...] wavetex.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.08
Fixed in: (no value)



Subject: Lingua::LinkParser compiles but segfaults when used
Problem appears on Mandrake 9.1, Lingua-inkParser-1.08 compiles but any tests fail with 'Segmetation fault (core dumped)'. I tried to install through CPAN and by hand. The install completed if forced to but again I got segfault after calling my $parser = new Lingua::LinkParser; It does not appear to be a problem with the grammer parser itself as I can run the parse command and parse sentences with it just fine. Here's my full OS and Perl info Mandrake 9.1 Kernel: 2.4.21-0.13mdk gcc: 3.2.2 Perl: v5.8.0 built for i386-linux-thread-multi Maybe a problem with threaded perl? I attached the dumped core, maybe that will help. I will try to compile it on some other systems when I get access to them.
Download core.3086
application/octet-stream 1.8m

Message body not shown because it is not plain text.

From: alanbuckeridge_at_yahoo_dot_com
Hi, I had the same problem on Mandrake 9.2, Redhat 9, and SunOS 5.7. There's a routine called 'advance' in the file 'read-dict.c' in the parser's source directory. By replacing each occurrence of "advance" with something else (I used "ad_vance") and recompiling the parser, I was able to 'make' and 'make test' for Lingua::LinkParser. I don't know why this worked, but it did. Hope this helps. -- Alan B.
From: christian_freak [...] yahoo.com
Truely bizarre behavior. That did the trick though! Thanks! Chris [guest - Mon Jan 26 08:49:34 2004]: Show quoted text
> Hi, I had the same problem on Mandrake 9.2, Redhat 9, and SunOS 5.7. > > There's a routine called 'advance' in the file 'read-dict.c' in the > parser's source directory. By replacing each occurrence of "advance" > with something else (I used "ad_vance") and recompiling the parser, I > was able to 'make' and 'make test' for Lingua::LinkParser. > > I don't know why this worked, but it did. Hope this helps. > > -- Alan B. > > >
[guest - Sun Mar 7 00:26:36 2004]: Show quoted text
> Truely bizarre behavior. That did the trick though! Thanks! >
For me too. I'm on gentoo, Perl 5.8.2. The symptom was a fail in the tests (not a segfault) with error message 'Dictionary creation failed' from LinkParser.pm, but the cure was exactly the same. Graham