Home Help Center

core in demo/IcePack/hello (Linux7.3+Ice1.5)

rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
I run the example in demo/IcePack/hello and got a core file:
1) In one window, i start IcePack service:
iceuser localhost%pwd
/home/iceuser/work/products/opensource/Ice-1.5.0/demo/IcePack/hello

iceuser localhost%../../../bin/icepacknode --Ice.Config=config --warn
../../../bin/icepacknode: warning: administrative endpoints `IcePack.Registry.Admin.Endpoints' enabled
[ ../../../bin/icepacknode: AdapterRegistry: added adapter `IcePack.Registry.Internal' ]
[ ../../../bin/icepacknode: AdapterRegistry: added adapter `IcePack.Node.node' ]
[ ../../../bin/icepacknode: Server: created server `Server1' ]
[ ../../../bin/icepacknode: ServerRegistry: added server `Server1' ]
[ ../../../bin/icepacknode: Adapter: created server adapter `Server1.Hello' ]
[ ../../../bin/icepacknode: AdapterRegistry: added adapter `Server1.Hello' ]
[ ../../../bin/icepacknode: Server: created server `IceBox1' ]
[ ../../../bin/icepacknode: ServerRegistry: added server `IceBox1' ]
[ ../../../bin/icepacknode: Adapter: created server adapter `IceBox1.IceBox.ServiceManager' ]
[ ../../../bin/icepacknode: AdapterRegistry: added adapter `IceBox1.IceBox.ServiceManager' ]
[ ../../../bin/icepacknode: Adapter: created server adapter `IceBox1.Service1.Hello' ]
[ ../../../bin/icepacknode: AdapterRegistry: added adapter `IceBox1.Service1.Hello' ]

../stlport/stl/debug/_debug.c(464): STL error: Iterators used in expression are from different owners
/home/iceuser/work/products/opensource/STLport462/stlport/stl/debug/_iterator.h(341): STL assertion failure : __check_same_owner_or_null(__x, __y)
Abort

iceuser localhost%ls core*
core.22912

2) In a separate window, i run icepackadmin:
iceuser localhost%cd /home/iceuser/work/products/opensource/Ice-1.5.0/demo/IcePack/hello
iceuser localhost%../../../bin/icepackadmin --Ice.Config=config
Ice 1.5.0 Copyright 2003-2004 ZeroC, Inc.
This copy of Ice is free software. You are welcome to change it and/or
distribute copies under certain conditions. Type "show copying" to see
these conditions.
There is absolutely no warranty for Ice. Type "show warranty" for details.

>>> application add "application.xml"
>>> application update "application.xml"

when i issue the command ' application update "application.xml" ', core file is produced in the first window!

BTW, i don't change anything in the example. This is my OS:
iceuser localhost%uname -a
Linux localhost.localdomain 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Could you run gdb and get a stack trace for all the threads? That would help to track down the problem.

    Cheers,

    Michi.
  • rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
    2 core files produced! One by icepacknode and the other by icepackadmin:

    iceuser localhost%gdb ../../../bin/icepacknode core.4655
    GNU gdb Red Hat Linux (5.1.90CVS-5)
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "i386-redhat-linux"...
    Core was generated by `icepacknode --Ice.Config=config --warn'.
    Program terminated with signal 6, Aborted.
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIcePack.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIcePack.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceBox.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceBox.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libFreeze.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libFreeze.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceXML.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceXML.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIce.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIce.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceUtil.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceUtil.so.15
    Reading symbols from /home/iceuser/work/products/opensource/STLport462/lib/libstlport_gcc_stldebug.so...done.
    Loaded symbols for /home/iceuser/work/products/opensource/STLport462/lib/libstlport_gcc_stldebug.so
    Reading symbols from /lib/i686/libpthread.so.0...done.
    Loaded symbols for /lib/i686/libpthread.so.0
    Reading symbols from /usr/local/BerkeleyDB.4.2/lib/libdb_cxx-4.2.so...done.
    Loaded symbols for /usr/local/BerkeleyDB.4.2/lib/libdb_cxx-4.2.so
    Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
    Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
    Reading symbols from /lib/i686/libm.so.6...done.
    Loaded symbols for /lib/i686/libm.so.6
    Reading symbols from /lib/i686/libc.so.6...done.
    Loaded symbols for /lib/i686/libc.so.6
    Reading symbols from /usr/lib/libexpat.so.0...done.
    Loaded symbols for /usr/lib/libexpat.so.0
    Reading symbols from /usr/lib/libbz2.so.1...done.
    Loaded symbols for /usr/lib/libbz2.so.1
    Reading symbols from /lib/libdl.so.2...done.
    Loaded symbols for /lib/libdl.so.2
    Reading symbols from /lib/ld-linux.so.2...done.
    Loaded symbols for /lib/ld-linux.so.2
    Reading symbols from /lib/libnss_files.so.2...done.
    Loaded symbols for /lib/libnss_files.so.2
    #0 0x42029241 in kill () from /lib/i686/libc.so.6
    (gdb)
    (gdb)
    (gdb) where
    #0 0x42029241 in kill () from /lib/i686/libc.so.6
    #1 0x4099dc4b in raise () from /lib/i686/libpthread.so.0
    #2 0x4202a7d2 in abort () from /lib/i686/libc.so.6
    #3 0x4089e0e0 in _STL::__stl_debug_engine<bool>::_Check_if_owner (__l=0x4093b460, __it=@0x81b80e0)
    at ../stlport/stl/debug/_debug.c:322
    #4 0x4089de97 in _STL::__stl_debug_engine<bool>::_Assert (__expr=0x81b8140 "__check_same_owner_or_null(__x, __y)",
    __f=0x81b80e0 "/home/iceuser/work/products/opensource/STLport462/stlport/stl/debug/_iterator.h", __l=341)
    at ../stlport/stl/debug/_debug.c:307
    #5 0x08139a6d in bool _STL::operator!=<_STL::__vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > > > (__x=@0x4393306c, __y=@0x4393305c)
    at /home/iceuser/work/products/opensource/STLport462/stlport/stl/debug/_iterator.h:341
    #6 0x081a8d46 in void _STL::__Rb_tree<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::_Identity<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > >, _STL::less<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > >::insert_unique<_STL::_DBG_iter<_STL::__vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > >, _STL::_Vector_nonconst_traits<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > *> > > (this=0x439331cc, __first=0x4393306c, __last=0x4393305c)
    at /home/iceuser/work/products/opensource/STLport462/stlport/stl/_tree.h:394
    #7 0x081a77de in void _STL::_Rb_tree<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::_Identity<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > >, _STL::less<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > >::insert_unique<_STL::_DBG_iter<_STL::__vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > >, _STL::_Vector_nonconst_traits<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > *> > > (this=0x439331cc, __first=0x439330cc, __last=0x439330ac)
    at /home/iceuser/work/products/opensource/STLport462/stlport/stl/debug/_tree.h:185
    #8 0x081a6c06 in _STL::set<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::less<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > >::set::<_STL::_DBG_iter<_STL::__vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > >, _STL::_Vector_nonconst_traits<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > *> > > (this=0x439331cc, __first=0x439331fc, __last=0x4393320c)
    at /home/iceuser/work/products/opensource/STLport462/stlport/stl/_set.h:82
    #9 0x081a4c03 in IcePack::equal (lhs=@0x82d5040, rhs=@0x43933600) at DescriptorUtil.cpp:121
    #10 0x081909e8 in IcePack::ApplicationUpdater::visitServerStart (this=0x439337cc, server=@0x43933600) at AdminI.cpp:484

    #11 0x081a27de in IcePack::ServerWrapper::visit (this=0x439335fc, visitor=@0x439337cc) at DescriptorVisitor.cpp:68
    #12 0x081a2248 in IcePack::ApplicationWrapper::visit (this=0x4393378c, visitor=@0x439337cc) at DescriptorVisitor.cpp:29
    #13 0x0818f62b in IcePack::ApplicationUpdater::update (this=0x439337cc, descriptor=@0x4393386c) at AdminI.cpp:386
    #14 0x08197794 in IcePack::AdminI::updateApplication (this=0x8297e88, descriptor=@0x4393386c) at AdminI.cpp:1059
    #15 0x400abca9 in IcePack::Admin::___updateApplication (this=0x8297e88, __in=@0x43933f6c, __current=@0x43933f70) at Admin.cpp:5096
    #16 0x400af869 in IcePack::Admin::__dispatch (this=0x8297e88, in=@0x43933f6c, current=@0x43933f70) at Admin.cpp:5814
    #17 0x4063ff68 in IceInternal::Incoming::invoke (this=0x43933f6c, servantManager=@0x82d0404) at Incoming.cpp:197
    #18 0x4061162e in IceInternal::Connection::message (this=0x82d0318, stream=@0x4393458c, threadPool=@0x439347ec)
    at Connection.cpp:1354
    #19 0x4064b41e in IceInternal::ThreadPool::run (this=0x829b330) at ThreadPool.cpp:605
    #20 0x4064d538 in IceInternal::ThreadPool::EventHandlerThread::run (this=0x829b980) at ThreadPool.cpp:796
    ---Type <return> to continue, or q <return> to quit---
    #21 0x407f025d in startHook (arg=0x829b980) at Thread.cpp:486
    #22 0x4099afef in pthread_start_thread () from /lib/i686/libpthread.so.0
    (gdb)
  • rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
    iceuser localhost%gdb ../../../bin/icepackadmin core.4673
    GNU gdb Red Hat Linux (5.1.90CVS-5)
    Copyright 2002 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "i386-redhat-linux"...
    Core was generated by `icepackadmin --Ice.Config=config'.
    Program terminated with signal 6, Aborted.
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceXML.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceXML.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIcePack.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIcePack.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceBox.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceBox.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIce.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIce.so.15
    Reading symbols from /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceUtil.so.15...done.
    Loaded symbols for /home/iceuser/work/products/opensource/Ice-1.5.0/lib/libIceUtil.so.15
    Reading symbols from /home/iceuser/work/products/opensource/STLport462/lib/libstlport_gcc_stldebug.so...done.
    Loaded symbols for /home/iceuser/work/products/opensource/STLport462/lib/libstlport_gcc_stldebug.so
    Reading symbols from /lib/i686/libpthread.so.0...done.
    Loaded symbols for /lib/i686/libpthread.so.0
    Reading symbols from /usr/lib/libreadline.so.4...done.
    Loaded symbols for /usr/lib/libreadline.so.4
    Reading symbols from /usr/lib/libncurses.so.5...done.
    Loaded symbols for /usr/lib/libncurses.so.5
    Reading symbols from /usr/lib/libexpat.so.0...done.
    Loaded symbols for /usr/lib/libexpat.so.0
    Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
    Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
    Reading symbols from /lib/i686/libm.so.6...done.
    Loaded symbols for /lib/i686/libm.so.6
    Reading symbols from /lib/i686/libc.so.6...done.
    Loaded symbols for /lib/i686/libc.so.6
    Reading symbols from /usr/lib/libbz2.so.1...done.
    Loaded symbols for /usr/lib/libbz2.so.1
    Reading symbols from /lib/libdl.so.2...done.
    Loaded symbols for /lib/libdl.so.2
    Reading symbols from /lib/ld-linux.so.2...done.
    Loaded symbols for /lib/ld-linux.so.2
    Reading symbols from /lib/libnss_files.so.2...done.
    Loaded symbols for /lib/libnss_files.so.2
    #0 0x42029241 in kill () from /lib/i686/libc.so.6
    (gdb) where
    #0 0x42029241 in kill () from /lib/i686/libc.so.6
    #1 0x40882c4b in raise () from /lib/i686/libpthread.so.0
    #2 0x4202a7d2 in abort () from /lib/i686/libc.so.6
    #3 0x407820e0 in _STL::__stl_debug_engine<bool>::_Check_if_owner (__l=0x4081f460, __it=@0x406f5bc0)
    at ../stlport/stl/debug/_debug.c:322
    #4 0x40781e97 in _STL::__stl_debug_engine<bool>::_Assert (__expr=0x406f5c45 "_Dereferenceable(*this)",
    __f=0x406f5bc0 "/home/iceuser/work/products/opensource/STLport462/stlport/stl/debug/_iterator.h", __l=251)
    at ../stlport/stl/debug/_debug.c:307
    #5 0x406ede38 in _STL::_DBG_iter<_STL::__Rb_tree<IceUtil::GCShared *, _STL::pair<IceUtil::GCShared *const, int>, _STL::_Select1st<_STL::pair<IceUtil::GCShared *const, int> >, _STL::less<IceUtil::GCShared *>, _STL::allocator<_STL::pair<IceUtil::GCShared *const, int> > >, _STL::_Nonconst_traits<_STL::pair<IceUtil::GCShared *const, int> > >::operator* (this=0x4199467c)
    at /home/iceuser/work/products/opensource/STLport462/stlport/stl/debug/_iterator.h:251
    #6 0x406ed5cb in _STL::_DBG_iter<_STL::__Rb_tree<IceUtil::GCShared *, _STL::pair<IceUtil::GCShared *const, int>, _STL::_Select1st<_STL::pair<IceUtil::GCShared *const, int> >, _STL::less<IceUtil::GCShared *>, _STL::allocator<_STL::pair<IceUtil::GCShared *const, int> > >, _STL::_Nonconst_traits<_STL::pair<IceUtil::GCShared *const, int> > >::operator-> (this=0x4199467c)
    at /home/iceuser/work/products/opensource/STLport462/stlport/stl/debug/_iterator.h:255
    #7 0x406ec0bf in IceUtil::GC::collectGarbage (this=0x8133250) at GC.cpp:188
    #8 0x4049c04c in Ice::CommunicatorI::destroy (this=0x8131f70) at CommunicatorI.cpp:102
    #9 0x4043fd8d in destroyOnInterruptCallback (signal=2) at Application.cpp:77
    #10 0x406d710f in sigwaitThread () at CtrlCHandler.cpp:158
    #11 0x4087ffef in pthread_start_thread () from /lib/i686/libpthread.so.0
    (gdb)
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Thank you very much for the bug report, we will investigate this.
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Thanks again for the bug report! Please see http://www.zeroc.com/vbulletin/showthread.php?s=&threadid=969 for a patch which should fix this problem!

    Benoit.
Sign In or Register to comment.