Page 1 of 1

Crash of execution - max load cpu

PostPosted: Mon May 13, 2019 10:42 am
by Eriramos
Gentlemen, could you help me?
A simple play that perform a list of mp3 songs. During execution the CPU reaches the maximum load and process hangs.

SongListReset()
ListBoxAddItem("SongList","RESET")
SongListLoad("Todos os cds.m3l","txt")
SongListTime()
SongListRND()
SongListPlay("")

Thank you
Eriramos

Code:

Re: Crash of execution - max load cpu

PostPosted: Thu Jun 06, 2019 6:48 pm
by Eriramos
Can anybody help me?
I thought I had solved the problem by changing the format of the MP3 audio to OGG, the same problem occurred again. After running some audio tracks the program locks with auto index memory.

Re: Crash of execution - max load cpu

PostPosted: Fri Jun 07, 2019 4:57 am
by dgilmour
Please upload a minimal sample reproducing the problem, there's too much things in your .mbd file.

Re: Crash of execution - max load cpu

PostPosted: Fri Jun 07, 2019 9:30 am
by dgilmour
Well, I've downloaded it, compiled and can not reproduce your problem. It plays mp3 without high CPU usage. The only bad thing I see is that there's a button "Search CD" wich will be active even there's no CD drive present. In this case <CD> path macro will return '\' and I don't know how it will interpret SearchForFiles command.

Re: Crash of execution - max load cpu

PostPosted: Fri Jun 07, 2019 2:07 pm
by Eriramos
Thank you Dgilmour for the attention!

I have a list of MP3s in a directory. Called by the command (SongListLoad ("<SrcDir> \ All cds.txt", "txt") starts running normally, after a certain time the project hangs with a large CPU usage.
In the previous image of 196 tracks, when it arrived on track 5 caught. image of the task manager.

command (SongListLoad ("<SrcDir> \ All cds.txt", "txt")
The quoted command and page properties.

Re: Crash of execution - max load cpu

PostPosted: Fri Jun 07, 2019 6:00 pm
by dgilmour
Can you reproduce it on another machine?

Re: Crash of execution - max load cpu

PostPosted: Fri Jun 07, 2019 6:42 pm
by Eriramos
Yes, I already did this on my laptop and on the desktop all with Windows 10. I compiled with mmb V 4.9.8.13 with my MMB license, and also with MMB 64
I am suspicious of the MMB running on Windos. I have used MMB since 2012 and have never had this problem.

Re: Crash of execution - max load cpu

PostPosted: Fri Jun 07, 2019 6:50 pm
by Eriramos
Print while replying to the post. Of a total of 196 trails stopped at 9

Re: Crash of execution - max load cpu

PostPosted: Sat Jun 08, 2019 4:14 pm
by dgilmour
Your problem most probably has the same origin as this one (not resolved) viewtopic.php?f=17&t=192

Bad thing about it is that I can't reproduce it to investigate what causes hangs. And even worse it might require to change MMB code to eliminate the problem, but I have no access to it.

Re: Crash of execution - max load cpu

PostPosted: Sat Jun 08, 2019 6:29 pm
by Eriramos
Yes, exactly the same problem. I ran into another notebook that had no reference to the MMB, there was no reported crash, but stopped running the mp3 tracks.
Many thanks dgilmour