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

            Bug ID: 407377
           Summary: SIGSEGV if debugged application going to VMW_PORT()
                    macro
           Product: valgrind
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: tim4...@bmail.ru
  Target Milestone: ---

Created attachment 119942
  --> https://bugs.kde.org/attachment.cgi?id=119942&action=edit
Valgrind debug log

SUMMARY

SIGSEGV if debugged application going to VMW_PORT() macro in VMWare products.


STEPS TO REPRODUCE
1. For test case, I used Retroarch https://github.com/libretro/RetroArch
compiled latest master by myself.
2. I used mesa graphics driver from Ubuntu PPA
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers with installed
debug symbols.
3. 

OBSERVED RESULT

Application was crashed on this instruction. Log added as an attachment.

Fragment of related code in mesa sources:


src/gallium/winsys/svga/drm/vmw_msg.c:299
```
   VMW_PORT(VMW_PORT_CMD_OPEN_CHANNEL,
      (protocol | GUESTMSG_FLAG_COOKIE), si, di,
      VMW_HYPERVISOR_PORT,
      VMW_HYPERVISOR_MAGIC,
      ax, bx, cx, dx, si, di);
```


EXPECTED RESULT

Application shouldn't crash.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KUbuntu 19.04
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

Valgrind latest master a47a8b3e87590df048967574982d0a3db8f13450

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

Reply via email to