Re: ddd: Internal error (Segmentation fault).

Žarko Živanov <[email protected]> Fri, 23 Aug 2013 10:16:29 +0200
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
The last error in the log, before segfault, is X I/O error. What OS are you using (i can see it's 64bit), and what desktop environment?
When starting DDD, does it show its window, and then crashes, ot there isn't  DDD window at all? If latter, do you have any other Motif application, to see if Motif (lesstif probably) library works at all at your compter?

DDD 3.3.11 that you are using is a rater old version, I think it isn't maintained anymore. Could you please try with latest 3.3.12? If it isn't in your disto's repository, you could compile it from source pretty easily (that would ensure the best compatibility with your system).

Best regards,
Zarko


On 22/08/13 20:16, Paul Cheng wrote:
>
> Attached is the ~/.ddd/log file.
>
> Thanks,
>
> Paul
>
> *From:*Paul Cheng
> *Sent:* Thursday, August 22, 2013 11:10 AM
> *To:* '[email protected]'
> *Subject:* ddd: Internal error (Segmentation fault).
>
> Hi,
>
> This is the first time I’m using ddd here at Qlogic, and I can’t seem to find anyone familiar with it.
>
> As soon as I issue ‘ddd a.out’, it crashes, so I think it must be a setup issue.
>
> The test program is very simple, it’s basically just a print statement:
>
> #include <iostream.h>
>
> main()
>
> {
>
> cout << "hello world\n";
>
> }
>
> What do I need to make ddd work?
>
> Thank you,
>
> Paul Cheng
>
> avluser08.qlc.com:/user/pcheng/test/cpp/cpp_bst-> ddd a.out
>
> Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
>
> (Annoyed?  Try 'Edit->Preferences->General->Suppress X Warnings'!)
>
> Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso8859-*" to type FontStruct
>
> Warning: Cannot convert string "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
>
> Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
>
> Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
>
> Warning: Cannot convert string "-*-helvetica-medium-*-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
>
> Warning: Cannot convert string "-*-helvetica-bold-*-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
>
> Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-*" to type FontStruct
>
> Warning: Cannot convert string "-*-symbol-*-*-*-*-*-120-*-*-*-*-adobe-*" to type FontStruct
>
> Internal error (Segmentation fault).
>
> Oops!  You have found a bug in DDD.
>
> If you can reproduce this bug, please send a bug report
>
> to <[email protected] <mailto:[email protected]>>, giving a subject like
>
>     DDD 3.3.11 (x86_64-unknown-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.
>
> Segmentation fault
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.