Page 1 of 2

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

Posted: Sun Jul 07, 2024 6:56 pm
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)

Re: Crash when entering specific search term

Posted: Sun Jul 07, 2024 7:03 pm
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/

Re: Crash when entering specific search term

Posted: Sun Jul 07, 2024 7:06 pm
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

Re: Crash when entering specific search term

Posted: Sun Jul 07, 2024 7:12 pm
by tbm72
Reverted back to build 3034 and doesn't seem to happen on that version.

Re: Crash when entering specific search term

Posted: Mon Jul 08, 2024 1:43 pm
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??

Re: Crash when entering specific search term

Posted: Mon Jul 08, 2024 2:22 pm
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.

Re: Crash when entering specific search term

Posted: Mon Jul 08, 2024 5:07 pm
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.

Re: Crash when entering specific search term

Posted: Tue Jul 09, 2024 8:19 am
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.

Re: Crash when entering specific search term

Posted: Tue Jul 09, 2024 10:20 am
by Rob_S
Mine has albums ticked, no crash so far....

Re: Crash when entering specific search term

Posted: Tue Jul 09, 2024 10:22 am
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.

Re: Crash when entering specific search term

Posted: Tue Jul 09, 2024 10:37 am
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'.

Re: Crash when entering specific search term

Posted: Tue Jul 09, 2024 12:49 pm
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!

Re: Crash when entering specific search term

Posted: Fri Jul 12, 2024 11:01 am
by MiPi
Could you try non-debug version of the last build? Are you able to reproduce these crashes there?

Re: Crash when entering specific search term

Posted: Fri Jul 12, 2024 11:10 am
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?

Re: Crash when entering specific search term

Posted: Fri Jul 12, 2024 11:13 am
by rusty
There's no issue with installing the non-debug build on top of the debug build (settings will be retained).

Thanks!

-Rusty