Opened 21 months ago

Closed 20 months ago

Last modified 20 months ago

#17846 closed bug (fixed)

PANIC: NULL dereference in get_next_usb_device

Reported by: badasahog Owned by: waddlesplash
Priority: normal Milestone: R1/beta4
Component: Drivers/Network/realtekwifi Version: R1/Development
Keywords: Cc:
Blocked By: #17276 Blocking:
Platform: All

Description

I don't know how to read this error or what it means. I'm just a Windows guy.

It happened on the latest nightly as of 7/24/22

image of the panic:

https://pbs.twimg.com/media/FYbp53XXwAACvw5?format=jpg&name=small

Attachments (4)

haiku_panic_1.jpg (1.7 MB ) - added by badasahog 21 months ago.
first image of panic
haiku_panic_2.jpg (1.4 MB ) - added by badasahog 21 months ago.
second image of panic
anotherError.jpg (4.5 MB ) - added by badasahog 20 months ago.
bad news, another error
success.jpg (4.1 MB ) - added by badasahog 20 months ago.
great news! (you were right, I wasn't using the newest build)

Change History (18)

comment:1 by tqh, 21 months ago

Iterating over USB devices trigger a page fault. _fbsd_init_hardware and realtekwifi driver, so seems usb networking related.

in reply to:  1 ; comment:2 by badasahog, 21 months ago

Replying to tqh:

Iterating over USB devices trigger a page fault. _fbsd_init_hardware and realtekwifi driver, so seems usb networking related.

I'm using a boot selector (called rEFInd) could that be the problem?

in reply to:  2 comment:3 by kim1963, 21 months ago

Replying to badasahog:

Replying to tqh:

Iterating over USB devices trigger a page fault. _fbsd_init_hardware and realtekwifi driver, so seems usb networking related.

I'm using a boot selector (called rEFInd) could that be the problem?

https://www.haiku-os.org/docs/userguide/en/bootloader.html

comment:4 by waddlesplash, 21 months ago

The bootloader has nothing to do with this problem.

Please attach the panic picture as an attachment here instead of just linking to it.

comment:5 by diver, 21 months ago

Component: - GeneralDrivers/Network/realtekwifi
Keywords: Panic Installer Installation Error Critical removed
Owner: changed from nobody to waddlesplash
Version: R1/beta3R1/Development

comment:6 by badasahog, 21 months ago

https://pbs.twimg.com/media/FYbp53XXwAACvw5

comment:7 by waddlesplash, 21 months ago

No, you have just embedded the image from Twitter. Please attach it to the ticket directly.

comment:8 by badasahog, 21 months ago

Last edited 21 months ago by badasahog (previous) (diff)

comment:9 by diver, 21 months ago

Please use png or jpeg so it can be viewed online.

by badasahog, 21 months ago

Attachment: haiku_panic_1.jpg added

first image of panic

by badasahog, 21 months ago

Attachment: haiku_panic_2.jpg added

second image of panic

comment:10 by waddlesplash, 21 months ago

Blocked By: 17276 added

comment:11 by waddlesplash, 21 months ago

Summary: Haiku setup wizard panics at bootPANIC: NULL dereference in get_next_usb_device

Based on the stack trace it looks like the "interfaces" pointer of a device configuration is NULL. I'm not sure how that happened, because it never should be for any configuration we obtain. Looking at the source code of the stack, I'm not sure how this case actually is occurring.

comment:12 by waddlesplash, 20 months ago

Milestone: UnscheduledR1/beta4
Resolution: fixed
Status: newclosed

Should be fixed by hrev56432.

by badasahog, 20 months ago

Attachment: anotherError.jpg added

bad news, another error

comment:13 by badasahog, 20 months ago

Last edited 20 months ago by badasahog (previous) (diff)

comment:14 by waddlesplash, 20 months ago

I can tell by looking at the screenshot that you are not even on a recent nightly build, much less hrev56432, so that does not count. Please test with the version I noted or a more recent one.

by badasahog, 20 months ago

Attachment: success.jpg added

great news! (you were right, I wasn't using the newest build)

Note: See TracTickets for help on using tickets.