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

 
 

sr #107588: Strange behavior of ddd 3.3.12

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

Add a New Comment Rich Markup
   

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

Hi,

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

Stefan Eickeler <eickeler>
Group administrator
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!

Miguel

Anonymous
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++ ej2.cc -c -g -o ej2.o
g++ ej1.cc -g -c -o ej1.o
g++ ej1.o ej2.o -o ej

Sources:
ej2.hh
int f(const int, const int);

// ej2.cc
#include "ej2.hh"

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

ej1.cc
#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:
   
   
Comment:
   

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
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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 -email is unavailable-

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code