[Asterisk-video] Asterisk Crash!!!
Carlo Rossi
rossicar at dei.unipd.it
Fri Jan 2 07:42:02 CST 2009
I had the same issues some month ago, but nobody answered me.
I partially resolved the problem adding a comment every time the function
H324MSessionDestroy(id) is called in the file app_h324m.c for example:
----------------------------------------------------------
/* End session */
H324MSessionEnd(id);
/* Destroy session */
// H324MSessionDestroy(id);
hangup_pseudo:
/* Hangup pseudo channel if needed */
ast_softhangup(pseudo, reason);
-------------------------------------------------------------
In this way the opened session still remains in memory, but all segmentation
faults disappears, and app_h324m and asterisk works fine even if you repeat
a call.
Carlo
davide perconti wrote:
> HI to all,
> I would to talk you about my exsperience with fontventa application
> and libh324.
> I Have a problem with libh324 when I do a call it works fine but when
> i hung up, asterisk go to crash,
> and i have a segmentation faul...
> I dump the core
> and i have this error:
>
> 0xb7f75024 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.
> so.0
> 0xb76c49d8 in PTimedMutex::Wait () from /usr/lib/libpt.so.1.10.2
> 0xb76deb66 in PTimer::~PTimer () from /usr/lib/libpt.so.1.10.2
> 0xb7cb9bbe in H245Negotiator::~H245Negotiator () from
> /usr/lib/libopenh323.so.1.18.0
> 0xb57d5060 in ~H245MasterSlave (this=0x825b7c0) at H245MasterSlave.cpp:37
> 0xb56b76c3 in ~H324MControlChannel (this=0x825be78) at
> H324MControlChannel.cpp:50
> 0xb56b4495 in ~H324MSession (this=0x81c86a0) at H324MSession.cpp:46
> 0xb56b3765 in H324MSessionDestroy (id=0x825b7fc) at h324m.cpp:28
> 0xb5b9e5e2 in app_h324m_loopback (chan=0x826ac20, data=0x81299e4) at
> app_h324m.c:797
> 0x080cc1b7 in pbx_extension_helper (c=0x826ac20, con=0x0,
> context=0x826ada0
> "flusso01",
> exten=0x826adf0 "054XXXXXXXXX", priority=2, label=0x0,
> callerid=0x8189488 "392XXXXXX",
> action=E_SPAWN) at pbx.c:537
> 0x080ce7f6 in __ast_pbx_run (c=0x826ac20) at pbx.c:2317
> 0x080cf7de in pbx_thread (data=0x826ac20) at pbx.c:2636
> 0x080fe1c0 in dummy_start (data=0x826a828) at utils.c:895
> 0xb7f73240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
> 0xb706249e in clone () from /lib/tls/i686/cmov/libc.so.6
>
> I think that is a problem of libh324 because if i use any application
> the result is the same,
> I have installed asterisk 1.4.22(i try with other version) , the last
> release of fontventa application ,libh324 and last necessary lib.
> I saw that the problem is on Destroy Session of libh324
> H324MSessionDestroy (id=0x825b7fc) at h324m.cpp:28
> on delete ((H324MSession*)id);
> but i don't understand the reason, i think that the session exist
> because i can do the call and all work fine, the problem is only in
> hung up.
> thanks to all
> And happy new year
>
>
>
> --
> davide
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
More information about the asterisk-video
mailing list