Hello!
I'm using GNUGK pre-2.3.2 version with H323Plus 1.22.0 (release) and PTLib
2.8.3 on x86 server with glibc 2.5 (RHEL 5.4). Periodically I'm getting
Segmentation fault. Is this a known issue and was it ever fixed?
(gdb) bt full
#0 0x028e35c0 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#1 0x028e4d87 in malloc () from /lib/libc.so.6
No symbol table info available.
#2 0x010a0ab7 in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#3 0x0046fb2c in __gnu_cxx::__mt_alloc<char,
__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::allocate
(this=0x4be70f, __n=1000)
at
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/mt_al
locator.h:676
__ret = (void *) 0x80845d5
__pool = (__gnu_cxx::__pool<true> &) @0x4be780:
{<__gnu_cxx::__pool_base> = {_M_options = {_M_align = 8, _M_max_bytes = 128,
_M_min_bin = 8,
_M_chunk_size = 4080, _M_max_threads = 4096, _M_freelist_headroom =
10, _M_force_new = false}, _M_binmap = 0x95a6be0, _M_init = true}, _M_bin =
0x95a6ce8,
_M_bin_size = 5, _M_thread_freelist = 0x0, _M_thread_freelist_initial =
0x0}
__bytes = 1000
__which = 4591220
__thread_id = 3074176596
__c = 0x4b0ebc "--9"
__bin = (const __gnu_cxx::__pool<true>::_Bin_record &) @0xb79ad158:
{_M_first = 0x0, _M_address = 0x466004, _M_free = 0x1, _M_used = 0x48be0f,
_M_mutex = 0xb79ad188}
#4 0x0046591c in PAbstractArray::InternalSetSize (this=0xb79ad258,
newSize=1000, force=true) at ptlib/common/contain.cxx:353
newsizebytes = 1000
---Type <return> to continue, or q <return> to quit---
oldsizebytes = 0
newArray = 0xb79ad1b4 "-\003"
#5 0x00465a29 in PString::SetSize (this=0xb79ad258, newSize=1000) at
ptlib/common/contain.cxx:997
No locals.
#6 0x00463374 in PString::vsprintf (this=0xb79ad258, fmt=0x81eda6c "\t%u
sockets selected from %u, total %u/%u", arg=0xb79ad23c "\001")
at ptlib/common/contain.cxx:1896
len = 0
providedSpace = 1000
requiredSpace = 134784511
#7 0x00467850 in PString (this=0xb79ad258, type=PString::Printf,
str=0x81eda6c "\t%u sockets selected from %u, total %u/%u") at
ptlib/common/contain.cxx:718
No locals.
#8 0x08089fcd in SocketsReader::SelectSockets (this=0xb7e62e10,
slist=@0xb79ad298) at yasocket.cxx:782
ss = 30
msg = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> =
{<PContainer> = {<PObject> = {_vptr.PObject = 0x820b860}, reference =
0xb73c3650},
elementSize = 1, theArray = 0x0, allocatedDynamically = true}, <No
data fields>}, <No data fields>}, <No data fields>}
#9 0x0808a0bb in SocketsReader::Exec (this=0xb7e62e10) at yasocket.cxx:829
cfglock = {mutex = @0x820ca60}
slist = {fds =
{<std::_Vector_base<YaSocket*,std::allocator<YaSocket*> >> = {
_M_impl = {<std::allocator<YaSocket*>> =
{<__gnu_cxx::new_allocator<YaSocket*>> = {<No data fields>}, <No data
fields>}, _M_start = 0xb57e2798,
_M_finish = 0xb57e279c, _M_end_of_storage = 0xb57e2f98}}, <No data
fields>}, maxfd = 378,
---Type <return> to continue, or q <return> to quit---
m_name = {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> =
{<PContainer> = {<PObject> = {_vptr.PObject = 0x820b860}, reference =
0xb7e3a9a0},
elementSize = 1, theArray = 0xb7e366d8 "ProxyRTP(1)",
allocatedDynamically = true}, <No data fields>}, <No data fields>}, <No data
fields>}}
#10 0x08082206 in RegularJob::Run (this=0xb7e62e10) at job.cxx:471
lock = {sync = @0x4b0ebc}
#11 0x080837d3 in Worker::Main (this=0xb7e63098) at job.cxx:192
timedout = false
#12 0x00400916 in PThread::PX_ThreadStart (arg=0xb7e63098) at
ptlib/unix/tlibthrd.cxx:504
thread = (PThread *) 0xb7e63098
#13 0x004c45ab in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x0294acfe in clone () from /lib/libc.so.6
No symbol table info available.
Thanks in advance.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________________
Posting: mailto:[email protected]
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/