DynamoRIO / DynamoRIO/dynamorio
APP CRASH: drrun causes wps crash in ubuntu 22.04
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
**Describe the bug**
drrun causes wps crash in ubuntu 22.04
**To Reproduce**
1. download wps office from the following official link:
https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2023/17885/wps-office_12.1.0.17885_amd64.deb?t=1726655647&k=7498ef37c472ed909f21cefb901688e5
or in case the above link is not valid anymore, pick the 64-bit deb format from
https://www.wps.cn/product/wpslinux#
and install it using
```
sudo dpkg -i wps-office_12.1.0.17885_amd64.deb
```
2. launch wps office from app menu or using the following command line:
```
/opt/kingsoft/wps-office/office6/wpsoffice
```
3. in wps office gui, **change the window management option to 'Multi-module Mode'** so that different modules are regarded as standalone executables and could be launched independently
4. test the following wps spreadsheets handling executable could be launched using the following command line without any issue:
```
/opt/kingsoft/wps-office/office6/et
```
5. use drrun to launch the above et executable, it may not crash immediately, but if you try to run it for multiple times, it will results in an app crash in the end.
```
/tmp/DynamoRIO-Linux-10.93.19979/bin64 λ sudo ./drrun -- /opt/kingsoft/wps-office/office6/et
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QObject::connect: No such signal KDownloadTask::onSuccess(TASKID, const http::Response&)
[1] 46484 segmentation fault sudo ./drrun -- /opt/kingsoft/wps-office/office6/et
```
**Versions**
DynamoRIO version: DynamoRIO-Linux-10.93.19979
OS: Linux virt-ubuntu-main 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
WPS: wps-office_12.1.0.17885_amd64
Contributor guide
Assessment
This issue has not been assessed yet.