segmentation error

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

hi,

when iam running a script , frequently iam facing segmentation error. what might be the possibilities .

 

 

regards,

jamie

Answers

  • tinh
    tinh Altair Community Member
    edited April 2018

    Hi Jamie

    it is due to some of commands are sensitive to make appcrash

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hi Jamie

    it is due to some of commands are sensitive to make appcrash

    so tinh how can i overcome that...or what changes should i make

     

  • tinh
    tinh Altair Community Member
    edited April 2018

    Hi Jamie,

    You have to detect which command is output to command.tcl last? then the next command in your script is sensitive.

    Please show us a range of your codes around that command

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    TINH. actually ,once the tk message is displayed (highlited in the scripr).i get the segmentation error.

    <?xml version="1.0" encoding="UTF-8"?>issues.PNG

  • tinh
    tinh Altair Community Member
    edited April 2018

    Hi Jamie,

    the error appeared after you clicked on OK button of the message box, didn't it?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hi Jamie,

    the error appeared after you clicked on OK button of the message box, didn't it?

    yes tinh

    and the the exported file is not in proper format.

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    hey tinh..just now i removed that tk message..now its working..but how come tinh?

  • tinh
    tinh Altair Community Member
    edited April 2018

    I see it calls proc napocomparison after clicking ok

    could you show that proc?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    I see it calls proc napocomparison after clicking ok

    could you show that proc?

    <?xml version="1.0" encoding="UTF-8"?>napo1.thumb.PNG.753a47d93d4f69df901c348236e122a6.PNG

    <?xml version="1.0" encoding="UTF-8"?>napo2.PNG

  • tinh
    tinh Altair Community Member
    edited April 2018

    Hi Jamie,

    the sensitive command is *findmark

    I think the bit must not be 257

    could you shift f5 and find some elems attached to some nodes then check what number is output to command.tcl?

    as i remember, it is 1 or 0

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hi Jamie,

    the sensitive command is *findmark

    I think the bit must not be 257

    could you shift f5 and find some elems attached to some nodes then check what number is output to command.tcl?

    as i remember, it is 1 or 0

    tinh ,i dont find any difference in that command. 

    tinh ..anyway the commands above the findmark itself are not excuted.

    <?xml version="1.0" encoding="UTF-8"?>tcltk.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hi Jamie,

    the sensitive command is *findmark

    I think the bit must not be 257

    could you shift f5 and find some elems attached to some nodes then check what number is output to command.tcl?

    as i remember, it is 1 or 0

    HEY TINH .got the issue solved.....There was  was no *createstringarray before the feinputwithdata command