Opened 6 years ago
Last modified 12 months ago
#14390 assigned bug
Tracker crash on context menu (Looper must be locked)
Reported by: | humdinger | Owned by: | jscipione |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Tracker | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #15132, #15349 | |
Platform: | All |
Description
This is hrev52267.
After right-clicking to do some drill-down-navigating I got the attached crash:
thread 2644: team 777 debug task thread 2638: popup state: Call (Looper must be locked.) Frame IP Function Name ----------------------------------------------- 00000000 0x60c31112 commpage_syscall + 0x2 Disassembly: commpage_syscall: 0x60c31110: 89e1 mov %esp, %ecx 0x60c31112: 0f34 sysenter <-- 0x70dd1748 0x20b7615 debugger + 0x39 0x70dd1780 0x17926bc BLooper::check_lock() + 0x40 0x70dd17b0 0x1874022 BView::_CheckLockAndSwitchCurrent(BView) + 0x22 0x70dd17f0 0x186fbcb BView::Invalidate(BRect) + 0xff 0x70dd1840 0x1813e41 BMenuItem::Highlight(bool) + 0x2d 0x70dd1870 0x104c75f BPrivate::ModelMenuItem::Highlight(bool) + 0x23 0x70dd18a0 0x1814548 BMenuItem::Select(bool) + 0x60 0x70dd18d0 0x180be5e BMenu::_SelectItem(BMenuItem*, bool) + 0x8a 0x70dd1920 0x180a2a1 BMenu::_UpdateStateClose(BMenuItem*, BPoint&, &) + 0x131 0x70dd19d0 0x180992d BMenu::_Track(void*, int32) + 0x585 0x70dd1a10 0x1808960 BMenu::Track(bool, BRect*) + 0x88 0x70dd1a60 0x18244f5 BPopUpMenu::_StartTrack(BPoint, bool) + 0x99 0x70dd1ab0 0x18243d2 BPopUpMenu::_thread_entry(void*) + 0x4a 0x70dd1ad8 0x20bf001 thread_entry + 0x21 00000000 0x60c31250 commpage_thread_exit + 0
Attachments (4)
Change History (10)
by , 6 years ago
Attachment: | Tracker-777-debug-23-08-2018-18-19-38.report added |
---|
comment:1 by , 6 years ago
I think this crash may be the same thing. Debug report and syslog attached.
by , 6 years ago
Attachment: | Tracker_syslog.txt added |
---|
by , 6 years ago
Attachment: | Tracker-794-debug-01-11-2018-23-33-16.report added |
---|
comment:2 by , 5 years ago
Blocking: | 15132 added |
---|
comment:3 by , 5 years ago
Blocking: | 15349 added |
---|
comment:4 by , 2 years ago
I just got one of these.
I was moving a cloned repo of Haiku's website, from one partition to a bigger one. Used Tracker's drag-and-drop "Move here" menu item into folder "~/SourceCode/".
While that move operation was running, I renamed a different folder inside that "~/SourceCode/".
After that, I attempted to create a new folder. The debugger call happened after I right-clicked in the Tracker's window for that "~/SourceCode/" folder (was trying to reach the "New->New Folder" menu item).
hrev56514, x86-64.
by , 2 years ago
Attachment: | Tracker-1527-debug-07-10-2022-11-22-22.report added |
---|
comment:5 by , 13 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Unfortunately I too have seen this crash before too. It has to do with menu thread trying to access something in the window thread without locking properly. When I tried to implement live menu updating feature a while back I ran into this issue consistently, but I never quite got around to fixing it.
comment:6 by , 12 months ago
I've seen this crash before to. It seems like when the nav menus (the menu item at the top with the drill down menus) get generated Tracker can get confused and crash sometimes. You say the crash happened when you right clicked in Tracker window, that follows because the nav menus are setup on right-click menus. Unfortunately whatever the problem is it's not consistent enough for me to figure out as it is only happening in some circumstances and then not again. Tracker crashes, it restarts and the problem doesn't return with nav menus are working again.
debug report