Opened 6 months ago
Last modified 4 months ago
#18905 new bug
Search results windows crashes when adding / removing attributes columns
Reported by: | un_spacyar | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Tracker | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
This is weird issue, that I can only reproduce it when searching for an specific file type. This is the step by step process:
1) open the Find... window from Deskbar.
2) search for MPEG audio file (mpeg) Formula: ((name=="**")&&(BEOS:TYPE=="audio/mpeg"))
3) the search will bring you all the MPEG files (mainly mp3 files).
4) in the search window, go to the 'Attributes' menu, and add the "Rating" attribute.
5) a new column will appear: Attribute.
6) Click on the 'Attributes' menu again: Tracker will crash.
I am attaching the Tracker crash report.
If I repeat the process and search for MPEG audio file (x-mpeg) (Formula: ((name=="**")&&(BEOS:TYPE=="audio/x-mpeg")))
, the issue is not reproducible.
In short:
BEOS:TYPE=="audio/mpeg --> fails.
BEOS:TYPE=="audio/x-mpeg --> works fine.
I am using Haiku 32 bit.
hrev57719
Attachments (5)
Change History (15)
by , 6 months ago
Attachment: | Tracker-7243-debug-27-05-2024-03-45-00.report added |
---|
comment:1 by , 6 months ago
Description: | modified (diff) |
---|
comment:2 by , 6 months ago
Description: | modified (diff) |
---|
comment:3 by , 6 months ago
comment:4 by , 6 months ago
Hello. I do not have a 64 bit installation, but I can burn a CD or USB drive and try to reproduce it. Allow me some time to do it.
comment:5 by , 6 months ago
Hello. I tried again using Haiku 64 bit (hrev57753), and I get the same error. I am attaching the crash report for 64 bit too.
by , 6 months ago
Attachment: | Tracker-570-debug-01-06-2024-20-47-41.report added |
---|
Crash report on Haiku 64 bit
comment:6 by , 5 months ago
I can't seem manage to reproduce this. However, the newer crash report indicates it may be related to use of an add-on. It looks like ModelMenuItem may throw an exception if some things fail to initialize, and indeed I don't see anything set up to catch that exception.
comment:8 by , 4 months ago
Hi. I tested again using hrev57804, and the issue is still reproducible. In fact, I am noticing that now fails for any Mp3 search, for example now fails for both:
BEOS:TYPE=="audio/mpeg
BEOS:TYPE=="audio/x-mpeg
But also, if I search for name (*.mp3).
Also I noticed that the issue happens not only if I add the "Rating" attribute. If I choose any other value from the "Attributes" menu, and then click on the "Attribute" menu again, this triggers the crash. Let me try to record a video with all the steps. Maybe this way is more easy to understand.
by , 4 months ago
Attachment: | Tracker-574-debug-12-07-2024-04-28-14.report added |
---|
new crash report (hrev57804)
by , 4 months ago
Attachment: | Tracker-50663-debug-12-07-2024-04-31-11.report added |
---|
New crash report (hrev57804)
comment:9 by , 4 months ago
These crashes are not the same. Could you please try running Tracker under the guarded heap? Like this:
$ launch_roster stop x-vnd.be-trak $ LD_PRELOAD=/system/lib/libroot_debug.so MALLOC_DEBUG=g Tracker
It will likely still crash (possibly earlier) but the report may contain much more useful information.
by , 4 months ago
Attachment: | Tracker-2439-debug-16-07-2024-04-04-58.report added |
---|
Any chance this reproduces on x86_64?