Opened 3 years ago
Closed 3 years ago
#17580 closed bug (fixed)
[package_daemon] crashes on quit
Reported by: | diver | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | Servers/package_daemon | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Debug information for team /boot/system/servers/package_daemon (1694): CPU(s): 1x Intel Core™ i7-3635QM Memory: 998.88 MiB total, 401.20 MiB used Haiku revision: hrev55867 Feb 11 2022 08:43:11 (x86_64) Active Threads: thread 8606: team 1694 debug task thread 1694: package_daemon (main) state: Call (deleting referenceable object 0x10edadd16940 with reference count (2) )
Note the debug report is incomplete which looks like another issue.
Also closing brace in state: Call
line is on the new line.
Attachments (1)
Change History (14)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Here's a syslog form one of the 3 PC's that crashed when either rebooting or shutting down.
by , 3 years ago
Attachment: | package_daemon-694-debug-11-02-2022-23-28-53.report added |
---|
comment:3 by , 3 years ago
1681: DEBUGGER: deleting referenceable object 0x1083395f1fe0 with reference count (2)
debug_server: Thread 1681 entered the debugger: Debugger call: `deleting referenceable object 0x1083395f1fe0 with reference count (2) ' stack trace, current PC 0x278760b3629 _kern_debugger + 0x9:
(0x7f6d578e7d20) 0x13c416fc582 _ZN4RootD0Ev + 0x12 (0x7f6d578e7d40) 0x13c416f6778 _ZN11BObjectListI4RootED1Ev + 0x68 (0x7f6d578e7d70) 0x13c416f66b8 _ZN13PackageDaemonD1Ev + 0x38 (0x7f6d578e7d90) 0x13c416e9516 main + 0x86 (0x7f6d578e7f90) 0x13c416e965f _start + 0x3f (0x7f6d578e7fc0) 0x15be69af005 runtime_loader + 0x105
comment:4 by , 3 years ago
I have an quite similar entry in syslog when quitting package_daemon with ProcessController:
KERN: 4207: DEBUGGER: deleting referenceable object 0x114d6a293fe0 with reference count (2) KERN: KERN: debug_server: Thread 4207 entered the debugger: Debugger call: `deleting referenceable object 0x114d6a293fe0 with reference count (2) KERN: ' KERN: stack trace, current PC 0x1dc1ff12629 _kern_debugger + 0x9: KERN: (0x7fb7aa49e9e0) 0x1618216d582 _ZN4RootD0Ev + 0x12 KERN: (0x7fb7aa49ea00) 0x16182167778 _ZN11BObjectListI4RootED1Ev + 0x68 KERN: (0x7fb7aa49ea30) 0x161821676b8 _ZN13PackageDaemonD1Ev + 0x38 KERN: (0x7fb7aa49ea50) 0x1618215a516 main + 0x86 KERN: (0x7fb7aa49ec50) 0x1618215a65f _start + 0x3f KERN: (0x7fb7aa49ec80) 0x19ea69d5005 runtime_loader + 0x105
comment:5 by , 3 years ago
Same here with hrev55874
KERN: Haiku revision: hrev55874, debug level: 2 ... KERN: debug_server: Thread 228 entered the debugger: Debugger call: `deleting referenceable object 0x11bc70b3a5a0 with reference count (2) KERN: ' KERN: stack trace, current PC 0xa1dee23629 _kern_debugger + 0x9: KERN: (0x7fb4a1bb45d0) 0xa2fe5ae582 _ZN4RootD0Ev + 0x12 KERN: (0x7fb4a1bb45f0) 0xa2fe5a8778 _ZN11BObjectListI4RootED1Ev + 0x68 KERN: (0x7fb4a1bb4620) 0xa2fe5a86b8 _ZN13PackageDaemonD1Ev + 0x38 KERN: (0x7fb4a1bb4640) 0xa2fe59b516 main + 0x86 KERN: (0x7fb4a1bb4840) 0xa2fe59b65f _start + 0x3f KERN: (0x7fb4a1bb4870) 0xbd0b87b005 runtime_loader + 0x105
hrev55848 worked well
comment:8 by , 3 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:11 by , 3 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Still not fixed, to reproduce the crash, double click on any hpkg then close the dialog.
comment:12 by , 3 years ago
Active Threads: thread 875: HaikuDepot (main) thread 880: Package Contents Populator thread 881: Package Populator thread 1213: team 875 debug task thread 882: w>HaikuDepot state: Call (deleting referenceable object 0x111c97058260 with reference count (2)) Frame IP Function Name ----------------------------------------------- 00000000 0x1c931b28627 _kern_debugger + 0x7 Disassembly: _kern_debugger: 0x000001c931b28620: 48c7c0e4000000 mov $0xe4, %rax 0x000001c931b28627: 0f05 syscall <-- 0x7f9ba4dc2610 0x1382d8ccbb0 BReferenceable::~BReferenceable() + 0x50 0x7f9ba4dc2630 0x13f25e6a1dd OnePackageMessagePackageListener::~OnePackageMessagePackageListener() + 0xd 0x7f9ba4dc2660 0x13f25e79f31 PackageInfoView::~PackageInfoView() + 0x51 0x7f9ba4dc2680 0x13f25e79f6d PackageInfoView::~PackageInfoView() + 0xd 0x7f9ba4dc26b0 0x1382d865ba6 BView::~BView() + 0x76 0x7f9ba4dc26d0 0x1382d865c8d BView::~BView() + 0xd 0x7f9ba4dc2730 0x1382d86d836 BWindow::~BWindow() + 0xb6 0x7f9ba4dc2750 0x13f25e66f4d MainWindow::~MainWindow() + 0xd 0x7f9ba4dc2790 0x1382d7ab5f0 BLooper::Quit() + 0x180 0x7f9ba4dc2850 0x1382d7ab693 BLooper::_QuitRequested(BMessage*) + 0x33 0x7f9ba4dc28e0 0x1382d86ce2b BWindow::task_looper() + 0x1cb 0x7f9ba4dc2900 0x1382d7ab15d BLooper::_task0_(void*) + 0x1d 0x7f9ba4dc2920 0x1c931b273a6 thread_entry + 0x16 00000000 0x7fa515cca260 commpage_thread_exit + 0
comment:13 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
That is for HaikuDepot, not package_daemon.
See if there is a backtrace in the syslog.