Jump to ID:
Multimedia

Project Home

Documents

Discussions

Wiki

Project Info
Forum Topic - caught in a loop: mdp_mgr_metadata_get_int and md_get_from_file, no such file or dir: (4 Items)
   
 
 
caught in a loop: mdp_mgr_metadata_get_int and md_get_from_file, no such file or dir  
Hi,

In sloginfo:

Jan 01 09:29:23    3    27   200 MDP:md_get_from_file(228): Unable to open "/fs/ipod0//.FS_info./playback/song~
2147552576": No such file or directory (2).
Jan 01 09:29:23    3    27   200 MDP:mdp_mgr_metadata_get_int(1096): Error getting metadata for group 00000002 from "/fs
/ipod0//.FS_info./playback/song~2147552576": An external resource call used by the MDP failed. (10).
Jan 01 09:29:23    3    27   200 MDP:md_get_from_file(228): Unable to open "/fs/ipod0//.FS_info./playback/song~
2147552577": No such file or directory (2).
Jan 01 09:29:23    3    27   200 MDP:mdp_mgr_metadata_get_int(1096): Error getting metadata for group 00000002 from "/fs
/ipod0//.FS_info./playback/song~2147552577": An external resource call used by the MDP failed. (10).
Jan 01 09:29:23    3    27   200 MDP:md_get_from_file(228): Unable to open "/fs/ipod0//.FS_info./playback/song~
2147552578": No such file or directory (2).
Jan 01 09:29:23    3    27   200 MDP:mdp_mgr_metadata_get_int(1096): Error getting metadata for group 00000002 from "/fs
/ipod0//.FS_info./playback/song~2147552578": An external resource call used by the MDP failed. (10).
Jan 01 09:29:23    3    27   200 MDP:md_get_from_file(228): Unable to open "/fs/ipod0//.FS_info./playback/song~
2147552579": No such file or directory (2).
J

I'm seeing the above sloginfo continuing with the song number 2,147,552,579 increasing with no signs yet that this will 
stop.

mme-generic is consuming quite a bit of CPU

There's about 500 songs on this iPod...

What could be the cause of this loop?
Re: caught in a loop: mdp_mgr_metadata_get_int and md_get_from_file, no such file or dir  
I wonder if the request is coming from outside the MME (ie. explore 
mode).  If you run MME with high verbosity it might tell you.

-- 
Ryan J. Allen
QNX Software Systems
Re: caught in a loop: mdp_mgr_metadata_get_int and md_get_from_file, no such file or dir  
I spoke to Andrew yesterday.  We found that the client was calling into the MME with the invalid title numbers (I think 
it was mme_trksessionview_metadata_get()).  So the client somehow got confused and was calling into the MME in a tight 
loop.

We had to turn logging up to at least 7 to see these requests in the slog.
Re: caught in a loop: mdp_mgr_metadata_get_int and md_get_from_file, no such file or dir  
On 10-04-19 12:37 PM, "Andrew Sherk" <community-noreply@qnx.com> wrote:
> I'm seeing the above sloginfo continuing with the song number 2,147,552,579
> increasing with no signs yet that this will stop.
> 
> mme-generic is consuming quite a bit of CPU
> 
> There's about 500 songs on this iPod...
> 
> What could be the cause of this loop?

If you see this occuring, you can run dumper -p <pid of mme-generic> and get
a core. Then you can post the core, along with use -i mme-generic (and use
-i libc.so). Or actually, even better, since you may already have the system
in place, just do:

ntoARCH-gdb mme-generic ./path/to/mme-generic.core
bt

This will show the backtrace of the mme-generic when that situation
occurred. Also good is the pidin output.

Thanks,
Gilles