Re: DDD 3.3.11 (i686-apple-darwin9.1.0) gets `Bus error' signal

Roger Mc Murtrie <[email protected]> Sat, 29 Dec 2007 11:10:58 +1100
Newsgroups gmane.comp.debugging.ddd.bugs
Message-ID <[email protected]>
I decided on one last effort.
I managed (eventually) to build DDD using Xcode.
The " gets `Bus error' signal" did not occur.
Main problem was that DDD did not automatically locate the "display"  
but tried to use "localhost".

I was able to connect to the display by determining the display  
address using echo $DISPLAY then using this address as a DDD launch - 
display argument.
Finally, DDD opens successfully from Xcode.

Problem is via XtOpenApplication which, according to its man entry  
calls XtOpenDisplay with display_string NULL.
According to the XtOpenDisplay man:
The XtOpenDisplay function calls XOpenDisplay the specified display  
name.  If display_string
        is NULL, XtOpenDisplay uses the current value of the -display  
option specified in argv and
        if no display is specified in argv, uses the user's default  
display (on UNIX-based systems,
        this is the value of the DISPLAY environment variable).
This suggests that XtOpenDisplay is failing to use the value of the  
DISPLAY environment variable.

Roger

On 28/12/2007, at 3:52 PM, Roger Mc Murtrie wrote:

> Abandoned debugging and leaving it to the experts.
> I am 90% sure that the problem lies with Apple.
> I am impatiently awaiting upgrades to both Leopard and Xcode!
> No reason why GetFileDatabase shouldn't be called with a filename  
> for a non-existent file?
> std::ifstream is(filename.chars()); is probably capable of handling  
> this situation.
>
> Roger

_______________________________________________
bug-ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddd