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

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 382515] valgrind: "Assertion 'di->have_dinfo' failed." on wine's dlls/mscoree/tests/
From:       Austin English <bugzilla_noreply () kde ! org>
Date:       2017-07-31 6:15:33
Message-ID: bug-382515-17878-7BloMz8BIT () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #12 from Austin English <austinenglish@gmail.com> ---
(In reply to Philippe Waroquiers from comment #11)
> Note that the patch is compiling on linux, but is completely untested.
> So, expect fire, smoke and explosions ...

Thanks Philippe, the patch makes things look much nicer! Here's the output
(with wine specific output you don't care about removed):

../../../tools/runtest -q -P wine -T ../../.. -M mscoree.dll -p
mscoree_test.exe.so mscoree && touch mscoree.ok
==15080== Warning: Missing or un-stat-able
/home/austin/.wine/drive_c/windows/system32/shlwapi.pdb
==15194== Warning: Missing or un-stat-able
/home/austin/.wine/drive_c/windows/system32/shlwapi.pdb
==15194== Warning: Missing or un-stat-able
/home/austin/.wine/drive_c/windows/mono/mono-2.0/bin/libmono-2.0-x86.pdb
==15194== LOAD_PDB_DEBUGINFO: \032 header character not found.  possible
invalid/unsupported pdb file format?
==15194== LOAD_PDB_DEBUGINFO: find_pdb_header found no hdr.  possible
invalid/unsupported pdb file format?
==15194== LOAD_PDB_DEBUGINFO: failed loading info from
/home/austin/.wine/drive_c/windows/mono/mono-2.0/lib/mono/4.5/mscorlib.pdb
==15080== Warning: Missing or un-stat-able
/home/austin/.wine/drive_c/windows/mono/mono-2.0/bin/libmono-2.0-x86.pdb
==15080== LOAD_PDB_DEBUGINFO: \032 header character not found.  possible
invalid/unsupported pdb file format?
==15080== LOAD_PDB_DEBUGINFO: find_pdb_header found no hdr.  possible
invalid/unsupported pdb file format?
==15080== LOAD_PDB_DEBUGINFO: failed loading info from
/home/austin/.wine/drive_c/windows/mono/mono-2.0/lib/mono/4.5/mscorlib.pdb
==15080== LOAD_PDB_DEBUGINFO: \032 header character not found.  possible
invalid/unsupported pdb file format?
==15080== LOAD_PDB_DEBUGINFO: find_pdb_header found no hdr.  possible
invalid/unsupported pdb file format?
==15080== LOAD_PDB_DEBUGINFO: failed loading info from
/home/austin/.wine/drive_c/windows/mono/mono-2.0/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.pdb


the first (missing shlwapi), is valid, wine doesn't build .pdb files for its
own dlls. 
libmono-2.0-x86.pdb is also not included in wine-mono, not sure why it didn't
get one when others did, but that's how it is
the other two are C# dlls, so the unexpected pdb format makes sense

FYI, I've written a patch for this format for `file`, it's header is:
BSBJ\001\000\001\000\000\000\000\000\f\000\000\000PDB\ v1.0

though note that the 'v' is case insensitive.

As far as I'm concerned, this patch is good enough for now. I'll likely file a
follow up bug once this is resolved so that it's known/documented, but I don't
think the effort to implement is worth the gain, unless running c# code under
valgrind gets popular..

-- 
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