Uploaded image for project: 'Red Hat Service Interconnect (Skupper)'
  1. Red Hat Service Interconnect (Skupper)
  2. SKUPPER-2471

Deleting a connector could crash the router

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 1.9.1
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Router crashes when a connector is repeatedly created and deleted.

      Script to run to reproduce issue -

       

      #!/bin/bash
      while true
      do
      	skmanage CREATE --type=connector host=201.232.343.345 port=9090 role=inter-router
      	skmanage DELETE --type=connector --name=connector/201.232.343.345:9090
      done 

       

      router crash backtrace on 2.7.x branch -

       

      (gdb) bt
      #0  0x00000000004db09a in qd_timer_schedule (timer=0x0, duration=100) at /home/gmurthy/opensource/skupper-router/src/timer.c:215
      #1  0x00000000004d7ed0 in qd_connection_free (qd_conn=0x7f29dc082950) at /home/gmurthy/opensource/skupper-router/src/server.c:922
      #2  0x00000000004d8b11 in thread_run (arg=0xba843f0) at /home/gmurthy/opensource/skupper-router/src/server.c:1176
      #3  0x000000000048e717 in _thread_init (arg=0xbac3fc0) at /home/gmurthy/opensource/skupper-router/src/posix/threading.c:207
      #4  0x00007f29ff3f6088 in start_thread (arg=<optimized out>) at pthread_create.c:448
      #5  0x00007f29ff479f8c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 

              Unassigned Unassigned
              gmurthy@redhat.com Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: