Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    UPnP IGD & PCP Service crashes and fails to start

    Scheduled Pinned Locked Moved Plus 25.03 Develoment Snapshots
    19 Posts 5 Posters 799 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      netblues @marcosm
      last edited by

      @marcosm
      24.11 long term

      1 Reply Last reply Reply Quote 0
      • M
        marcosm Netgate
        last edited by

        Any core dumps? IIRC they get saved to /root/.

        N 1 Reply Last reply Reply Quote 0
        • N
          netblues @marcosm
          last edited by netblues

          @marcosm Yes, there is a 13Mbyte miniupnp.core file which compresses to 150 k

          K 1 Reply Last reply Reply Quote 0
          • K
            kprovost @netblues
            last edited by

            @netblues Can you try this build: https://www.codepro.be/files/miniupnpd-2.3.7_2,1.pkg ?
            It contains debug symbols and will hopefully let us figure out where miniupnpd crashes.

            N 1 Reply Last reply Reply Quote 1
            • N
              netblues @kprovost
              last edited by

              @kprovost Installed, restarted and waiting.

              I see two active port maps in status.

              T 1 Reply Last reply Reply Quote 0
              • T
                townsenk64 @netblues
                last edited by

                @netblues anything more on this? I'm having the same issue.

                N 1 Reply Last reply Reply Quote 0
                • N
                  netblues @townsenk64
                  last edited by

                  @townsenk64
                  I have the debug build running.
                  It didn't occur so far., but it does take a couple of days.

                  1 Reply Last reply Reply Quote 0
                  • T
                    townsenk64
                    last edited by

                    For me the service fails within two minutes after reboot generating the previously mentioned core file. Let me know if help is needed troubleshooting.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      netblues @townsenk64
                      last edited by

                      @townsenk64 Do you run the debug version?

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        townsenk64 @netblues
                        last edited by

                        @netblues Not yet, I'm not exactly sure the proper way to upgrade a single package locally. I assume the pkg add command?

                        cmcdonaldC 1 Reply Last reply Reply Quote 0
                        • cmcdonaldC
                          cmcdonald Netgate Developer @townsenk64
                          last edited by

                          @townsenk64 said in UPnP IGD & PCP Service crashes and fails to start:

                          @netblues Not yet, I'm not exactly sure the proper way to upgrade a single package locally. I assume the pkg add command?

                          pkg add -f <path to .pkg>
                          

                          Need help fast? https://www.netgate.com/support

                          1 Reply Last reply Reply Quote 0
                          • T
                            townsenk64
                            last edited by

                            @kprovost said in UPnP IGD & PCP Service crashes and fails to start:

                            https://www.codepro.be/files/miniupnpd-2.3.7_2,1.pkg

                            I am now running the debug build. Does it contain changes other than having the debugging enabled? The reason I ask is that the service hasn't crashed almost immediately after rebooting like it did before. I will leave it running and see if it behaves.

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              netblues @townsenk64
                              last edited by

                              @townsenk64 Well actually it just has debug symbols, which means its more meaningful when looking at the dump.

                              Most probably network conditions have changed, something has timed out and is not triggering the issue anymore.

                              Do keep in mind that in upnp we make ports available to the wider Internet, and usually there is little control on what happens next.
                              From a security point of view its a nightmare, but in a home scenario its too practical to ignore ;-)

                              1 Reply Last reply Reply Quote 0
                              • T
                                townsenk64
                                last edited by

                                I rolled the system back to a previous state using the package without the debugging symbols and the service crash immediately happened again upon reboot. I then went with the shotgun approach and ran from command line.

                                pkg clean -y
                                pkg upgrade -f

                                This apparently replaced/upgraded the package and the service is again running without issue.

                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  netblues @townsenk64
                                  last edited by

                                  @townsenk64 Same here, no issues since I put the debug version.
                                  Maybe a leftover glitch from the upgrades?

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.