Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. segfault netxmsd crash

segfault netxmsd crash

Scheduled Pinned Locked Moved Support
32 Posts 3 Posters 105.0k Views
  • 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.
  • E
    E
    edward.borst
    wrote on last edited by
    #21

    Hi Victor,

    Thanks for the reply!

    I'm currently running it under GDB, so as soon as I have a crash I will generate a core dump.
    Is that ok for you if I do it this way?

    Another question:
    Is is possible to fake some node down events for existing nodes?
    That way I can try to reproduce the crash.

    Regards,
    Edward

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #22

      You can gdnerate events using nxevent command line tool.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • E
        E
        edward.borst
        wrote on last edited by
        #23

        I have a core dump generated.
        How would you like me to send/upload it?
        it is compressed 9M. (only the core file)
        comressed tar from the binaries is 70M.

        Best regards,
        Edward

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #24

          You can upload it to our anonymous ftp at ftp://netxms.org/upload/. This FTP is upload-only and support encrypted TLS sessions (optional, you'll need compatible ftp client like FileZilla).

          1 Reply Last reply
          0
          • E
            E
            edward.borst
            wrote on last edited by
            #25

            Thanks,

            I have uploaded the following files:
            core.tgz
            server-binaries.tgz

            do you need anything else?
            regards,
            Edward

            1 Reply Last reply
            0
            • E
              E
              edward.borst
              wrote on last edited by
              #26

              I have uploaded a new core file.
              This one is generated by abrt
              regards,
              Edward

              1 Reply Last reply
              0
              • V
                V
                Victor Kirhenshtein
                wrote on last edited by
                #27

                Hi,

                so far our analysis shows that root of the problem is that some internal data structures are not initialized properly (if you are familiar with C++ - it seems that constructor for global instance of AlarmManager class is not called), although it is not clear why this happens. I try your binaries on CentOS 6.3 (closest that I can find) and it works as expected. Is it an option to do system upgrade to latest versions of kernel and glibc and try again? If this will not help, I'll re-write alarm manager initialization and provide you with intermediate build for testing.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • E
                  E
                  edward.borst
                  wrote on last edited by
                  #28

                  Hi Victor,

                  I have upgraded my system from Oracle Linux 6.3 to 6.5
                  glibc unfortunately is not updated in the release.
                  Also netxmsd crashed after giving it a flood of alarms.

                  So, situation is not changed so far.
                  Regards,
                  Edward

                  1 Reply Last reply
                  0
                  • E
                    E
                    edward.borst
                    wrote on last edited by
                    #29

                    Hi,

                    Some news:
                    I have migrated my complete system from Oracle Linux to Debian 7.6
                    and guess what? the problem is not reproduced yet...

                    I will leave this new system running for now. see how it goes.
                    only one thing: I see netxmsd running 100% continue.
                    Maybe we have to look at that some time.

                    Regards,
                    Edward

                    1 Reply Last reply
                    0
                    • V
                      V
                      Victor Kirhenshtein
                      wrote on last edited by
                      #30

                      Hi,

                      when system will be on 100%, please attach to netxmsd process with gdb and send me result of command

                      thread apply all bt

                      Best regards,
                      Victor

                      1 Reply Last reply
                      0
                      • E
                        E
                        edward.borst
                        wrote on last edited by
                        #31

                        Attached is the log from gdb.
                        look for thread 9332, because it is this one which is currently running at 100%

                        Regards,
                        Edward


                        gdb_bt.log

                        1 Reply Last reply
                        0
                        • V
                          V
                          Victor Kirhenshtein
                          wrote on last edited by
                          #32

                          Hi,

                          it seems that it is update of IP topology network map. I'll take a look at it.

                          Best regards,
                          Victor

                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          Powered by NodeBB Contributors
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups