partclone crash with segfault when term variable is not set to "linux"
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
Hi,
When I use partclone via ssh, the variable $TERM is set to "xterm-256color" and partclone crash
Sep 25 11:31:32 debian kernel: partclone.ntfs[5085]: segfault at 74 ip 0000000000445662 sp 00007ffe53073090 error 4 in partclone.ntfs[400000+154000]
Sep 25 11:31:32 debian kernel: partclone.ntfs[5085]: segfault at 74 ip 0000000000445662 sp 00007ffe53073090 error 4 in partclone.ntfs[400000+154000]
If i set the variable manually to "linux" partclone doesn't crash anymore
OK, thanks.
We actually force to set TERM as Linux in the script, so never have such issue. When Thomas has time, he definitely will fix this issue.
For the moment, please do set the TERM. Or try to run Partclone via command "clonezilla", "ocs-sr", or "ocs-onthefly".
Steven
A workaround (set TERM as linux) has been added to ocs-sr, ocs-onthelfy, etc. This can avoid the crash issue. However, if partclone is manually started, this issue still remains. Thomas Tsai will fix this issue for Partclone.
Steven