[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parted 1.6.23 - problem with resizing of the extended partition
From: |
K.G. |
Subject: |
Re: Parted 1.6.23 - problem with resizing of the extended partition |
Date: |
Tue, 2 Aug 2005 09:33:46 +0200 |
On Mon, 1 Aug 2005 23:17:46 +0200 Vlado Potisk <address@hidden> wrote:
> > Can you try to backtrace it now ?
>
> Here you are:
>
> #0 exception_handler (ex=0x87ea258) at ui.c:269
[...]
> #5 0x00f98aa1 in ped_geometry_new (dev=0x87e99d8, start=612073315594312280,
> length=270725450984) at geom.c:53
> #6 0x00f98b40 in ped_geometry_duplicate (geom=0x87e9b40) at geom.c:72
> #7 0x00f94ddf in ped_constraint_init (constraint=0x87e9970,
> start_align=0xfe55ec, end_align=0xfe55ec,
> start_range=0x87e9b40, end_range=0x87e89c8, min_size=1,
> max_size=78165360)
> at constraint.c:52
> #8 0x00f94e91 in ped_constraint_new (start_align=0xfe55ec,
> end_align=0xfe55ec, start_range=0x87e9b40, end_range=0x87e89c8,
> min_size=1, max_size=78165360) at constraint.c:74
> #9 0x0804b2b4 in constraint_from_start_end (dev=0x87e8ce8,
> range_start=0x87e9b40, range_end=0x87e89c8) at parted.c:295
> #10 0x0804d856 in do_resize (dev=0xbf87e390) at parted.c:1214
> #11 0x0804aabd in command_run (cmd=0x87e6f70, dev=0xbf87e390) at command.c:129
> #12 0x08051a72 in interactive_mode (dev=0xbf87e390, cmd_list=0x8054740) at
> ui.c:1042
> #13 0x0804f147 in main (argc=0, argv=0xbf87e42c) at parted.c:1802
>
> Best regards,
>
> Vlado
Can you try with this recent fix ?
BTW, Thank you for your great error reporting help :)
Cheers,
Guillaume
diff -u -r1.7 -r1.9
--- stable/parted/ui.c 2005/06/30 00:41:37 1.7
+++ stable/parted/ui.c 2005/07/26 20:01:44 1.9
@@ -14,7 +14,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <parted/parted.h>
@@ -541,7 +541,11 @@
* default.
*/
if (input && *value && !strcmp (input, def_str)) {
+ *range = ped_geometry_new (dev, *value, 1);
+ PED_ASSERT (*range != NULL, return 0);
+
ped_free (def_str);
+
return 1;
}
- Re: Parted 1.6.23 - problem with resizing of the extended partition, Vlado Potisk, 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, K.G., 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, K.G., 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, Vlado Potisk, 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, K.G., 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, Vlado Potisk, 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition,
K.G. <=
- Re: Parted 1.6.23 - problem with resizing of the extended partition, Vlado Potisk, 2005/08/02