Menu

#305 partclone crash with segfault when term variable is not set to "linux"

testing_clonezilla
open
Thomas
5
2018-12-05
2018-10-01
Laurent B
No

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

Discussion

  • Steven Shiau

    Steven Shiau - 2018-10-21

    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

     
  • Steven Shiau

    Steven Shiau - 2018-12-05
    • assigned_to: Thomas
     
  • Steven Shiau

    Steven Shiau - 2018-12-05

    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

     

Log in to post a comment.