Opened 3 years ago

Last modified 2 months ago

#17058 new bug

[tcp] crashes in EndpointManager::Unbind on power off

Reported by: dasebek Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Network & Internet/TCP Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Occasionally, I get an sshd-related kernel panic during the system shutdown. The panic message says "PANIC: bound endpoint 0x... not in hash!" This happens when I repeatedly connect to Haiku over SSH in order to transfer files (scp, rsync), and, after all SSH connections are closed, I power off the system.

I was using an official nightly build of hrev55184 (x86_64). A screenshot is attached.

Attachments (3)

ssh_crash.png (65.1 KB ) - added by dasebek 3 years ago.
Panic screenshot
Screenshot_2024-02-14_13-45-52.png (33.1 KB ) - added by dovsienko 3 months ago.
hrev56578+95
Screenshot_2024-02-28_16-03-41.png (31.1 KB ) - added by dovsienko 2 months ago.
hrev57609

Download all attachments as: .zip

Change History (8)

by dasebek, 3 years ago

Attachment: ssh_crash.png added

Panic screenshot

comment:1 by diver, 3 years ago

Component: SystemNetwork & Internet/Stack
Owner: changed from nobody to axeld
Summary: [sshd] kernel panic on system power off[tcp] crashes in EndpointManager::Unbind on power off

comment:2 by waddlesplash, 3 months ago

Component: Network & Internet/StackNetwork & Internet/TCP

by dovsienko, 3 months ago

comment:3 by dovsienko, 3 months ago

Reproduced for me once with a very similar stack trace (see screenshot) on Haiku R1 beta 4 hrev56578+95 in VirtualBox 7.0.12. Two SSH connections were open when I initiated a shutdown from the console via ACPI power.

comment:4 by dovsienko, 2 months ago

Reproduced randomly once on hrev57609 after I closed all SSH connections and about a minute later attempted an ACPI power shutdown, which usually works fine. Attaching screenshot...

comment:5 by waddlesplash, 2 months ago

I found a potential problem that could lead to this and fixed it in hrev57616.

Note: See TracTickets for help on using tickets.