helpDDD - Support: sr #107588, Strange behavior of ddd 3.3.12


sr #107588: Strange behavior of ddd 3.3.12

Submitted by:  José M. Álvarez <josemalvarez>
Submitted on:  Fri 04 Feb 2011 12:34:37 PM UTC  
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Stefan Eickeler <eickeler>
Open/Closed:  Closed Operating System:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 15 Jan 2021 06:53:22 PM UTC, comment #3: 


this caused by a sloppy parsing of filenames in DDD in combination with the GDB user interface switched to Spanish.

This bug is fixed in the SVN now.


Stefan Eickeler <eickeler>
Project MemberIn charge of this item.
Tue 22 Mar 2011 04:18:22 PM UTC, comment #2: 

Hi Miguel,

it seems to me that the problem is due to the fact that DDD is a program developed for 32 bits architectures and it does not work well in 64 bits architectures.

It has worked well in the 32 bits Ubuntu running under Virtual Box in my PC, but if fails in the 64 bits Ubuntu server.

Anyway, I'm using now Eclipse CDT for debugging.

Best regards

José M. Álvarez <josemalvarez>
Sun 13 Mar 2011 10:16:37 PM UTC, comment #1: 

Hi Jose Maria. I have the same problem. I tried to solve this downgrading to 3.3.11 version but the results are the same.

I think that the problem can be located on Ubuntu 10.10 paths configuration, but I don't know the way to configure well.

Regards and luck!


Fri 04 Feb 2011 12:34:37 PM UTC, original submission:  

I'm sorry for the vague title, but there are a couple of strange things that DDD is doing and I can't figure out a single title for them.

DDD opens the programs to be debugged correctly, but when I try to set a breakpoint a warning window pops up saying:

DDD: No source
/tmp/0x400898: No such file or directory

and in the console the next lines are written:

(gdb) break ej1.cpp:7
Breapoint 2 at 0x400898: file ej1.cpp, line 7.
(gdb) No such source file with the name 0x400898.

That is, it is using the memory address of the line where the breakpoint is to be set instead of the file name.

However, in spite of that warning, the breakpoint is correctly set and the program runs correctly.

The second thing seems to be related. If I try to debug a program composed of several source files and I use the option File->Open Source to get another source file, another error window pops up saying:
DDD: No Program
Please open a program first

and it prevents me to open any file though the list of possible source files is correct.

They seem to be too obvious points to be bugs, perhaps am I doing something wrong?

My system configuration is:

jmalvarez@atenea02:~$ g++ --version
g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

jmalvarez@atenea02:~$ ddd --version
GNU DDD 3.3.12 (x86_64-unknown-linux-gnu)
Copyright (C) 1995-1999 Technische Universit�t Braunschweig, Germany.
Copyright (C) 1999-2001 Universit�t Passau, Germany.
Copyright (C) 2001 Universit�t des Saarlandes, Germany.
Copyright (C) 2001-2009 Free Software Foundation, Inc.

Running on ubuntu 10.04 LTS - version Lucid Lynx

Compilation line:

g++ -c -g -o ej2.o
g++ -g -c -o ej1.o
g++ ej1.o ej2.o -o ej

int f(const int, const int);

#include "ej2.hh"

int f(const int x, const int y)
  return x + y;

#include "ej2.hh"

int main()
  return f(2, 2);

Best regards and thanks for all

José M. Álvarez <josemalvarez>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #22597:  ddd.log added by josemalvarez (16KiB - text/x-log)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by eickeler (Posted a comment)
  • -email is unavailable- added by josemalvarez (Submitted the item)
  • -email is unavailable- added by josemalvarez

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-30 eickeler StatusNone => Done
        Assigned toNone => eickeler
        Open/ClosedOpen => Closed
    2011-02-04 josemalvarez Attached File- => Added ddd.log, #22597
        Carbon-Copy- => Added

    Back to the top

    Powered by Savane 3.5