View Issue Details

IDProjectCategoryView StatusLast Update
0010474MMW v4Synchronizationpublic2013-05-05 22:40
Reporterlowlander Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.1 
Fixed in Version4.1 
Summary0010474: Sync never terminates
DescriptionSyncing to an Asus Transformer Pad TF300T the sync never terminates on 1623. This forces to manually terminate the task (in attached log this worked). On reconnecting device MediaMonkey doesn't recognize files on device when selecting Music and Video).
TagsNo tags attached.
Fixed in build1625

Relationships

related to 0010484 closedLudek MM can freeze on startup when an inaccessible MTP device is plugged over USB 
related to 0010522 feedbacklowlander MediaMonkey doesn't show files on device 

Activities

Ludek

2013-02-04 12:17

developer   ~0034769

Last edited: 2013-02-04 12:25

The zipped log has file size > 60 MB, unzipped > 470 MB !

I see capture time = 86000 sec = 23 hours

It is hard to analyze such a log, could you please generate a smaller log with a small set of files?

Or does the issue happen only when you sync many files?

lowlander

2013-02-04 21:15

developer   ~0034784

Unfortunately the problem of sync not terminating wasn't reproducible with less files. However the problem of MM not seeing files on the device was. Music, Video and Playlists show nothing. Going through Folders shows reading files... as status, but nothing happens. Note that MediaMonkey failed to recognize the device on the first attempt to reconnect device after sync completed, restarting device fixed that. [debug2.zip]

Ludek

2013-02-05 15:44

developer   ~0034795

I have just reproduced the issue with my Galaxy Nexus over MTP,
in my case sync always stop at one file with unknown artist and unknown album that is about to copy to folder /Music/Unknown/Unknown/ on the device.

Note that also by using Windows Explorer (when MM is closed) I cannot copy a file to the folder /Music/Unknown/Unknown/
Windows explorer says that the device has either stopped responding or was disconnected and suggests to "Stop copying" or "Skip this file".

Note that I can copy files to another folder using MM or Win Explorer.

I don't know what locked the folder, but MM should be able at least handle such situation and report the error like Windows Explorer does.

Ludek

2013-02-05 15:59

developer   ~0034796

Last edited: 2013-02-05 17:43

Now, also Windows explorer freezes and stays at "Copying the file" forever, but it can be cancelled (unlike MM).


Note: I found that this issue appears if I use USB3 port of my laptop, but has never occured with any of my USB2 ports.

Ludek

2013-02-05 16:32

developer   ~0034798

Last edited: 2013-02-06 12:43

Fixed in build 1624.


Note that with one of my USB port (the USB3 port) the copy sometimes takes really long time, e.g. it looks like frozen for one minute and then it fails.

Switching to different USB port helps.

EDIT:
Today it frozen again, also Windows Explorer became unresponsive when accessing the device and needs to be killed. It sounds like http://code.google.com/p/android/issues/detail?id=23090
The issue appears only with one of my USB cables, it is definetly something on underlaying SW/HW layer and is not MM issue.

lowlander

2013-02-12 16:48

developer   ~0034862

This doesn't seem fixed for me. It still doesn't terminate and the problem seems to be the Cars movie. [debug3.zip]

lowlander

2013-02-12 17:15

developer   ~0034865

It does seem to be the Cars movie causing the unterminated sync [debug4.zip]

Ludek

2013-02-13 16:02

developer   ~0034880

Last edited: 2013-02-13 16:03

I see (debug4.zip) that the
F:\Movies\TV\Cars [English-2006-G-MPG-tt0317219]\Cars.mpg
is auto-converted to
C:\Software\MediaMonkey\Portable\Temp\1D3D_Cars.mpg14EC
but the conversion doesn't seem to be complete in the log.

From the log it looks like that the file conversion never completes (or takes too long and cannot be terminated ?).
Could you confirm the issue by selecting the file in file listing and press Shift+Ctrl+C using the same convert rules as in case of auto-conversion.

Is the result of manual conversion same as the auto-conversion?

lowlander

2013-02-13 20:14

developer   ~0034888

Manual conversion also fails [debug5.zip]. MediaInfo added to zip as well.

Ludek

2013-02-13 20:48

developer   ~0034891

Last edited: 2013-02-13 20:54

Michal, could you look why this video conversion failed?

I see in the log (debug5.zip) this:
 f_video: -- end of rekompress file F:\Movies\TV\CARS_E~1\Cars.mpg, time: 4312969 ms

It looks that rekompressing took 4312 seconds ?

michal

2013-02-13 21:39

developer   ~0034893

It means, that recompressing is ended after 4312s. But the recompression is stuck from time 776.63391113 for some reason. After 4312s is the process probably only manually aborted.
I will download the file and test the conversion too. It seems, there is something in the file, that causes deadlock in the conversion.

michal

2013-02-14 08:44

developer   ~0034912

The file is corrupted a lot, MPC-HC crashes while playing it, every player shows wrong duration including MediaInfo. I will try to find out, if we could detect the stuck and stop the failed conversion, so it will not block synchro.

michal

2013-02-14 10:38

developer   ~0034916

Fixed in build 1625. If video conversion is stuck for 1 minute, it is cancelled.

peke

2013-05-05 22:40

developer   ~0035931

Verified 1636 With Nexus 7 and small incorrect FLV file