Summary: | wine's crypt32 message tests crash under valgrind, because of a jump to NULL | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Austin English <austinenglish> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | tom |
Priority: | NOR | ||
Version: | 3.7 SVN | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
full output for valgrinding that test
valgrind output |
Description
Austin English
2011-01-29 20:19:08 UTC
So what exception was wine expecting to see? It looks like we gave it SIGILL which seems reasonable if the instruction at address zero wasn't valid. It would also help if you showed us the valgrind output so we could say what valgrind said about what it was doing at that point. (In reply to comment #1) > It would also help if you showed us the valgrind output so we could say what > valgrind said about what it was doing at that point. It was attached (https://bugs.kde.org/attachment.cgi?id=56631). I'm attaching the output of current svn (r11914). There's a valgrind assertion failure though, that's bug 275673. Created attachment 62862 [details]
valgrind output
So that mostly looks fine - we are throwing wine a SIGILL at address zero. If that isn't what wine is expecting then what sort of exception does it want? (In reply to comment #4) > So that mostly looks fine - we are throwing wine a SIGILL at address zero. > > If that isn't what wine is expecting then what sort of exception does it want? [12:55] <jhgf2> austin_laptop: short answere is sigsegv [12:57] <jhgf2> austin_laptop: long answere is more complicated [12:57] <jhgf2> austin_laptop: most likely, you will at least need to set the correct trap code (no idea how to do this) [12:59] <jhgf2> austin_laptop: actually, looking at the code, sigill should also do the trick, as long as the trap code is correct [13:02] <jhgf2> austin_laptop: take a look here: http://source.winehq.org/source/dlls/ntdll/signal_i386.c#L1854 (for valgrind) |