Menu

#35 NCID crash on incoming call

v1.0_(example)
closed
None
1
2020-04-28
2019-06-09
Reece
No

Version 1.10.1

1 Attachments

Discussion

  • John L. Chmielewski

    The NCID 1.10.1 release will have a fix this but you can apply the fix to 1.10.1:

    Make a backup of /usr/sbin/ncid
    As root edit line number 652 in /usr/bin/ncid from release 1.10.1.

    replace: set displine [lindex $hup($lineinfo) 0]
    
    with: if {[catch {set displine $hup($lineinfo)} huperr]} {
            doVerbose "huperr" 1
          }
    
     
  • Reece

    Reece - 2019-06-11

    I commented-out the line you said to replace, and added your code after that. The code now reads:

    #set displine [lindex $hup($lineinfo) 0]
    if {[catch {set displine $hup($lineinfo)} huperr]} {
        doVerbose "huperr" 1
    }
    # restore color to $CIDtype
    

    Still crashes. Screenshot attached.

     
  • John L. Chmielewski

    I was not expecting the error but I can see why it happened.

    You need to edit ncid 1.10.1 again . Go to line 126.

    add after line: set svrLID     ""
    
    This line: array set hup  {}
    

    Let me know if this fixed the problem. If it does not fix the problem I need to see the output for verbose when the problem happens:ncid -v 1

     
    • Todd Andrews

      Todd Andrews - 2019-08-16

      Reece, did this fix the problem for you?

       
  • John L. Chmielewski

    • status: open --> closed
    • assigned_to: John L. Chmielewski
     

Anonymous
Anonymous

Add attachments
Cancel