DynamoRIO / DynamoRIO/dynamorio

APP CRASH: big size application doesn't work

Open
#370 0 comments 0 reactions 0 assignees View on GitHub
Migrated Priority-Medium
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [hironori...@gmail.com](https://code.google.com/u/116634862748411020406/) on December 23, 2010 04:46:39_

I can't run some applications under DR.
DR version and OS version are as follows.
DynamoRIO: DynamoRIO-Linux-2.0.0-6
OS: Ubuntu 10.04.1 32bit

There are nothing problem when I use ls, cat, top, vi, and etc.
Command line is as follows.
> bin32/drrun -client samples/bin32/libempty.so 0 "" ls

But some apps occur errors.

**\* When I use openoffice.org 3.2.0, openoffice is correctly launched.
But there are no messages.

>bin32/drrun -debug -client samples/bin32/libempty.so 0 "" openoffice.org
>

openoffice.org is actually a shell script, and DR may not be able to trace the shell script.
Then I tryed to run directly.

> bin32/drrun -debug -client samples/bin32/libempty.so 0 "" /usr/lib/openoffice/program/soffice.bin

Segmentation fault

Of course soffice.bin can be correctly executed without DR.

**\* Emacs also can't be executed.
There are differences between with "-debug" and without "-debug".
> bin32/drrun -client samples/bin32/libempty.so 0 "" emacs
Xlib: sequence lost (0x2e750000 > 0x4) in reply type 0x0!
X Error of failed request: 0
Major opcode of failed request: 0 ()
Serial number of failed request: 779354112
Current serial number in output stream: 4

> bin32/drrun -debug -client samples/bin32/libempty.so 0 "" emacs

Fatal error (11)
Segmentation fault

**\* gedit
this app also can't be used.
> bin32/drrun -debug -client samples/bin32/libempty.so 0 "" gedit

(process:32018): GLib-WARNING *_: /build/buildd/glib2.0-2.24.1/glib/gop
(process:32018): GLib-WARNING *_: /build/buildd/glib2.0-2.24.1/glib/goption.c:2115: ignoring invalid short option '\xcd' (-51)
Segmentation fault

> bin32/drrun -client samples/bin32/libempty.so 0 "" gedit
gedit: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

And many other apps that are relatively big size can't be used.
I also tried to use old version of DR (1.4.0-20 and 1.5.0-1), but this didnt resolve.
What cause this probrem?
Please let me know if I did mistake.

Sincerely

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=370_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.