Posted: Wed Mar 04, 2009 3:43 pm Post subject: [Asterisk-video] asterisk startup problems with latest app_h
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...
Should be fixed in the latest version i've just commited (at least it worked for me).
Best regard
Sergio
Hernan Rajchert escribió:
Quote:
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.
Quote:
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Thu Mar 05, 2009 7:17 am Post subject: [Asterisk-video] asterisk startup problems with latest app_h
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:
Quote:
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...
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--
Posted: Thu Mar 05, 2009 7:54 am Post subject: [Asterisk-video] asterisk startup problems with latest app_h
Hi Klaus,
Yes, there are API changes from 1.4 to 1.6, but I did made some conditional code to adress that.
What I don't know is if there have been any API changes in the latest 1.6.0.6 from previous 1.6 versions.
Best regards
Sergio
Klaus Darilion escribió:
Quote:
Quote:
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:
Quote:
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...
Posted: Thu Mar 05, 2009 7:56 am Post subject: [Asterisk-video] asterisk startup problems with latest app_h
Hi Iván,
Could you get a backtrace of the core dump?
Best regards
Sergio
IvánF G escribió:
Quote:
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...
Should be fixed in the latest version i've just commited (at least it worked for me).
Best regard
Sergio
Hernan Rajchert escribió:
Quote:
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.
Quote:
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
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@fontventa.com
> <mailto:sergio.garcia@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--
Posted: Tue Mar 17, 2009 8:20 am Post subject: [Asterisk-video] asterisk startup problems with latest app_h
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
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...
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@fontventa.com (sergio.garcia@fontventa.com)
>> <mailto:sergio.garcia@fontventa.com (sergio.garcia@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--
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum