Opened 8 years ago

Closed 3 weeks ago

#7504 closed bug (not reproducible)

[ext2] crashes in DataStream while trying to bunzip on a full partition

Reported by: diver Owned by: korli
Priority: normal Milestone: R1
Component: File Systems/ext2 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

This is hrev41457, gcc4hybrid in VirtualBox.

Mounting 54Mb ext2 partition (one of the partitions of a NAS firmware image) in rw mode and trying to "bzip -d rootfs2.bz" on a full volume results in a crash. Reproducible.
I can upload this partition to somewhere if needed.

Attachments (5)

kdl_ext2_3.png (34.2 KB ) - added by diver 8 years ago.
kdl_ext2.png (50.5 KB ) - added by diver 8 years ago.
kdl_on_boot_in_vbox.png (41.5 KB ) - added by diver 8 years ago.
kdl_ext2.2.png (50.5 KB ) - added by diver 8 years ago.
kdl_ext2_2.png (48.8 KB ) - added by diver 8 years ago.

Download all attachments as: .zip

Change History (11)

by diver, 8 years ago

Attachment: kdl_ext2_3.png added

by diver, 8 years ago

Attachment: kdl_ext2.png added

by diver, 8 years ago

Attachment: kdl_on_boot_in_vbox.png added

comment:1 by diver, 8 years ago

kdl_on_boot_in_vbox.png is unrelated.

by diver, 8 years ago

Attachment: kdl_ext2.2.png added

by diver, 8 years ago

Attachment: kdl_ext2_2.png added

comment:2 by korli, 8 years ago

I would need to download the partition. If you could put it somewhere on dl.free.fr for instance, that would definitely help. Also you meant bzip2 and not bzip, right?

comment:3 by diver, 8 years ago

Here you are: http://dl.free.fr/bCZWTY24P/sdx.zip mirror

Yes, it was bzip2. Also I converted raw hard drive image to vbox format via

VBoxManage convertfromraw -format VDI sdx sdx.vdi

I'm curious, is it possible to attach hard drive image in haiku itself, or mount one of it's partitions by offset (e.g. mount -w -o loop,ro,offset=1048576 sdx /mnt)?

parted sdx print
Model:  (file)
Disk /home/diver/sdx: 128MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      16.4kB  1049kB  1032kB  primary   ext2
 2      1049kB  57.7MB  56.6MB  primary   ext2
 3      57.7MB  114MB   56.6MB  primary   ext2
 4      114MB   128MB   13.8MB  extended
 5      114MB   120MB   5358kB  logical   ext2
 6      120MB   128MB   8372kB  logical   ext2
Last edited 8 years ago by diver (previous) (diff)

comment:4 by waddlesplash, 4 weeks ago

Please retest after hrev53401.

comment:5 by diver, 4 weeks ago

I don't have the image anymore, so I can't test this :/

comment:6 by waddlesplash, 3 weeks ago

Resolution: not reproducible
Status: newclosed
Note: See TracTickets for help on using tickets.