<div dir="ltr">Thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-29 16:59 GMT-04:00 Brendan Dolan-Gavitt <span dir="ltr"><<a href="mailto:brendandg@gatech.edu" target="_blank">brendandg@gatech.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
This is a known bug in the android replay code. A workaround is to run<br>
the program without gdb and then attach to it using "gdb -p `pidof<br>
qemu-system-arm`".<br>
<br>
-Brendan<br>
<div><div class="h5"><br>
On Wed, Apr 29, 2015 at 2:50 AM, xiaojuan Li <<a href="mailto:xiaotan6666@gmail.com">xiaotan6666@gmail.com</a>> wrote:<br>
> Hi,<br>
> excuse me, I gdb the replay process,and find that if often shows:<br>
> **************************************************************************<br>
> Starting program: /home/shentanli/pandanew/qemu/arm-softmmu/qemu-system-arm<br>
> -m 256 -replay tmpR2 -M android_arm -kernel /dev/null -android -panda<br>
> stringsearch:name=4-24test\;tstringsearch\;tainted_instr<br>
> [Thread debugging using libthread_db enabled]<br>
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br>
> Adding PANDA arg stringsearch:name=4-24test.<br>
> ........<br>
> .........<br>
> goldfish_add_device: smc91x, base ff011000 1000, irq 11 1<br>
> goldfish_add_device: goldfish_fb, base ff012000 1000, irq 12 1<br>
> goldfish_fb: ff012000 68<br>
> Could not create temp file for sdcard image: File exists<br>
> [Thread 0x7fffe62b5700 (LWP 4751) exited]<br>
> [Inferior 1 (process 4748) exited with code 01]<br>
> **************************************************************************<br>
><br>
> "sdcard image exists" shows when i do the replay without gdb, and i must run<br>
> "./qemu-system-arm -replay ****" at least three times,it finally run. I<br>
> tried to with deleting the directory including that file, the first time it<br>
> runs, it shows "could not create temp file for sdcard image: success" and<br>
> stopped, i run again, it shows "could not create temp file for sdcard<br>
> image:file exited" and stopped again, then i run the third time, it can be<br>
> execute.<br>
><br>
> Any suggestions?<br>
> Thanks!<br>
><br>
> --<br>
> wait and hope~~<br>
><br>
</div></div>> _______________________________________________<br>
> panda-users mailing list<br>
> <a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/panda-users" target="_blank">http://mailman.mit.edu/mailman/listinfo/panda-users</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">wait and hope~~</div></div>
</div>