I forgot to test with LC_ALL=C, to see if the problem is the locale or the disk size. I just did, and with this locale the segfault do not happen. So the problem seem to be related to the nb_NO or UTF-8 locale.
The created partition size is still not the size I requested, but the program still do not crash. JFYI. Vennlig hilsen, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

