• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Asterisk-video] asterisk startup problems with latest app_h

 
   AsteriskGuru Archives Forum Index -> Asterisk-Video
View previous topic :: View next topic  
Author Message
ctz.ivanf.bis at gmail.co
Guest





PostPosted: 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...

¿any other sugestion?

Thanks in advance...

IvanF



2009/1/9 Sergio Garcia Murillo <sergio.garcia@fontventa.com (sergio.garcia@fontventa.com)>
Quote:
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--

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
Back to top
klaus.mailinglists at per
Guest





PostPosted: 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...

¿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--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-video
Back to top
sergio.garcia at fontvent
Guest





PostPosted: 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...

¿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ó:
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.

------------------------------------------------------------------------

_______________________________________________
--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
Back to top
sergio.garcia at fontvent
Guest





PostPosted: 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...

¿any other sugestion?

Thanks in advance...

IvanF



2009/1/9 Sergio Garcia Murillo <sergio.garcia@fontventa.com (sergio.garcia@fontventa.com)>
Quote:
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--

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
Back to top
klaus.mailinglists at per
Guest





PostPosted: Thu Mar 05, 2009 9:26 am    Post subject: [Asterisk-video] asterisk startup problems with latest app_h

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:
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:
> 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--

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
Back to top
ctz.ivanf.bis at gmail.co
Guest





PostPosted: 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

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@gmail.com (ctz.ivanf.bis@gmail.com)>
Quote:
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@pernau.at (klaus.mailinglists@pernau.at)>

Quote:
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:

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:
>> 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--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-video






Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Video All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™