Opened 6 months ago

Last modified 2 months ago

#18926 assigned bug

Tracker crashes when invoking Find with custom filetypes installed

Reported by: grexe Owned by: jscipione
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

While working on my project (SEN), I set up custom file type and also supertypes, which are valid (displayed and handled correctly in Tracker and the FileTypes app).

However this seems to crash the Find panel since some weeks (I'm always on the latest nightly because I need to work with the system closely and want to watch out for changes as soon as possible).

Simply invoking the "Find" command by shortcut or menu crashes Tracker, see log.

Attachments (2)

Tracker-1775-debug-06-06-2024-14-32-30_find-crash.report (31.6 KB ) - added by grexe 6 months ago.
Tracker crash report
mime_db.zip (243.6 KB ) - added by grexe 6 months ago.
my extended mime_db

Download all attachments as: .zip

Change History (4)

by grexe, 6 months ago

Tracker crash report

by grexe, 6 months ago

Attachment: mime_db.zip added

my extended mime_db

comment:1 by jscipione, 4 months ago

Owner: changed from nobody to jscipione
Status: newassigned

I am unable to reproduce this issue on latest nightly, it may have been fixed. I created a new supertype in FileType with a type, so some custom types inside application supertype. Find window does not crash.

comment:2 by grexe, 2 months ago

can still reproduce with hrev58241, will try to debug. Crash report still shows:

	thread 499: w>Desktop 
		state: Exception (Segment violation)

		Frame		IP			Function Name
		-----------------------------------------------
		0x7fa3c5508810	0x3c1c947b30	BList::CountItems() const + 0 
			Disassembly:
				BList::CountItems() const:
				0x0000003c1c947b30:           8b4714  movl 0x14(%rdi), %eax <--

			Frame memory:
				[0x7fa3c5508808]  ..".k...   98 02 22 1f 6b 01 00 00
		0x7fa3c55089a0	0x16b1f220293	BPrivate::FindPanel::AddOneMimeTypeToMenu(BPrivate::ShortMimeInfo const*, void*) + 0xc3 
		0x7fa3c5508a00	0x16b1f235704	BPrivate::MimeTypeList::EachCommonType(bool (*)(BPrivate::ShortMimeInfo const*, void*), void*) const + 0x74 
		0x7fa3c5508b20	0x16b1f220942	BPrivate::FindPanel::AddMimeTypesToMenu() + 0x362 
		0x7fa3c5508ba0	0x16b1f225931	BPrivate::FindPanel::FindPanel(BFile*, BPrivate::FindWindow*, bool, bool) + 0x141 
		0x7fa3c5508d10	0x16b1f2264e8	BPrivate::FindWindow::FindWindow(entry_ref const*, bool) + 0x1a8 
Note: See TracTickets for help on using tickets.