Opened 8 years ago

Last modified 7 years ago

#8372 assigned bug

Screensaver memory leak killing my Haiku vm?

Reported by: jstressman Owned by: nobody
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I normally run the "Icons" screensaver and have noticed that when I leave the vm running overnight, I usually come back to a frozen Haiku.

This is hrev43809 under virtualbox 4.1.8 on win7 64bit.

I'm attaching the entire log file, but the apparently relevant end of the log file is as follows:

runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory
add_memory_type_range(8278, 0x0, 0x1000, 0)
remove_memory_type_range(8278, 0x0, 0x1000, 0)
add_memory_type_range(8279, 0xa0000, 0x60000, 0)
vesa: vesa_set_dpms_mode(): BIOS returned 0x0100
remove_memory_type_range(8279, 0xa0000, 0x60000, 0)
AudioMixer: Dequeued input buffer 1531 usec late
AudioMixer: sending notify
AudioMixer: Dequeued input buffer 2119 usec late
AudioMixer: sending notify
AudioMixer: Dequeued input buffer 9287 usec late
AudioMixer: sending notify
AudioMixer: Dequeued input buffer 1850 usec late
AudioMixer: sending notify
AudioMixer: Dequeued input buffer 6059 usec late
AudioMixer: sending notify
runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory
add_memory_type_range(9608, 0x0, 0x1000, 0)
remove_memory_type_range(9608, 0x0, 0x1000, 0)
add_memory_type_range(9609, 0xa0000, 0x60000, 0)
vesa: vesa_set_dpms_mode(): BIOS returned 0x0100
remove_memory_type_range(9609, 0xa0000, 0x60000, 0)
runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory
add_memory_type_range(10047, 0x0, 0x1000, 0)
remove_memory_type_range(10047, 0x0, 0x1000, 0)
add_memory_type_range(10048, 0xa0000, 0x60000, 0)
vesa: vesa_set_dpms_mode(): BIOS returned 0x0100
remove_memory_type_range(10048, 0xa0000, 0x60000, 0)
slab memory manager: created area 0xd8801000 (10887)
runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory
add_memory_type_range(11182, 0x0, 0x1000, 0)
remove_memory_type_range(11182, 0x0, 0x1000, 0)
add_memory_type_range(11183, 0xa0000, 0x60000, 0)
vesa: vesa_set_dpms_mode(): BIOS returned 0x0100
remove_memory_type_range(11183, 0xa0000, 0x60000, 0)
runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory
add_memory_type_range(11262, 0x0, 0x1000, 0)
remove_memory_type_range(11262, 0x0, 0x1000, 0)
add_memory_type_range(11263, 0xa0000, 0x60000, 0)
vesa: vesa_set_dpms_mode(): BIOS returned 0x0100
remove_memory_type_range(11263, 0xa0000, 0x60000, 0)
runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory
add_memory_type_range(12006, 0x0, 0x1000, 0)
remove_memory_type_range(12006, 0x0, 0x1000, 0)
add_memory_type_range(12007, 0xa0000, 0x60000, 0)
vesa: vesa_set_dpms_mode(): BIOS returned 0x0100
remove_memory_type_range(12007, 0xa0000, 0x60000, 0)
bfs: bfs_open_dir:1614: Not a directory
Last message repeated 2 times.
Last message repeated 2 times.
bfs: bfs_open_dir:1614: Not a directory
bfs: bfs_read_link:1501: Invalid Argument
Last message repeated 4 times.
Last message repeated 2 times.
slab memory manager: created area 0xd9001000 (15386)
slab memory manager: created area 0xd9801000 (15387)
slab memory manager: created area 0xda001000 (15388)
slab memory manager: created area 0xda801000 (15389)
slab memory manager: created area 0xdb001000 (15390)
slab memory manager: created area 0xdb801000 (15391)
slab memory manager: created area 0xdc001000 (15392)
slab memory manager: created area 0xdc801000 (15393)
slab memory manager: created area 0xdd001000 (15394)
slab memory manager: created area 0xdd801000 (15395)
slab memory manager: created area 0xde001000 (15396)
slab memory manager: created area 0xdf001000 (15397)
slab memory manager: created area 0xdf801000 (15398)
slab memory manager: created area 0xe0001000 (15399)
slab memory manager: created area 0xe0801000 (15400)
slab memory manager: created area 0xe1001000 (15401)
slab memory manager: created area 0xe1801000 (15402)
slab memory manager: created area 0xe2001000 (15403)
slab memory manager: created area 0xe2801000 (15404)
slab memory manager: created area 0xe3001000 (15405)
slab memory manager: created area 0xe3801000 (15406)
slab memory manager: created area 0xe4001000 (15407)
slab memory manager: created area 0xe4801000 (15408)
slab memory manager: created area 0xe5001000 (15409)
slab memory manager: created area 0xe5801000 (15410)
slab memory manager: created area 0xe6001000 (15411)
slab memory manager: created area 0xe6801000 (15412)
slab memory manager: created area 0xe7001000 (15413)
slab memory manager: created area 0xe7801000 (15414)
slab memory manager: created area 0xe8001000 (15415)
slab memory manager: created area 0xe8801000 (15416)
bfs: bfs_read_link:1501: Invalid Argument
Last message repeated 4 times.
slab memory manager: created area 0xe9001000 (15640)
bfs: bfs_read_link:1501: Invalid Argument
bfs: bfs_read_link:1501: Invalid Argument
slab memory manager: created area 0xe9801000 (15689)
slab memory manager: created area 0xea001000 (15690)
slab memory manager: created area 0xea801000 (15691)
slab memory manager: created area 0xeb001000 (15702)
slab memory manager: created area 0xeb801000 (15703)
slab memory manager: created area 0xec001000 (15704)
slab memory manager: created area 0xec801000 (15705)
slab memory manager: created area 0xed001000 (15706)
slab memory manager: created area 0xed801000 (15707)
slab memory manager: created area 0xee001000 (15708)
slab memory manager: created area 0xee801000 (15709)
slab memory manager: created area 0xef001000 (15710)
slab memory manager: created area 0xef801000 (15711)
slab memory manager: created area 0xf0001000 (15712)
slab memory manager: created area 0xf0801000 (15713)
slab memory manager: created area 0xf1001000 (15714)
slab memory manager: created area 0xf1801000 (15715)
slab memory manager: created area 0xf2001000 (15716)
slab memory manager: created area 0xf2801000 (15717)
slab memory manager: created area 0xf3001000 (15718)
slab memory manager: created area 0xf3801000 (15719)
slab memory manager: created area 0xf4001000 (15720)
slab memory manager: created area 0xf4801000 (15721)
slab memory manager: created area 0xf5001000 (15722)
slab memory manager: created area 0xf5801000 (15723)
slab memory manager: created area 0xf6001000 (15724)
slab memory manager: created area 0xf6801000 (15725)
slab memory manager: created area 0xf7001000 (15726)
slab memory manager: created area 0xf7801000 (15727)
slab memory manager: created area 0xf8001000 (15728)
slab memory manager: created area 0xf8801000 (15729)
add_memory_type_range(17049, 0x0, 0x1000, 0)
remove_memory_type_range(17049, 0x0, 0x1000, 0)
add_memory_type_range(17050, 0xa0000, 0x60000, 0)
remove_memory_type_range(17050, 0xa0000, 0x60000, 0)
add_memory_type_range(17054, 0x0, 0x1000, 0)
remove_memory_type_range(17054, 0x0, 0x1000, 0)
add_memory_type_range(17055, 0xa0000, 0x60000, 0)
remove_memory_type_range(17055, 0xa0000, 0x60000, 0)
add_memory_type_range(17059, 0x0, 0x1000, 0)
remove_memory_type_range(17059, 0x0, 0x1000, 0)
add_memory_type_range(17060, 0xa0000, 0x60000, 0)
remove_memory_type_range(17060, 0xa0000, 0x60000, 0)
add_memory_type_range(17265, 0x0, 0x1000, 0)
remove_memory_type_range(17265, 0x0, 0x1000, 0)
add_memory_type_range(17266, 0xa0000, 0x60000, 0)
remove_memory_type_range(17266, 0xa0000, 0x60000, 0)
slab memory manager: created area 0xf9001000 (27295)
low resource pages: normal -> note
low resource pages: note -> warning
low resource pages: warning -> note
low resource pages: note -> warning
low resource pages: warning -> normal
low resource pages: normal -> note
PageWriteWrapper: Failed to write page 0x83c1206c: General system error
3898: DEBUGGER: Could not create BWindow's receive port, used for interacting with the app_server!
_user_debugger(): Failed to install debugger. Message is: `Could not create BWindow's receive port, used for interacting with the app_server!'
thread_hit_debug_event(): Failed to create debug port: No more ports available
low resource pages: note -> normal
ps2: strange mouse data, x-delta -124, trying resync
ps2: bad mouse data, trying resync
ps2: bad mouse data, trying resync
runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory
add_memory_type_range(57044, 0x0, 0x1000, 0)
remove_memory_type_range(57044, 0x0, 0x1000, 0)
add_memory_type_range(57045, 0xa0000, 0x60000, 0)
vesa: vesa_set_dpms_mode(): BIOS returned 0x0100
remove_memory_type_range(57045, 0xa0000, 0x60000, 0)
runtime_loader: Cannot open file /boot/home/config/add-ons/Screen Savers/Icons: No such file or directory
runtime_loader: Cannot open file /boot/common/add-ons/Screen Savers/Icons: No such file or directory

Attachments (2)

log.icon-screensaver-freeze.txt (58.2 KB ) - added by jstressman 8 years ago.
haiku.log (161.8 KB ) - added by savant 7 years ago.
haiku hang log with screensaver

Download all attachments as: .zip

Change History (7)

by jstressman, 8 years ago

comment:1 by jstressman, 8 years ago

I disabled the screensaver and left the vm running overnight and had no problems with it. No freezing. :)

I might try running it with a different screensaver tonight to see if the same issue happens with a different one.

comment:2 by diver, 7 years ago

Component: Add-Ons/Screen SaversSystem/Kernel
Owner: changed from korli to axeld

by savant, 7 years ago

Attachment: haiku.log added

haiku hang log with screensaver

comment:3 by savant, 7 years ago

Catched on Virtualbox 4.2.6 on 64-bit linux host.

comment:4 by diver, 7 years ago

Owner: changed from axeld to bonefish
Status: newassigned

comment:5 by bonefish, 7 years ago

Owner: changed from bonefish to nobody

The only VM problem I see is the error message PageWriteWrapper: Failed to write page.... While this isn't nice, it isn't critical for the health of the system either. Other than that the system seems to have run out of ports, which definitely is a problem for the system health. Why that happens cannot be seen in the syslog.

Note: See TracTickets for help on using tickets.