[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 191594] parse_type_DIE: confused by:  <1><5e>:
From:       <philippe.waroquiers () eurocontrol ! int>
Date:       2009-10-30 15:25:16
Message-ID: 20091030152516.643BD2455E () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=191594





--- Comment #3 from  <philippe waroquiers eurocontrol int>  2009-10-30 16:25:13 ---
An easy way to produce the problem is just to compile an "hello world" in Ada.
If you put the 5 last lines of this comment in a file called hello.adb,
and compile with: gnatmake -gdwarf-2 hello.adb
then you obtain with the last valgrind:
valgrind --read-var-info=yes ./hello
==4531== Memcheck, a memory error detector
==4531== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==4531== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==4531== Command: ./hello
==4531== 

parse_type_DIE: confused by:
 <1><2da>: DW_TAG_subrange_type
     DW_AT_lower_bound : 0
     DW_AT_upper_bound : 69
     DW_AT_name        : (indirect string, offset: 0x14e9):
system__restrictions__rident__all_restrictions___XDLU_0__69
     DW_AT_type        : <110>

--4531-- WARNING: Serious error when reading debug info
--4531-- When reading debug info from
/auto/home/wao/no_backup/brol/valgrind/hello:
--4531-- parse_type_DIE: confused by the above DIE
hello world
==4531== 
==4531== HEAP SUMMARY:
==4531==     in use at exit: 0 bytes in 0 blocks
==4531==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==4531== 
==4531== All heap blocks were freed -- no leaks are possible
==4531== 
==4531== For counts of detected and suppressed errors, rerun with: -v
==4531== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 13 from 9)
wao@dhws018:

Note that the compilation is done with:
wao@dhws018: gnatmake --version
GNATMAKE Pro 6.3.0w (20090508-43)
Copyright (C) 1995-2009, Free Software Foundation, Inc.
gcc --version
gcc version 4.3.4 20090509 for GNAT Pro 6.3.0w (20090508) (GCC) 

I suppose that any recent gnat/gcc package on a fedora or red-hat would
produce similar dwarf entries.
If you cannot easily compile the below, I can always compress and attach
the binary file.

with Text_Io; use Text_Io;
procedure Hello is
begin
  Put_Line ("hello world");
end;

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic