Jump to content

xcsp

Inactive Member
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by xcsp

  1. Peer.cpp: In member function 'bool CPeer::CheckMapIndex(long int) const':
    Peer.cpp:141:14: error: 'find' is not a member of 'std'
      return std::find(std::begin(m_alMaps), std::end(m_alMaps), lMapIndex) != std::end(m_alMaps);
                  ^~~~
    Peer.cpp:141:14: note: suggested alternative: 'bind'
      return std::find(std::begin(m_alMaps), std::end(m_alMaps), lMapIndex) != std::end(m_alMaps);
                  ^~~~
                  bind
    


    how do i fix this error? Thanks

  2. Hi, where is the problem? I dont find this function in db source.

     

    Db crash random with this error:

     

    Quote

    #0  0x2851871b in ?? () from /usr/lib32/libc.so.7
    [Current thread is 1 (LWP 100469)]
    (gdb) bt
    #0  0x2851871b in ?? () from /usr/lib32/libc.so.7
    #1  0x28500623 in setlocale () from /usr/lib32/libc.so.7
    #2  0x28500877 in setlocale () from /usr/lib32/libc.so.7
    #3  0x0809c701 in sys_log (bit=0, format=0x80dbf8c "SIGNAL: SIGSEGV") at log.c:199
    #4  0x0804f7a9 in emergency_sig (sig=11) at Main.cpp:60
    #5  0x283d40b9 in __pthread_map_stacks_exec () from /usr/lib32/libthr.so.3
    #6  0x283d35f2 in ?? () from /usr/lib32/libthr.so.3
    #7  <signal handler called>
    #8  0x3134203d in ?? ()
    #9  0x2c333130 in ?? ()
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)
    (gdb) bt full
    #0  0x2851871b in ?? () from /usr/lib32/libc.so.7
    No symbol table info available.
    #1  0x28500623 in setlocale () from /usr/lib32/libc.so.7
    No symbol table info available.
    #2  0x28500877 in setlocale () from /usr/lib32/libc.so.7
    No symbol table info available.
    #3  0x0809c701 in sys_log (bit=0, format=0x80dbf8c "SIGNAL: SIGSEGV") at log.c:199
            ct = 1585006806
            time_s = <optimized out>
            args = <optimized out>
    #4  0x0804f7a9 in emergency_sig (sig=11) at Main.cpp:60
    No locals.
    #5  0x283d40b9 in __pthread_map_stacks_exec () from /usr/lib32/libthr.so.3
    No symbol table info available.
    #6  0x283d35f2 in ?? () from /usr/lib32/libthr.so.3
    No symbol table info available.
    #7  <signal handler called>
    No symbol table info available.
    #8  0x3134203d in ?? ()
    No symbol table info available.
    #9  0x2c333130 in ?? ()
    No symbol table info available.

     

     

    How solve it?

     

    Thanks.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.