[Asterisk-video] asterisk startup problems with latest app_h324m

IvánF G ctz.ivanf.bis at gmail.com
Tue Mar 17 04:14:18 CDT 2009


Hi,

Only to inform that I've got the h324m functions *running *in Asterisk
1.6.0.6. I used last app_h324m commenting the same line that Hernan:

ast_cli_register(&cli_debug);

I can't say that this functions are running completely 'cause there isn't
digium card connected on the machine where I'm testing the 1.4 -> 1.6
upgrade (the functions are working fine in my 1.4.0.21 production machine
but I don't want to make the oficial upgrade till I was sure all is going to
work), but the 'core show applications' command shows the

h324m_call: H324m call
h324m_gw: H324m gateway
h324m_gw_answer: H324m Answer incoming call
h324m_loopback: H324m loopback mode
ones.

I hope to get another digium card soon and make a full check... I'll send
you the result then...

Meanwhile... Has anybody all this h324m snuff working fine on the 1.6.0.6
version?

Thank and regards,

IvánF


2009/3/5 IvánF G <ctz.ivanf.bis at gmail.com>

> Thank Klaus and Sergio,
>
> I'd made a backtrace of the core dump and this is the result:
>
> (......)
> Reading symbols from /usr/lib/asterisk/modules/func_groupcount.so...done.
> Loaded symbols for /usr/lib/asterisk/modules/func_groupcount.so
> Reading symbols from /usr/lib/asterisk/modules/format_h264.so...done.
> Loaded symbols for /usr/lib/asterisk/modules/format_h264.so
> Reading symbols from /usr/lib/asterisk/modules/app_h324m.so...done.
> Loaded symbols for /usr/lib/asterisk/modules/app_h324m.so
> Reading symbols from /usr/local/lib/libh324m.so...done.
> Loaded symbols for /usr/local/lib/libh324m.so
> Reading symbols from /usr/lib/libexpat.so.1...done.
> Loaded symbols for /usr/lib/libexpat.so.1
> Reading symbols from /usr/local/lib/libpt_linux_x86_r.so.1.11.1...done.
> Loaded symbols for /usr/local/lib/libpt_linux_x86_r.so.1.11.1
> Reading symbols from /usr/lib/libstdc++.so.6...done.
> Loaded symbols for /usr/lib/libstdc++.so.6
> Reading symbols from /lib/libgcc_s.so.1...done.
> Loaded symbols for /lib/libgcc_s.so.1
> Core was generated by `asterisk -vvvgc'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000000 in ?? ()
> (gdb) down
> Bottom (innermost) frame selected; you cannot go down.
> (gdb) p
> The history is empty.
> (gdb) up
> #1  0x08094657 in __ast_cli_register (e=0xb77a1c20, ed=0x0) at cli.c:1449
> 1449            e->handler(e, CLI_INIT, &a);
> (gdb) up
> #2  0xb779d701 in load_module () at app_h324m.c:1575
> 1575            ast_cli_register(&cli_debug);
> (gdb) up
> #3  0x080ce541 in load_resource (resource_name=0x81d7278 "app_h324m.so",
>     global_symbols_only=0) at loader.c:690
> 690                     res = mod->info->load();
> (gdb) down
> #2  0xb779d701 in load_module () at app_h324m.c:1575
> 1575            ast_cli_register(&cli_debug);
> (gdb) print &cli_debug
> $1 = (struct ast_cli_entry *) 0xb77a1c20
> (gdb) down
> #1  0x08094657 in __ast_cli_register (e=0xb77a1c20, ed=0x0) at cli.c:1449
> 1449            e->handler(e, CLI_INIT, &a);
> (gdb) print &a
> $2 = (struct ast_cli_args *) 0xbf8a23f0
>
> The problem seems to be line *ast_cli_register(&cli_debug);* as other user
> commented... I send you the core file too...
>
> Thank again...
>
> IvanF
>
>
> 2009/3/5 Klaus Darilion <klaus.mailinglists at pernau.at>
>
> Take a look at this for porting:
>>
>> http://svn.digium.com/svn/asterisk/trunk/doc/api-1.6.0-changes.odt
>>
>> regards
>> klaus
>>
>>
>> Klaus Darilion schrieb:
>> > I guess that the module interface has changed from 1.4 to 1.6. Thus some
>> > adaptions would be needed.
>> >
>> > regards
>> > klaus
>> >
>> > IvánF G schrieb:
>> >> Hi all,
>> >>
>> >> I'm upgrading Asterisk 1.4.21.1 to Asterisk 1.6.0.6, and I'm facing a
>> >> similar problem when I tried to start asterisk with app_h324m.
>> >>
>> >> I'm running Asterisk in a Debian Etch machine, and I'm using lastest
>> >> versions of libh324m and app_h324m.c from repository. I've followed the
>> >> sipfontventa instructions to install them, just like in my 1.4.21.1
>> >> version (where older versions of this libh324m and app_h324m.c are
>> >> working fine)
>> >>
>> >> Well, the case is that build process of Asterisk 1.6.0.6 with the fresh
>> >> libh324m and app_h324m.c finished with succes, but now, when I run
>> >> asterisk with /asterisk -vvvgc /I get a segmentation fault error
>> related
>> >> to app_h324m.c (if I delete the /.../modules/app_h324m.so file asterisk
>> >> start up well)
>> >>
>> >> ........
>> >>  func_groupcount.so => (Channel group dialplan functions)
>> >>   == Registered file format h264, extension(s) h264
>> >>  format_h264.so => (Raw H.264 data)
>> >>   == Registered application 'h324m_loopback'
>> >> Violacion de segmento (core dumped)
>> >>
>> >> I've check too that app_h324m.so finds all the dependencies with /ldd
>> >> /path/to/app_h324m.so/ just like Klaus suggested in other threat and
>> all
>> >> looks fine...
>> >>
>> >> ¿any other sugestion?
>> >>
>> >> Thanks in advance...
>> >>
>> >> IvanF
>> >>
>> >>
>> >>
>> >> 2009/1/9 Sergio Garcia Murillo <sergio.garcia at fontventa.com
>> >> <mailto:sergio.garcia at fontventa.com>>
>> >>
>> >>     Should be fixed in the latest version i've just commited (at least
>> >>     it worked for me).
>> >>
>> >>     Best regard
>> >>     Sergio
>> >>
>> >>     Hernan Rajchert escribió:
>> >>>     Hi, I found the same problem on Asterisk 1.6.0.1 and app_h324m.c
>> >>>     from svn revision 241. The line that is causing the segfault is
>> 1560
>> >>>
>> >>>     ast_cli_register(&cli_debug);
>> >>>
>> >>>     Dont know what it does, but it commenting it seems to work.
>> >>>
>> >>>     Regards
>> >>>
>> >>>     Hernan.
>> >>>
>> >>>
>> ------------------------------------------------------------------------
>> >>>
>> >>>     _______________________________________________
>> >>>     --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
>> >>
>> >>     _______________________________________________
>> >>     --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
>> >>
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------
>> >>
>> >> _______________________________________________
>> >> --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
>> >
>> > _______________________________________________
>> > --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
>>
>> _______________________________________________
>> --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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20090317/55daf687/attachment.htm 


More information about the asterisk-video mailing list