Valgrind cannot create temporary files

I am trying to run my app with valgrind on Android, but I am getting the error VG_ (mkstemp): Could not create temporary file. I read that the problem occurs frequently on Android, but I haven't found any solution. I do everything as per this post , with one difference in the second script I am using a non-bash package.

08-28 12:13:53.820: I/dalvikvm(19303): Exec: /system/bin/sh -c logwrapper sh /data/local/hellojni_valgrind.sh /system/bin/app_process /system/bin --application '--nice-name=com.example.hellojni' com.android.internal.os.WrapperInit 28 3 'android.app.ActivityThread' 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): ==19315== VG_(mkstemp): failed to create temp file: /data/data/com.example.hellojni 08-28 12:13:53.850: I/sh(19312): valgrind: Startup or configuration error: 08-28 12:13:53.850: I/sh(19312): valgrind: Can't create client cmdline file in ??8L?8 08-28 12:13:53.850: I/sh(19312): valgrind: Unable to start up properly. Giving up. 08-28 12:13:53.850: I/logwrapper(19312): sh terminated by exit(1)

+3
android valgrind


source to share


No one has answered this question yet

See similar questions:

eleven
Can't launch Android Java program using Valgrind

or similar:

1169
Is there a way to get the source code from the APK file?
964
Download file from Android and show progress in ProgressDialog
935
Eclipse Cannot Start - Java was started but exit code returned = 13
872
How to create a transparent activity on Android?
867
Cannot create handler inside thread that did not call Looper.prepare ()
210
Is there a good replacement for Valgrind for Windows?
130
Java ended up with non-zero exit value 2 - Android Gradle
1
Valgrind is throwing an unexplained error in the stream
0
DraggableGridView cannot be included in the project
0
Unable to connect to runtime, timeout after {_timeout} ms - (reason: {_error}). Ionic error



All Articles
Loading...
X
Show
Funny
Dev
Pics