[panda-users] reflect a problem about gdb panda replay

xiaojuan Li xiaotan6666 at gmail.com
Thu Apr 30 01:25:04 EDT 2015


Thanks!

2015-04-29 16:59 GMT-04:00 Brendan Dolan-Gavitt <brendandg at gatech.edu>:

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



-- 
wait and hope~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20150430/6d2c59aa/attachment-0001.htm


More information about the panda-users mailing list