[Xposed Framework Modules] pigeon:
New screenrecord?

Hi there

Just wondering if there's any chance to update the included screenrecord?

It crashes quite often with things like below.

I found some other screenrecording apps including their own version of screenrecord as well, and seems to work well, but it takes slightly different arguments (e.g. --audio instead of --microphone)

Thanks!

I/DEBUG (26531): pid: 12065, tid: 12065, name: screenrecord >>> /data/data/com.ceco.kitkat.gravitybox/files/screenrecord <<<
I/DEBUG (26531): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG (26531): Abort message: 'heap corruption detected by dlmalloc'
W/NativeCrashListener( 8565): Couldn't find ProcessRecord for pid 12065
I/DEBUG (26531): r0 00000000 r1 00002f21 r2 00000006 r3 00000000
I/DEBUG (26531): AM write failure (32 / Broken pipe)
I/DEBUG (26531): r4 00000006 r5 00000000 r6 00002f21 r7 0000010c
I/DEBUG (26531): r8 bef9c464 r9 00000000 sl 408f0158 fp 00000000
I/DEBUG (26531): ip 0000001d sp bef9c340 lr 403b11b5 pc 403c015c cpsr 000f0010
I/DEBUG (26531): d0 0000000000000000 d1 0000000000000000
I/DEBUG (26531): d2 000003f500000000 d3 0000000400000018
I/DEBUG (26531): d4 4487000044f00000 d5 0000000000000438
I/DEBUG (26531): d6 00000a0000000000 d7 bd6bc8e345200000
I/DEBUG (26531): d8 0000000000000000 d9 0000000000000000
I/DEBUG (26531): d10 0000000000000000 d11 0000000000000000
I/DEBUG (26531): d12 0000000000000000 d13 0000000000000000
I/DEBUG (26531): d14 0000000000000000 d15 0000000000000000
I/DEBUG (26531): d16 726f632070616568 d17 206e6f6974707572
I/DEBUG (26531): d18 006900640065006d d19 00410049002e0061
I/DEBUG (26531): d20 006f006900640075 d21 0069006c006f0050
I/DEBUG (26531): d22 0065005300790063 d23 0063006900760072
I/DEBUG (26531): d24 0000000000000000 d25 0000000000000000
I/DEBUG (26531): d26 0000000000000000 d27 0000000000000000
I/DEBUG (26531): d28 0000000000000000 d29 0000000000000000
I/DEBUG (26531): d30 0000000000000000 d31 0000000000000000
I/DEBUG (26531): scr 60000010
I/DEBUG (26531):
I/DEBUG (26531): backtrace:
I/DEBUG (26531): #00 pc 0002215c /system/lib/libc.so (tgkill+12)
I/DEBUG (26531): #01 pc 000131b1 /system/lib/libc.so (pthread_kill+48)
I/DEBUG (26531): #02 pc 000133c5 /system/lib/libc.so (raise+10)
I/DEBUG (26531): #03 pc 000120fb /system/lib/libc.so
I/DEBUG (26531): #04 pc 00021a10 /system/lib/libc.so (abort+4)
I/DEBUG (26531): #05 pc 00012be1 /system/lib/libc.so
I/DEBUG (26531): #06 pc 0000f2ed /system/lib/libc.so
I/DEBUG (26531): #07 pc 000101f9 /system/lib/libc.so (dlmalloc+604)
I/DEBUG (26531): #08 pc 0000dd27 /system/lib/libc.so (malloc+10)
I/DEBUG (26531): #09 pc 0000091b /system/lib/libstdc++.so (operator new(unsigned int)+2)
I/DEBUG (26531): #10 pc 00021e91 /system/lib/libbinder.so (android::ProcessState::getStrongProxyForHandle(int)+108)
I/DEBUG (26531): #11 pc 00020121 /system/lib/libbinder.so (android::unflatten_binder(android::sp<android::ProcessState> const&, android::Parcel const&, android::sp<android::IBinder>*)+84)
I/DEBUG (26531): #12 pc 00020d23 /system/lib/libbinder.so (android::Parcel::readStrongBinder() const+22)
I/DEBUG (26531): #13 pc 0001c5fd /system/lib/libbinder.so (android::BpMemory::getMemory(int*, unsigned int*) const+72)
I/DEBUG (26531): #14 pc 0001c31b /system/lib/libbinder.so (android::IMemory::pointer() const+14)
I/DEBUG (26531): #15 pc 000610ad /system/lib/libmedia.so (android::AudioRecord::openRecord_l(unsigned int)+284)
I/DEBUG (26531): #16 pc 00061747 /system/lib/libmedia.so (android::AudioRecord::set(audio_source_t, unsigned int, audio_format_t, unsigned int, int, void (*)(int, void*, void*), void*, int, bool, int, android::AudioRecord::transfer_type, audio_input_flags_t)+662)
I/DEBUG (26531): #17 pc 000618f3 /system/lib/libmedia.so (android::AudioRecord::AudioRecord(audio_source_t, unsigned int, audio_format_t, unsigned int, int, void (*)(int, void*, void*), void*, int, int, android::AudioRecord::transfer_type, audio_input_flags_t)+110)
I/DEBUG (26531): #18 pc 0006dbe9 /system/lib/libstagefright.so (android::AudioSource::AudioSource(audio_source_t, unsigned int, unsigned int)+328)
I/DEBUG (26531): #19 pc 00003435 /data/data/com.ceco.kitkat.gravitybox/files/screenrecord
I/DEBUG (26531): #20 pc 0000e51b /system/lib/libc.so (__libc_init+50)
I/DEBUG (26531): #21 pc 00002758 /data/data/com.ceco.kitkat.gravitybox/files/screenrecord