[Asterisk-Users] core dump in chan_h323 (again)

Roy Sigurd Karlsbakk roy at karlsbakk.net
Sat Mar 22 06:25:58 MST 2003


hi

running debian now...

installed openh323, pwlib and chan_h323 from cvs. Starting asterisk 
with -gvvvc, the following happens:
it starts, writes some status info, and 'KaBoom' on the output, waits  
~13 seconds and dies.

any ideas?


vmstat output:
--------------------------
    procs                      memory    swap          io     system     
     cpu
  r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us 
  sy  id
  0  0  0   1540  13732  60216 264724   0   0     0     0  107    18   0 
   0 100
  0  0  0   1540  10012  60216 264724   0   0     0     0  545   573  36 
   7  57
  0  0  0   1540  10012  60216 264724   0   0     0     0  104   208   0 
   0 100
  0  0  0   1540  10012  60216 264724   0   0     0     0  104   211   0 
   0 100
  0  0  0   1540  10012  60216 264724   0   0     0     0  103   209   0 
   0 100
  0  0  0   1540  10008  60220 264724   0   0     0   160  112   222   0 
   0 100
  0  0  0   1540  10004  60220 264724   0   0     0     0  105   209   0 
   0 100
  0  0  0   1540  10004  60220 264724   0   0     0     0  106   211   0 
   0 100
  0  0  0   1540  10004  60220 264724   0   0     0     0  104   208   0 
   0 100
  0  0  0   1540  10004  60220 264724   0   0     0     0  103   211   0 
   0 100
  0  0  0   1540  10004  60220 264724   0   0     0     0  103   212   0 
   0 100
  0  0  0   1540   6420  60240 268320   0   0     0     0  107   161   0 
   4  96
  1  0  0   1540   6420  60240 268320   0   0     0     0  103    10   0 
   0 100
  0  0  0   1540  10112  60240 268320   0   0     0     0  110    32   0 
   0 100


Console output:
--------------------------
  [chan_h323.so] => (The NuFone Network's Open H.323 Channel Driver)
   == Creating H.323 Endpoint
   == Parsing '/etc/asterisk/h323.conf': Found
   == Registered channel type 'H323' (The NuFone Network's Open H.323 
Channel Driver)
   == H.323 listener started on ip$*:4
KaBoom?
Segmentation fault (core dumped)


Backtrace:
--------------------------
#0  0x400fcc1b in free () from /lib/libc.so.6
(gdb) bt
#0  0x400fcc1b in free () from /lib/libc.so.6
#1  0x400fcaa3 in free () from /lib/libc.so.6
#2  0x41246854 in __builtin_delete () from 
/usr/lib/libstdc++-libc6.2-2.so.3
#3  0x40c783e1 in H323TransportUDP::~H323TransportUDP () from 
/usr/src/openh323/lib/libh323_linux_x86_r.so.1
#4  0x40ccbae6 in H323Transactor::~H323Transactor () from 
/usr/src/openh323/lib/libh323_linux_x86_r.so.1
#5  0x40cc8628 in H225_RAS::~H225_RAS () from 
/usr/src/openh323/lib/libh323_linux_x86_r.so.1
#6  0x40c8c85a in H323Gatekeeper::~H323Gatekeeper () from 
/usr/src/openh323/lib/libh323_linux_x86_r.so.1
#7  0x40c35f61 in H323EndPoint::InternalRegisterGatekeeper () from 
/usr/src/openh323/lib/libh323_linux_x86_r.so.1
#8  0x40c35d02 in H323EndPoint::SetGatekeeper () from 
/usr/src/openh323/lib/libh323_linux_x86_r.so.1
#9  0x402746bf in h323_set_gk (gatekeeper_discover=0, 
gatekeeper=0x40283620 "192.168.144.253", secret=0x402836a0 "")
     at ast_h323.cpp:908
#10 0x4026f268 in load_module () at chan_h323.c:1590
#11 0x08053736 in ast_load_resource (resource_name=0x80c2f80 
"chan_h323.so") at loader.c:272
#12 0x080538c2 in load_modules () at loader.c:318
#13 0x0807804b in main (argc=2, argv=0xbffffdc4) at asterisk.c:1293
(gdb)




More information about the asterisk-users mailing list