Subject: Re: pkg/35328: kdevelop signal 11 sigsegv when opening project
To: None <markd@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: pkgsrc-bugs
Date: 03/25/2007 02:15:09
The following reply was made to PR pkg/35328; it has been noted by GNATS.
From: Mark Davies <mark@mcs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/35328: kdevelop signal 11 sigsegv when opening project
Date: Sun, 25 Mar 2007 14:14:33 +1200
On Wednesday 27 December 2006, wulf@netbsd.org wrote:
> kdevelop crashes with signal 11 SIGSEGV when attempting to open or
> creating a project. gdb traceback shows the following:
>
> kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 3'
> gave syntax error kio (KTrader): WARNING: Parsing ' and
> [X-KDevelop-Version] == 3' gave syntax error
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb94e7f8b in yyparse () from
> /usr/pkg/lib/kde3/libkdevautoproject.so
Pinning this down more precisely: In kdevelop 3.4.0 the segv is on
line 1126 of buildtools/lib/parsers/autotools/autotools_yacc.cpp
> /* Discard the token being shifted unless it is eof. */
> if (yychar != YYEOF)
> yychar = YYEMPTY;
> *++yyvsp = yylval; <==== here
> /* Count tokens shifted since error; after three, turn off error
The problem is probably obvious but right at the moment I'm missing
it.
cheers
mark