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: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

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 File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by josemalvarez (Submitted the item)
  • -unavailable- added by josemalvarez
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Feb 2011 12:34:37 PM UTCjosemalvarezAttached File-=>Added ddd.log, #22597
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup