The second backtrace looks a lot more accurate than the first;
ped_file_system_xfs_done doesn't do any arithmetic, while
_device_probe_geometry does. The change on that line from parted 1.6 to
1.7 was:

(1.6.25.1)
                dev->hw_geom.cylinders
                        = dev->length / (dev->hw_geom.heads
                                         * dev->hw_geom.sectors)
                                / (dev->sector_size / PED_SECTOR_SIZE);

(1.7.1)
                dev->hw_geom.cylinders
                        = dev->length / (dev->hw_geom.heads
                                         * dev->hw_geom.sectors);

However, I think this change was accompanied by a number of other
significant rearrangements, so unfortunately it's probably rather
difficult to backport.

-- 
crashing with "Arithmetic exception"
https://launchpad.net/bugs/54219

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to