qemu-nbd crash during using with chroot

Bug #779151 reported by Guillaume Smaha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Expired
Undecided
Unassigned

Bug Description

I use qemu-nbd to mount my image. And after some times, qemu-nbd crashes and so the chroot freeze.

ps aux | grep qemu :
root 2223 0.0 0.0 9776 548 ? Ss 18:03 0:00 qemu-nbd --connect=/dev/nbd0 /chroots/test/virtual.img
root 2224 0.0 0.0 10800 544 ? D 18:03 0:00 qemu-nbd --connect=/dev/nbd0 /chroots/test/virtual.img
root 2227 0.0 0.0 0 0 ? Z 18:03 0:00 [qemu-nbd] <defunct>
root 2357 0.0 0.0 5212 768 pts/0 D+ 18:07 0:00 grep qemu

mount :
/dev/nbd0p1 on /chroots/test/amd64 type ext3 (rw,errors=remount-ro,commit=0)
/dev on /chroots/test/amd64/dev type devtmpfs (rw,mode=0755)
/dev/pts on /chroots/test/amd64/dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/proc on /chroots/test/amd64/proc type proc (rw)
/sys on /chroots/test/amd64/sys type sysfs (rw,noexec,nosuid,nodev)

Revision history for this message
Guillaume Smaha (guillaume-smaha) wrote :
Revision history for this message
Guillaume Smaha (guillaume-smaha) wrote :

After reboot and mount the image, qemu-nbd crashes directly.

Revision history for this message
Michael Tokarev (mjt+launchpad-tls) wrote :

Please provide some gdb backtrace from the failing qemu-nbd process, ie, show the root cause of the problem instead of showing multiple symptoms.

Run qemu-nbd under gdb and when it crashes, run "bt" command. Before doing so, ensure you've debugging symbols for your qemu-nbd binary.

And the most important part - what's the format of the image you're running qemu-nbd against, and what version of qemu-nbd you're using?

Without all this, your bugreport is useless.

Thanks.

Revision history for this message
Guillaume Smaha (guillaume-smaha) wrote :

Ok i try to get the informations

Thomas Huth (th-huth)
Changed in qemu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.