#15142 closed bug (fixed)
NULL dereference in console_write
Reported by: | SnodBlatter | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Drivers | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
Upon closing Netsurf the screen turned white, but moving the cursor around left "refreshed" squares behind which showed the desktop. Deskbar was still responding so I tried to reboot but nothing happened. Hit ctrl+alt+delete (I don't even know if that does anything in Haiku!) and the panic scrolled down the screen. See attached picture.
Specs:
1.3GHz Tualatin Celeron @ 1.6GHz
Asus P2B-F
512MB memory
GF4 MX460
ES1371 sound card
Intel Pro 100 NIC
Currently rolled back to hrev53047 which is rock solid in comparison.
Attachments (4)
Change History (18)
by , 5 years ago
Attachment: | 190707.JPG added |
---|
comment:1 by , 5 years ago
The backtrace is a bit cut off. Can you try to take a picture with the bottom visible, too?
comment:2 by , 5 years ago
When you say "since June", can you give a more specific hrev or a date that the crashes started occurring on? hrev53225 is a potential culprit but was merged on 1 July.
comment:3 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Ah, probably hrev53172 is the real culprit.
by , 5 years ago
Attachment: | netsurf.JPG added |
---|
by , 5 years ago
Attachment: | haikudepot.JPG added |
---|
by , 5 years ago
Attachment: | mediaplayer.JPG added |
---|
comment:4 by , 5 years ago
hrev53047 is fine, hrev53092 also appears to work fine. I often don't use this machine for 2-3 weeks so it could be any version since then that started it.
Attached are three more panics, the name of the file is what I was running when it happened. Larger programs really speed up the process, if I boot to desktop and run Netsurf then it'll last about 2 minutes before panicking, HaikuDepot is about 45 seconds and never fully loads. HaikuDepot is also finicky on hrev53092 though.. Sitting at desktop lasted at least 5 minutes until I launched mediaplayer.
comment:5 by , 5 years ago
MediaPlayer picture is actually an app_server crash, not a KDL, so this appears unrelated.
comment:7 by , 5 years ago
And the NetSurf picture is also #14928. So, out of all these pictures, only the first one you attached is actually a relevant KDL :)
comment:8 by , 5 years ago
Component: | - General → Drivers/TTY |
---|---|
Summary: | Panic while sat at desktop → NULL dereference in console_write |
comment:9 by , 5 years ago
src/bin/consoled/consoled.cpp: con->console_writer = spawn_thread(&console_writer, "console writer", src/tests/apps/miniterminal/MiniView.cpp: fConsoleWriter = spawn_thread(&MiniView::ConsoleWriter, "console writer", B_URGENT_DISPLAY_PRIORITY, this);
comment:10 by , 5 years ago
Component: | Drivers/TTY → Drivers |
---|
Seems like a bug in the console driver.
comment:11 by , 5 years ago
how to reproduce:
sh -c "cat /dev/zero > /dev/console &" ; echo hello > /dev/console
comment:14 by , 5 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
backtrace