Summary: | aRts builder crashes on executing structure | ||
---|---|---|---|
Product: | arts | Reporter: | dudley flanders <sketi> |
Component: | artsbuilder | Assignee: | Stefan Westerfeld <stefan> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | 20030208-dynamicskeleton.diff |
Description
dudley flanders
2002-12-09 03:27:07 UTC
Artsbuilder is crashing for me also, SIGSEGV when I try to execute any structure file. Have run both artsd & artsbuilder thru gdb, segmentation fault appears to be raised from artsbuilder, both progs die at this point. Running Mandrake, gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) arts, libarts etc all latest updated versions for Mandrake 9.0. artsd runs with: /usr/bin/artsd -F 10 -S 4096 -a alsa -b 16 -s 60 -m artsmessage -l 3 -f ...when executing a file in artsbuilder... Program received signal SIGSEGV, Segmentation fault. 0x4070feda in Arts::DynamicSkeleton<Arts::SynthModule_skel>::DynamicSkeleton(std::string const&) () from /usr/lib/libartsbuilder.so.0 Subject: Re: aRts builder crashes on executing structure Hi! On Mon, Jan 13, 2003 at 09:40:28AM -0000, lhf@xtra.co.nz wrote: > Artsbuilder is crashing for me also, SIGSEGV when I try to execute any structure file. Have run both artsd & artsbuilder thru gdb, segmentation fault appears to be raised from artsbuilder, both progs die at this point. Running Mandrake, gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) arts, libarts etc all latest updated versions for Mandrake 9.0. artsd runs with: /usr/bin/artsd -F 10 -S 4096 -a alsa -b 16 -s 60 -m artsmessage -l 3 -f ...when executing a file in artsbuilder... Program received signal SIGSEGV, Segmentation fault. 0x4070feda in Arts::DynamicSkeleton<Arts::SynthModule_skel>::DynamicSkeleton(std::string const&) () from /usr/lib/libartsbuilder.so.0 I think I've found the problem, but I am not entierly convinced whether it is a compiler bug or a bug in the code, since it does not occur with gcc-2.95. I've reported a compiler bug (gcc -> gnats -> c++/9629), which contains a test case of the same complex virtual inheritance hierarchy. In any case, I've created a patch to aRts which avoids the problem, but I'd like to apply that (to HEAD and KDE3_1) only if its definitely not a compiler bug. I'll attach the patch here. Cu... Stefan Created an attachment (id=912) 20030208-dynamicskeleton.diff I believe this is fixed in recent GCC releases.
From the bug tracker:
> Number: 9629
> Category: c++
> Synopsis: [3.2/3.3/3.4 regression] virtual inheritance segfault
> Confidential: no
> Severity: serious
> Priority: high
> Responsible: nathan
!!!!! > State: closed
Can the bug be closed?
gcc bug has been fixed. |