Crash when entering specific search term [Debug build only #21078]

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Crash when entering specific search term [Debug build only #21078]

Post by tbm72 »

Every time I search for an album I own with the specific word "Structures" in the title I get this crash that I've never seen before. Tried rebooting and it happens every time I start entering the word in the search box (I only have to enter the word as far as "Structu" when it crashes):

Image

(Using latest build 3035)
tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Re: Crash when entering specific search term

Post by tbm72 »

Never mind, I tried rebuilding the database using File>Manage database and it seems to have fixed it.

Interestingly I did try googling that error message though and only got 1 result:

https://en.delphipraxis.net/topic/869-r ... his-raise/
tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Re: Crash when entering specific search term

Post by tbm72 »

Actually no, it's come back - that search term is now fine but I just randomly started entering search words into the box and got the crash again:

Image
tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Re: Crash when entering specific search term

Post by tbm72 »

Reverted back to build 3034 and doesn't seem to happen on that version.
Rob_S
Posts: 1028
Joined: Wed Mar 10, 2021 1:53 pm

Re: Crash when entering specific search term

Post by Rob_S »

Just FYI, I tried quite a few existing and non-existing search terms in 3035, and I cant so far get it to crash.

More info about which view you are searching, which search box, and which layout, and all your search options.

ie are you including any custom fields in the search??
Using V2024 LATEST alpha or beta build on Windows 11, HP laptop, managing 13k tracks
tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Re: Crash when entering specific search term

Post by tbm72 »

Rob_S wrote: Mon Jul 08, 2024 1:43 pm Just FYI, I tried quite a few existing and non-existing search terms in 3035, and I cant so far get it to crash.

More info about which view you are searching, which search box, and which layout, and all your search options.

ie are you including any custom fields in the search??
I was using the magnifying glass search box at the top right of the window (global search?) with the following options set:

Image

(Also the boxes 'Custom 6' to 'Custom 10' which are out of view in the screenshot are ticked). So the only ones unticked are Lyrics, Original Album, Original Lyricist, Publisher, Encoder, Copyright. Can't recall now if there's a reason I haven't ticked those?

I was searching the Music node (List By Album view) and had the column filter and status bar visible ticked under 'View Elements'.

The first search term I tried was the word "Structures" but then I tried other random words that came into my head. The search term 'monkey' also made it crash with the same error. At that point I rolled back to 3034 build and couldn't get any search terms to make it crash again so presumed it was something in 3035 that caused it. I might install 3035 again in a minute and see if I can get it to crash again.
tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Re: Crash when entering specific search term

Post by tbm72 »

Thought I'd give 3035 another try just in case but sure enough after entering a few random search terms I got another crash. Previous words that caused a crash were fine ("structures" and "monkey") but I tried random things like artist names I know I have in my library and as soon as I started typing "stones" it got as far as "st" and then gave this crash:

Image

So will go back to 3034 for now.
CrashMonkey
Posts: 160
Joined: Sat Oct 21, 2023 10:34 am

Re: Crash when entering specific search term

Post by CrashMonkey »

(Also the boxes 'Custom 6' to 'Custom 10' which are out of view in the screenshot are ticked). So the only ones unticked are Lyrics, Original Album, Original Lyricist, Publisher, Encoder, Copyright. Can't recall now if there's a reason I haven't ticked those?
I have never changed the Search options in MM.
The only difference i have, is that you have "Albums" ticked on. While all the other settings are exactly the same.
Have also tested it, with your search terms, and about 50others searches, but i cannot replicate this issue.
I am using MediaMonkey on my Retro Systems, using the latest Beta build on Windows 11. Managing ~53k files
Rob_S
Posts: 1028
Joined: Wed Mar 10, 2021 1:53 pm

Re: Crash when entering specific search term

Post by Rob_S »

Mine has albums ticked, no crash so far....
Using V2024 LATEST alpha or beta build on Windows 11, HP laptop, managing 13k tracks
tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Re: Crash when entering specific search term

Post by tbm72 »

I've tried again installing 3035 again and within about 10 search random search terms I get the same error and crash again.
Image

Don't know if it makes a difference but it's a portable install. I also changed to default skin, cleared search history, rebuilt database but still the error comes back within the first few search terms (just picking any random search word or artist/album that I know might be in my library).

As soon as I roll back to 3034 the crashes go away so something in 3035 definitely seems to be causing it and the crashes are the same every time with just a different variable.
CrashMonkey
Posts: 160
Joined: Sat Oct 21, 2023 10:34 am

Re: Crash when entering specific search term

Post by CrashMonkey »

Was able to replicate:
Image

These 3 points is a must ->
I was searching the 1. Music node 2. (List By Album view) and had the3. column filter and status bar visible ticked under 'View Elements'.
I am using MediaMonkey on my Retro Systems, using the latest Beta build on Windows 11. Managing ~53k files
tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Re: Crash when entering specific search term

Post by tbm72 »

CrashMonkey wrote: Tue Jul 09, 2024 10:37 am Was able to replicate:
Image

These 3 points is a must ->
I was searching the 1. Music node 2. (List By Album view) and had the3. column filter and status bar visible ticked under 'View Elements'.
Thanks for confirming, glad it's not just me then!
MiPi
Posts: 886
Joined: Tue Aug 18, 2009 2:56 pm
Location: Czech Republic
Contact:

Re: Crash when entering specific search term

Post by MiPi »

Could you try non-debug version of the last build? Are you able to reproduce these crashes there?
tbm72
Posts: 413
Joined: Tue Dec 09, 2008 3:04 pm
Location: UK

Re: Crash when entering specific search term

Post by tbm72 »

MiPi wrote: Fri Jul 12, 2024 11:01 am Could you try non-debug version of the last build? Are you able to reproduce these crashes there?
I'll give it a try - is it OK to install non-debug over debug, i.e. will it cause any issues or will I lose any settings?
rusty
Posts: 8705
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Re: Crash when entering specific search term

Post by rusty »

There's no issue with installing the non-debug build on top of the debug build (settings will be retained).

Thanks!

-Rusty
Post Reply