Hi,
Clonezilla (3.35.2) was working perfectly in Manjaro Linux until latest updates.
Since, it displays the first dialog (i.e; device-image, device-device...) but whatever selection is made, it fails immediately spitting :
❯ clonezilla
grep: warning: stray \ before /
grep: warning: stray \ before /
/usr/bin/clonezilla: line 46: 10545 Aborted (core dumped) $DIA --backtitle "$msg_nchc_free_software_labs" --title "$msg_nchc_clonezilla" --menu "$msg_clonezilla_is_free_and_no_warranty \n$msg_hint_multiple_choice_select_by_space \n$msg_device_image_device_clone. \n$msg_lite_server_and_client_are_provided \n$msg_choose_mode:" 0 0 0 $DIA_ESC "device-image" "$msg_device_image_clone" "device-device" "$msg_device_device_clone" "remote-source" "$msg_remote_clone_source" "remote-dest" "$msg_remote_clone_destination" $lite_server_msg_1 $lite_server_msg_2 $lite_client_msg_1 $lite_client_msg_2 2> $TMP
Clonezilla mode is free(): invalid pointer
"free(): invalid pointer" is an unknown or unsupported type! You have to specify a correct ocs_live_type (device-image or device-device)!
Program terminated!!
Furthermore, trying to use alternate dialogs using the -d option fails in every possible way. Either the choosen dialog doesn't work at all, or it eventually fails after selection with the same kind of error message, or others.
It seems that forcing DIA to “gdialog” in /etc/drbl/drbl.conf gives a workaround to this.
Well it seems that forcing DIA to “dialog” instead of “gdialog” is better, as when using “gdialog” some screens are mysteriously skipped (in gdialog, expert option dialog won't show even if expert mode has been selected ; type of compression won't show but split size will)...
Bottom line :
- There seems to have been an update in whiptail that breaks compatibility with Clonezilla ;
- dialog still works good ;
- All other GUI dialog programs are a mess, either they don't work at all, or they break with the same error as whiptail, or they simply skip some screens and produce spurious output ;
- The "-d" option works only for the 1st Clonezilla displayed dialog. For the following ones, it's somewhat overwritten by the value from the config file.
You can refer to the bug we have reported last month:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022052
The culprit is buggy libpopt0.
Steven
Hello Steven,
Thank you for the quick reply.
My other remarks about the -d flag and other dialog programs use being broken (possibly some, but all not for the same reason) still stand.