Uploaded image for project: 'Celix'
  1. Celix
  2. CELIX-95

not initialized variable leads to segFault

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-incubating
    • None
    • None

    Description

      When testing remote services it occured to me, that an endpoint which should be shut down was already stopping (BUNDLE_STOPPING), probably cause, the uninstall function triggers a seconds stop.

      In this case the activator is not retrieved (via bundleGetActivator(bundle)) , but a NULL check takes place a few lines later.

      Without having the activator initialized with NULL, this leads to a segFault on my system.

      Attachments

        1. StopBundleSegFault.patch
          0.7 kB
          Bjoern Petri

        Activity

          People

            Unassigned Unassigned
            bjoern.petri Bjoern Petri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: