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

            Bug ID: 382978
           Summary: valgrind: LOAD_PDB_DEBUGINFO: \032 header character
                    not found.  possible invalid/unsupported pdb file
                    format
           Product: valgrind
           Version: 3.14 SVN
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: austinengl...@gmail.com
  Target Milestone: ---

Created attachment 106998
  --> https://bugs.kde.org/attachment.cgi?id=106998&action=edit
mscorlib.pdb

Microsoft's C# compiler (Rosylyn, also used by Mono,
https://github.com/dotnet/roslyn/) generates PDBs that are of a different
format than those generated by Visual Studio for C/C++.

This revealed itself because wine-mono accidentally shipped .pdb files, and
running wine's dlls/mscoree/tests/mscoree.c tests crashed valgrind (bug
382515).

Now, it ignores those pdb files instead. It would be nice if these files were
supported, but at least for Wine, it's probably not worth the effort, as only a
tiny part of the code uses it. But if valgrind becomes popular for C#, it may
be more important.

==1193== Warning: Missing or un-stat-able
/home/austin/.wine/drive_c/windows/mono/mono-2.0/bin/libmono-2.0-x86.pdb
==1193== LOAD_PDB_DEBUGINFO: \032 header character not found.  possible
invalid/unsupported pdb file format?
==1193== LOAD_PDB_DEBUGINFO: find_pdb_header found no hdr.  possible
invalid/unsupported pdb file format?
==1193== LOAD_PDB_DEBUGINFO: failed loading info from
/home/austin/.wine/drive_c/windows/mono/mono-2.0/lib/mono/4.5/mscorlib.pdb

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to