Opened 15 months ago

Closed 7 months ago

#18286 closed bug (fixed)

Partial system hang when compiling cross-compiler

Reported by: accessays Owned by: nobody
Priority: normal Milestone: R1/beta5
Component: Drivers/Disk/Virtio Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Setup: hrev56792 in KVM, 2GB RAM, 8 cores, 10GB storage. I ran pkgman update, restarted, cloned repos and started building

git clone --depth 1 http://github.com/haiku/buildtools.git
git clone http://github.com/haiku/haiku.git
cd haiku
mkdir generated.x86_64; cd generated.x86_64
../configure --cross-tools-source ../../buildtools --build-cross-tools x86_64

After some time, the system hangs in a strange way. UI sometimes keeps working (time changes, ActivityMonitor keeps updating), but I cannot start most apps. I can ssh into the system, ls, but not mkdir.

Checking via KDL, mkdir is waiting for a mutex "bfs journal", which is held by "bfs log flusher", which is waiting for cvar for some object (I/O request finished).

From the backtrace, it looks like things break somewhere after virtio_block_write, so I'm assuming a driver issue? But perhaps something else.

Attachments (1)

kdl-mkdir-hang.png (37.7 KB ) - added by accessays 15 months ago.

Download all attachments as: .zip

Change History (7)

by accessays, 15 months ago

Attachment: kdl-mkdir-hang.png added

comment:1 by X512, 15 months ago

Does it hang permanently or resume working after waiting for some time?

in reply to:  1 comment:2 by accessays, 15 months ago

Replying to X512:

Does it hang permanently or resume working after waiting for some time?

I waited for about 30 mins, no change.

comment:3 by diver, 15 months ago

Platform: x86-64All

comment:5 by korli, 7 months ago

Milestone: UnscheduledR1/beta5

comment:6 by waddlesplash, 7 months ago

Resolution: fixed
Status: newclosed

Fixed in hrev57330.

Note: See TracTickets for help on using tickets.