Page 1 of 1

Improve 'logcat dumps' system?

Posted: 18 Apr 2014 14:09
by pihug12
I'm using the last 0.9.3 build and I still got some crashes. I'm eager to provide you some logcats but the built-in system to made these dumps could be improved IMHO.
Related commits : http://git.videolan.org/?p=vlc-ports%2F ... t&s=logcat

When I manually dump the logcat, the file is written at the root of the emulated sdcard (/storage/emulated/0/vlc_logcat_xxxxxx.log) :
Image
I can see the file with Android apps (ES File Explorer or OI File Manager) but not on my Windows computer when connected with USB (MTP Device - Kindle Fire HD - CM10.2). If I move these files in a subfolder with one of these two apps, I can now see them with my PC on the mounted MTP device.
Weird. :roll:

Code: Select all

root@tate:/ # cd /storage root@tate:/storage # ll dr-xr-xr-x root root 2014-04-15 21:42 emulated lrwxrwxrwx root root 2014-04-15 21:42 sdcard0 -> /storage/emulated/legacy d--------- system system 2014-04-15 21:42 usb0 d--------- system system 2014-04-15 21:42 usb1 root@tate:/storage # cd emulated root@tate:/storage/emulated # ll lrwxrwxrwx root root 2014-04-15 21:42 legacy -> /mnt/shell/emulated/0
=================================================================================

Is it possible to reset the current logcat before executing the steps that made the app crashed? Or dumping only the last 10 minutes of activity? The current generated file logs some older events that need to be cut out before shared with you.

Is is still true VLC leaves a file behind when it crashes? It doesn't happen to me.

Last thing, in the "Debug logs" menu, can you add a "Save to file" next to the "Copy to clipboard" button?


Thanks!

Re: Improve 'logcat dumps' system?

Posted: 19 Apr 2014 19:22
by edwardw
The first is an artifact of the MTP system of Android I believe.

And yes, VLC still leaves behind a trace when it crashes. At least it should.

Re: Improve 'logcat dumps' system?

Posted: 12 May 2014 18:53
by pihug12
I just saw the latest commits by Adrien M. Sounds great! :D
Get ready to receive massive amount of logs! :lol:

It's the best way to go to iron out some nasty bugs left, I think.

Concerning the MTP bug, it seems it's well-known:
- https://code.google.com/p/android/issue ... l?id=38282 (see #2 and #50)
- http://android.stackexchange.com/questi ... e-over-mtp