Opened 14 years ago

Closed 5 years ago

Last modified 5 years 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:
Component: File Systems/ext2 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
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 14 years ago.
kdl_ext2.png (50.5 KB ) - added by diver 14 years ago.
kdl_on_boot_in_vbox.png (41.5 KB ) - added by diver 14 years ago.
kdl_ext2.2.png (50.5 KB ) - added by diver 14 years ago.
kdl_ext2_2.png (48.8 KB ) - added by diver 14 years ago.

Download all attachments as: .zip

Change History (12)

by diver, 14 years ago

Attachment: kdl_ext2_3.png added

by diver, 14 years ago

Attachment: kdl_ext2.png added

by diver, 14 years ago

Attachment: kdl_on_boot_in_vbox.png added

comment:1 by diver, 14 years ago

kdl_on_boot_in_vbox.png is unrelated.

by diver, 14 years ago

Attachment: kdl_ext2.2.png added

by diver, 14 years ago

Attachment: kdl_ext2_2.png added

comment:2 by korli, 14 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, 14 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_raw.img print
Model:  (file)
Disk /home/diver/sdx_raw.img: 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
Version 0, edited 14 years ago by diver (next)

comment:4 by waddlesplash, 5 years ago

Please retest after hrev53401.

comment:5 by diver, 5 years ago

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

comment:6 by waddlesplash, 5 years ago

Resolution: not reproducible
Status: newclosed

comment:7 by nielx, 5 years ago

Milestone: R1

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.