core dumped (With GDB)

Added by demonelfe over 5 years ago

when connect from server i'm a core dumped :

/home/test/ryzom/code/ryzom/tools/scripts/linux/service_launcher.sh: line 102: 2378 Erreur de segmentation (core dumped) $CTRL_CMDLINE


Replies (4)

RE: core dumped - Added by demonelfe over 5 years ago

My core dump (with GDB) :

Reading symbols from /home/test/ryzom/code/build/bin/ryzom_frontend_service...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New Thread 1851]
[New Thread 1878]
[New Thread 1884]
[New Thread 1887]
[New Thread 1959]
[New Thread 1972]
[New Thread 1973]
[New Thread 1974]
[New Thread 1975]
[New Thread 1976]
[New Thread 1977]
[New Thread 1978]
[New Thread 1943]
[New Thread 1971]

warning: Can't read pathname for load map: Erreur d'entrée/sortie.
Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libmysqlclient.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.16
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `/home/test/ryzom/code/ryzom/../build/bin/ryzom_frontend_service -C. -L'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000004d8a7e in CFeReceiveSub::findClientHostByUid(unsigned int, bool) ()

RE: core dumped (With GDB) - Added by demonelfe over 5 years ago

With Symbols :

Program terminated with signal 11, Segmentation fault.
#0  _Hashtable_iterator (this=0x7fec119d13e8, uid=1, exitFromLimbo=false) at /usr/include/c++/4.4/tr1_impl/hashtable_policy.h:313
313           : _Hashtable_iterator_base<_Value, __cache>(*__b, __b) { }

RE: core dumped (With GDB) - Added by kervala over 5 years ago

Please could you post also the whole stack trace if possible ? Not only the #0 :)

RE: core dumped (With GDB) - Added by demonelfe over 5 years ago

Sorry :)

#0  _Hashtable_iterator (this=0x7fec119d13e8, uid=1, exitFromLimbo=false) at /usr/include/c++/4.4/tr1_impl/hashtable_policy.h:313
313           : _Hashtable_iterator_base<_Value, __cache>(*__b, __b) { }
(gdb) bt
#0  _Hashtable_iterator (this=0x7fec119d13e8, uid=1, exitFromLimbo=false) at /usr/include/c++/4.4/tr1_impl/hashtable_policy.h:313
#1  std::tr1::_Hashtable<NLNET::CInetAddress, std::pair<NLNET::CInetAddress const, CClientHost*>, std::allocator<std::pair<NLNET::CInetAddress const, CClientHost*> >, std::_Select1st<std::pair<NLNET::CInetAddress const, CClientHost*> >, std::equal_to<NLNET::CInetAddress>, CInetAddressHashMapTraits, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::begin (
    this=0x7fec119d13e8, uid=1, exitFromLimbo=false) at /usr/include/c++/4.4/tr1_impl/hashtable:238
#2  CFeReceiveSub::findClientHostByUid (this=0x7fec119d13e8, uid=1, exitFromLimbo=false)
    at /home/test/ryzom/code/ryzom/server/src/frontend_service/fe_receive_sub.cpp:1553
#3  0x0000000000524c1a in impulsionSelectChar (uid=1, bms=<value optimized out>, gameCycle=<value optimized out>)
    at /home/test/ryzom/code/ryzom/server/src/frontend_service/uid_impulsions.cpp:58
#4  0x0000000000522e2f in routeImpulsionUidFromClient (bms=..., userId=<value optimized out>, gamecycle=@0x17d5850)
    at /home/test/ryzom/code/ryzom/server/src/frontend_service/uid_impulsions.cpp:196
#5  0x00000000004f1959 in CFeReceiveSub::handleReceivedMsg (this=0x7fec119d13f0, clienthost=0x1794760)
    at /home/test/ryzom/code/ryzom/server/src/frontend_service/fe_receive_sub.cpp:1326
#6  0x00000000004f1e18 in CFeReceiveSub::handleIncomingMsg (this=0x7fec119d13f0)
    at /home/test/ryzom/code/ryzom/server/src/frontend_service/fe_receive_sub.cpp:361
#7  0x00000000004f2111 in CFeReceiveSub::readIncomingData (this=0x7fec119d13f0)
    at /home/test/ryzom/code/ryzom/server/src/frontend_service/fe_receive_sub.cpp:251
#8  0x0000000000510b70 in readIncomingData () at /home/test/ryzom/code/ryzom/server/src/frontend_service/frontend_service.cpp:278
#9  0x000000000051ac1f in cbUpdate() ()
#10 0x0000000000564905 in CMirror::onTick () at /home/test/ryzom/code/ryzom/common/src/game_share/mirror.h:650
#11 cbTickUpdateFunc () at /home/test/ryzom/code/ryzom/common/src/game_share/mirror.cpp:2276
#12 0x00000000005b25af in CTickEventHandler::tickUpdate (serviceId=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at /home/test/ryzom/code/ryzom/common/src/game_share/tick_event_handler.cpp:181
#13 0x00000000005b2813 in cbTick (msgin=<value optimized out>, serviceName=..., serviceId=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at /home/test/ryzom/code/ryzom/common/src/game_share/tick_event_handler.cpp:111
#14 0x00000000006b67e9 in NLNET::uncbMsgProcessing (msgin=..., from=<value optimized out>)
    at /home/test/ryzom/code/nel/src/net/unified_network.cpp:396
#15 0x0000000000688e24 in NLNET::CCallbackNetBase::processOneMessage (this=0x14f0940) at /home/test/ryzom/code/nel/src/net/callback_net_base.cpp:216
#16 0x000000000068977d in NLNET::CCallbackNetBase::baseUpdate2 (this=0x14f0940, timeout=100, mintime=0)
    at /home/test/ryzom/code/nel/src/net/callback_net_base.cpp:411
#17 0x0000000000697aed in NLNET::CCallbackServer::update2 (this=0x14f0940, timeout=100, mintime=0)
    at /home/test/ryzom/code/nel/src/net/callback_server.cpp:137
#18 0x00000000006b27f9 in NLNET::CUnifiedNetwork::update (this=0x14efe40, timeout=128) at /home/test/ryzom/code/nel/src/net/unified_network.cpp:1052
#19 0x000000000065b24f in NLNET::IService::main (this=0x7fec113e8010, serviceShortName=<value optimized out>, serviceLongName=<value optimized out>,
    servicePort=<value optimized out>, configDir=<value optimized out>, logDir=<value optimized out>, compilationDate=0x7086d6 "Apr  9 2013 12:05:29")
    at /home/test/ryzom/code/nel/src/net/service.cpp:1399
#20 0x0000000000512317 in main (argc=5, argv=0x7ffffbc2a658) at /home/test/ryzom/code/ryzom/server/src/frontend_service/frontend_service.cpp:1956

(1-4/4)