ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DDD 3.3.11 (x86_64-pc-linux-gnu) gets `Segmentation fault' signal


From: Peter Wainwright
Subject: Re: DDD 3.3.11 (x86_64-pc-linux-gnu) gets `Segmentation fault' signal
Date: Sat, 13 Sep 2008 09:55:12 +0100

On Fri, 2008-09-12 at 09:46 -0800, Brian Dixon wrote:
> Internal error (Segmentation fault).
> 
> To reproduce: Run 2 instances of DDD, in the background, at the same
> time.  This fault specifically occurs only if the "Warn if Multiple DDD
> Instances are Running" checkbox checked (see Edit/Preferences) when you
> run the two instances of DDD.  Unchecking this option eliminates the
> seg-fault when you run a second instance of DDD.  Example:
> 
> my_prompt> ddd &
> my_prompt> ddd &
> 
> Machine: Dell Model 690 64-bit
> OS: 64-bit Ubuntu Linux
> 
> Have fun!
> Brian

Thanks for the error report.  The check for multiple instances occurs
very early in startup when many of the global pointers are not
initialized (NULL).  Unfortunately the error handlers did not check for
this...

I have committed the attached patch in Subversion, this will hopefully
make things a bit more robust.

Peter

> 
> ---------------------------------------------------------------------
> Oops!  You have found a bug in DDD.
> 
> If you can reproduce this bug, please send a bug report
> to <address@hidden>, giving a subject like
> 
>     DDD 3.3.11 (x86_64-pc-linux-gnu) gets `Segmentation fault' signal
> 
> To enable us to fix the bug, you should include the following
> information:
> * What you were doing to get this message.  Report all the facts.
> * The contents of the `~/.ddd/log' file as generated by this session.
> Please read also the section "Reporting Bugs" in the DDD manual.
> 
> We thank you for your support.
> 
> 
> 
> 
> _______________________________________________
> ddd mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/ddd

Attachment: patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]