Busybox fdisk segmentation fault error

Uncategorized , 1 Comment

Today I have run into an error with fdisk under busybox. I am currently building a really small system with basic stuffs, and I need to run fdisk in the initramfs. Unfortunately when I try to run fdisk interactively, I get the following error:

fdisk[...]: segfault at 8117dc4 ip 080ff478 sp bffee994 error 7 in fdisk[8048000+df000]
Segmentation fault

It seems this is a bug in the input handling, or maybe I made something wrong. Anyway, the following is working fine:

# cat | fdisk /dev/...

I will take a look on this in the source and update this post if i will have enough time.

One thought on “Busybox fdisk segmentation fault error

  • Elnora Sultaire

    In looking for web sites related to hosting and specifically comparison hosting linux plan web,your internet site came up.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.