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 (Russian)
  3. sigfault-ы при работе

sigfault-ы при работе

Scheduled Pinned Locked Moved Support (Russian)
15 Posts 3 Posters 189.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.
  • Z
    Z
    Zar1n
    wrote on last edited by
    #3

    Как вывалиться опять, так сразу выложу ) Спасибо

    1 Reply Last reply
    0
    • M
      M
      m37r0
      wrote on last edited by
      #4

      hi, sorry for renew old topic but i think its the same issue, google translator of russain is not helping at all ;/
      after some time netxms is closing with error shown below:

      Jun 18 02:03:49 netxms kernel: [ 9312.067361] netxmsd[1726]: segfault at 8 ip 00007f27e96271b0 sp 00007f27b8dcc398 error 4 in libnxsnmp.so.1.0.0[7f27e961b000+10000]

      this happens several times a day

      os: ubuntu server 12.04 lts 64bit
      netxms 1.2.7

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

        @m37r0 said in sigfault-ы при работе:

        after some time netxms is closing with error shown below:

        Did it produce core file on crash? If file is not created, do following steps:

        1. stop netxmsd
        2. in shell execute: "ulimit -c unlimited"
        3. in the same shell, run "/path/to/netxmsd -d" to start server in background (you can also replace "-d" with "-D3" to keep it in foreground with some debug enabled.

        When it's crashed, file "core" should be created in current working directory.

        Then run "gbd /path/to/netxmsd /path/to/core", and type "thread apply all backtrace".
        This will produce quite large amount of output regarding state of the application and crash point, please send it to us.

        1 Reply Last reply
        0
        • M
          M
          m37r0
          wrote on last edited by
          #6

          i send it via https://www.radensolutions.com/chiliproject/
          support #296
          i hope it,s ok
          many thanks for Your work

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

            I've attached patch to the ticket. To apply it:

            cd /path/to/sources/netxms-1.2.7
            patch -p1 < fdb.diff
            
            1 Reply Last reply
            0
            • M
              M
              m37r0
              wrote on last edited by
              #8

              i think i do it wrong,,,

              this is the output :

              patching file src/server/core/fdb.cpp
              Hunk #1 FAILED at 183.
              1 out of 1 hunk FAILED -- saving rejects to file src/server/core/fdb.cpp.rej

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

                Try attached version of the file (it's already patched).


                fdb.cpp

                1 Reply Last reply
                0
                • M
                  M
                  m37r0
                  wrote on last edited by
                  #10

                  I understand that I need to compile all of that again, but look:

                  fdb.cpp:65:1: error: ‘UINT32’ does not name a type
                  fdb.cpp:109:1: error: ‘UINT32’ does not name a type
                  fdb.cpp:122:44: error: ‘bool ForwardingDatabase::isSingleMacOnPort’ is not a static member of ‘class ForwardingDatabase’
                  fdb.cpp:122:44: error: ‘UINT32’ was not declared in this scope
                  fdb.cpp:122:65: error: expected primary-expression before ‘*’ token
                  fdb.cpp:122:66: error: ‘macAddr’ was not declared in this scope
                  fdb.cpp:122:73: error: expression list treated as compound expression in initializer [-fpermissive]
                  fdb.cpp:123:1: error: expected ‘,’ or ‘;’ before ‘{’ token

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

                    My bad, file was from upcoming 1.2.8. Correct version (1.2.7 based) attached.


                    fdb.cpp

                    1 Reply Last reply
                    0
                    • M
                      M
                      m37r0
                      wrote on last edited by
                      #12

                      I swapped the file and compiled source and still segfault ;/

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

                        Could you please provide backtrace for updated version? ("backtrace" should be enough, with "thread apply all ...")

                        1 Reply Last reply
                        0
                        • M
                          M
                          m37r0
                          wrote on last edited by
                          #14

                          sorry for late, this is the file..


                          gdb.txt

                          1 Reply Last reply
                          0
                          • M
                            M
                            m37r0
                            wrote on last edited by
                            #15

                            hello, something you know in my case?

                            >> good news, netxms works 4th day in a row 😄

                            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