Discussion:
[asterisk-users] Asterisk 13.16.0 segfault
Carlos Chavez
2017-07-18 14:49:58 UTC
Permalink
I am getting frequent segfaults on a new Asterisk installation. So far
the only message I see is:

Jul 18 09:02:42 pbxbogota kernel: asterisk[26799]: segfault at 188 ip
00007fb2d535723f sp 00007fb25a11b5c0 error 4 in
libasteriskpj.so.2[7fb2d52e5000+180000]
Jul 18 09:17:00 pbxbogota kernel: asterisk[27453]: segfault at 188 ip
00007f4afea0c23f sp 00007f4a7f7e35c0 error 4 in
libasteriskpj.so.2[7f4afe99a000+180000]
Jul 18 09:22:57 pbxbogota kernel: asterisk[28471]: segfault at 188 ip
00007f2eb611923f sp 00007f2e3aec25c0 error 4 in
libasteriskpj.so.2[7f2eb60a7000+180000]
Jul 18 09:25:49 pbxbogota kernel: asterisk[28949]: segfault at 188 ip
00007fc5758dd23f sp 00007fc4fa6245c0 error 4 in
libasteriskpj.so.2[7fc57586b000+180000]
Jul 18 09:31:17 pbxbogota kernel: asterisk[29203]: segfault at 188 ip
00007f5f29abb23f sp 00007f5eae8285c0 error 4 in
libasteriskpj.so.2[7f5f29a49000+180000]

Since this is a Freepbx distro does could the problem be related to
their flavor of Asterisk? I have several other plain Asterisk servers
running on this version without any problems. Any recommendations on
how to debug this?
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
dCAP #1349
+52 (55)8116-9161
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mai
Marcelo Terres
2017-07-19 07:37:17 UTC
Permalink
This is the pjsip library.

Is it possible to you to update pjsip for the latest version to test if it
solves the problem?
Post by Carlos Chavez
I am getting frequent segfaults on a new Asterisk installation. So far
Jul 18 09:02:42 pbxbogota kernel: asterisk[26799]: segfault at 188 ip
00007fb2d535723f sp 00007fb25a11b5c0 error 4 in
libasteriskpj.so.2[7fb2d52e5000+180000]
Jul 18 09:17:00 pbxbogota kernel: asterisk[27453]: segfault at 188 ip
00007f4afea0c23f sp 00007f4a7f7e35c0 error 4 in
libasteriskpj.so.2[7f4afe99a000+180000]
Jul 18 09:22:57 pbxbogota kernel: asterisk[28471]: segfault at 188 ip
00007f2eb611923f sp 00007f2e3aec25c0 error 4 in
libasteriskpj.so.2[7f2eb60a7000+180000]
Jul 18 09:25:49 pbxbogota kernel: asterisk[28949]: segfault at 188 ip
00007fc5758dd23f sp 00007fc4fa6245c0 error 4 in
libasteriskpj.so.2[7fc57586b000+180000]
Jul 18 09:31:17 pbxbogota kernel: asterisk[29203]: segfault at 188 ip
00007f5f29abb23f sp 00007f5eae8285c0 error 4 in
libasteriskpj.so.2[7f5f29a49000+180000]
Since this is a Freepbx distro does could the problem be related to their
flavor of Asterisk? I have several other plain Asterisk servers running on
this version without any problems. Any recommendations on how to debug
this?
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
dCAP #1349
+52 (55)8116-9161
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
https://community.asterisk.org/
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Carlos Chavez
2017-07-19 16:03:06 UTC
Permalink
Post by Marcelo Terres
This is the pjsip library.
Is it possible to you to update pjsip for the latest version to test
if it solves the problem?
I am getting frequent segfaults on a new Asterisk installation. So
Jul 18 09:02:42 pbxbogota kernel: asterisk[26799]: segfault at 188
ip 00007fb2d535723f sp 00007fb25a11b5c0 error 4 in
libasteriskpj.so.2[7fb2d52e5000+180000]
Jul 18 09:17:00 pbxbogota kernel: asterisk[27453]: segfault at 188
ip 00007f4afea0c23f sp 00007f4a7f7e35c0 error 4 in
libasteriskpj.so.2[7f4afe99a000+180000]
Jul 18 09:22:57 pbxbogota kernel: asterisk[28471]: segfault at 188
ip 00007f2eb611923f sp 00007f2e3aec25c0 error 4 in
libasteriskpj.so.2[7f2eb60a7000+180000]
Jul 18 09:25:49 pbxbogota kernel: asterisk[28949]: segfault at 188
ip 00007fc5758dd23f sp 00007fc4fa6245c0 error 4 in
libasteriskpj.so.2[7fc57586b000+180000]
Jul 18 09:31:17 pbxbogota kernel: asterisk[29203]: segfault at 188
ip 00007f5f29abb23f sp 00007f5eae8285c0 error 4 in
libasteriskpj.so.2[7f5f29a49000+180000]
Since this is a Freepbx distro does could the problem be related
to their flavor of Asterisk? I have several other plain Asterisk
servers running on this version without any problems. Any
recommendations on how to debug this?
My solution to this is going to be compiling Asterisk manually
instead of using their pre packaged version as debugging will take a lot
more time.
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161
Marcelo Terres
2017-07-20 13:47:40 UTC
Permalink
Which version of Asterisk are you using? Are you compiling it with the
bundle pjproject ?

--with-pjproject-bundled

Regards,

Marcelo H. Terres <***@gmail.com>
IM: ***@jabber.mundoopensource.com.br
https://www.mundoopensource.com.br
https://twitter.com/mhterres
https://linkedin.com/in/marceloterres
Post by Marcelo Terres
This is the pjsip library.
Is it possible to you to update pjsip for the latest version to test if it
solves the problem?
Post by Carlos Chavez
I am getting frequent segfaults on a new Asterisk installation. So far
Jul 18 09:02:42 pbxbogota kernel: asterisk[26799]: segfault at 188 ip
00007fb2d535723f sp 00007fb25a11b5c0 error 4 in
libasteriskpj.so.2[7fb2d52e5000+180000]
Jul 18 09:17:00 pbxbogota kernel: asterisk[27453]: segfault at 188 ip
00007f4afea0c23f sp 00007f4a7f7e35c0 error 4 in
libasteriskpj.so.2[7f4afe99a000+180000]
Jul 18 09:22:57 pbxbogota kernel: asterisk[28471]: segfault at 188 ip
00007f2eb611923f sp 00007f2e3aec25c0 error 4 in
libasteriskpj.so.2[7f2eb60a7000+180000]
Jul 18 09:25:49 pbxbogota kernel: asterisk[28949]: segfault at 188 ip
00007fc5758dd23f sp 00007fc4fa6245c0 error 4 in
libasteriskpj.so.2[7fc57586b000+180000]
Jul 18 09:31:17 pbxbogota kernel: asterisk[29203]: segfault at 188 ip
00007f5f29abb23f sp 00007f5eae8285c0 error 4 in
libasteriskpj.so.2[7f5f29a49000+180000]
Since this is a Freepbx distro does could the problem be related to their
flavor of Asterisk? I have several other plain Asterisk servers running on
this version without any problems. Any recommendations on how to debug
this?
My solution to this is going to be compiling Asterisk manually
instead of using their pre packaged version as debugging will take a lot
more time.
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez+52 (55)8116-9161 <+52%2055%208116%209161>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.
org/
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Carlos Chavez
2017-07-20 16:05:54 UTC
Permalink
Post by Marcelo Terres
Which version of Asterisk are you using? Are you compiling it with the
bundle pjproject ?
--with-pjproject-bundled
Regards,
https://www.mundoopensource.com.br
https://twitter.com/mhterres
https://linkedin.com/in/marceloterres
Post by Marcelo Terres
This is the pjsip library.
Is it possible to you to update pjsip for the latest version to
test if it solves the problem?
I am getting frequent segfaults on a new Asterisk
Jul 18 09:02:42 pbxbogota kernel: asterisk[26799]: segfault
at 188 ip 00007fb2d535723f sp 00007fb25a11b5c0 error 4 in
libasteriskpj.so.2[7fb2d52e5000+180000]
Jul 18 09:17:00 pbxbogota kernel: asterisk[27453]: segfault
at 188 ip 00007f4afea0c23f sp 00007f4a7f7e35c0 error 4 in
libasteriskpj.so.2[7f4afe99a000+180000]
Jul 18 09:22:57 pbxbogota kernel: asterisk[28471]: segfault
at 188 ip 00007f2eb611923f sp 00007f2e3aec25c0 error 4 in
libasteriskpj.so.2[7f2eb60a7000+180000]
Jul 18 09:25:49 pbxbogota kernel: asterisk[28949]: segfault
at 188 ip 00007fc5758dd23f sp 00007fc4fa6245c0 error 4 in
libasteriskpj.so.2[7fc57586b000+180000]
Jul 18 09:31:17 pbxbogota kernel: asterisk[29203]: segfault
at 188 ip 00007f5f29abb23f sp 00007f5eae8285c0 error 4 in
libasteriskpj.so.2[7f5f29a49000+180000]
Since this is a Freepbx distro does could the problem be
related to their flavor of Asterisk? I have several other
plain Asterisk servers running on this version without any
problems. Any recommendations on how to debug this?
My solution to this is going to be compiling Asterisk manually
instead of using their pre packaged version as debugging will take
a lot more time.
The Freepbx distro still uses a separate pjproject as far as I
know. When I compile my own I always use the bundled version now.
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161
Marcelo Terres
2017-07-20 19:46:30 UTC
Permalink
I don't have much knowledge about freepbx, but if some day I had to use it,
I would prefer to use the Asterisk compiled from source, unless it comes
with an Asterisk package (rpm, supposing it is running CentOS).
Post by Marcelo Terres
Which version of Asterisk are you using? Are you compiling it with the
bundle pjproject ?
--with-pjproject-bundled
Regards,
https://www.mundoopensource.com.br
https://twitter.com/mhterres
https://linkedin.com/in/marceloterres
Post by Marcelo Terres
This is the pjsip library.
Is it possible to you to update pjsip for the latest version to test if
it solves the problem?
Post by Carlos Chavez
I am getting frequent segfaults on a new Asterisk installation. So far
Jul 18 09:02:42 pbxbogota kernel: asterisk[26799]: segfault at 188 ip
00007fb2d535723f sp 00007fb25a11b5c0 error 4 in
libasteriskpj.so.2[7fb2d52e5000+180000]
Jul 18 09:17:00 pbxbogota kernel: asterisk[27453]: segfault at 188 ip
00007f4afea0c23f sp 00007f4a7f7e35c0 error 4 in
libasteriskpj.so.2[7f4afe99a000+180000]
Jul 18 09:22:57 pbxbogota kernel: asterisk[28471]: segfault at 188 ip
00007f2eb611923f sp 00007f2e3aec25c0 error 4 in
libasteriskpj.so.2[7f2eb60a7000+180000]
Jul 18 09:25:49 pbxbogota kernel: asterisk[28949]: segfault at 188 ip
00007fc5758dd23f sp 00007fc4fa6245c0 error 4 in
libasteriskpj.so.2[7fc57586b000+180000]
Jul 18 09:31:17 pbxbogota kernel: asterisk[29203]: segfault at 188 ip
00007f5f29abb23f sp 00007f5eae8285c0 error 4 in
libasteriskpj.so.2[7f5f29a49000+180000]
Since this is a Freepbx distro does could the problem be related to
their flavor of Asterisk? I have several other plain Asterisk servers
running on this version without any problems. Any recommendations on how
to debug this?
My solution to this is going to be compiling Asterisk manually
instead of using their pre packaged version as debugging will take a lot
more time.
The Freepbx distro still uses a separate pjproject as far as I know.
When I compile my own I always use the bundled version now.
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez+52 (55)8116-9161 <+52%2055%208116%209161>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.
org/
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Antony Stone
2017-07-20 21:12:29 UTC
Permalink
Post by Marcelo Terres
I don't have much knowledge about freepbx, but if some day I had to use it,
I would prefer to use the Asterisk compiled from source, unless it comes
with an Asterisk package (rpm, supposing it is running CentOS).
FreePBX (as a distro) is based on CentOS and comes with its own compiled
version of Asterisk - you install FreePBX and you get everything - CentOS,
Asterisk, Apache, PBX scripts, web frontend - the lot.

FreePBX as a package can be installed on CentOS (or Debian for that matter)
but the FreePBX project's documentation recommends compiling Asterisk from
source in this instance.
Post by Marcelo Terres
Post by Marcelo Terres
Which version of Asterisk are you using? Are you compiling it with the
bundle pjproject ?
--with-pjproject-bundled
Regards,
Marcelo H. Terres
Post by Marcelo Terres
This is the pjsip library.
Is it possible to you to update pjsip for the latest version to test if
it solves the problem?
Post by Carlos Chavez
I am getting frequent segfaults on a new Asterisk installation. So far
Jul 18 09:02:42 pbxbogota kernel: asterisk[26799]: segfault at 188 ip
00007fb2d535723f sp 00007fb25a11b5c0 error 4 in
libasteriskpj.so.2[7fb2d52e5000+180000]
Jul 18 09:17:00 pbxbogota kernel: asterisk[27453]: segfault at 188 ip
00007f4afea0c23f sp 00007f4a7f7e35c0 error 4 in
libasteriskpj.so.2[7f4afe99a000+180000]
Jul 18 09:22:57 pbxbogota kernel: asterisk[28471]: segfault at 188 ip
00007f2eb611923f sp 00007f2e3aec25c0 error 4 in
libasteriskpj.so.2[7f2eb60a7000+180000]
Jul 18 09:25:49 pbxbogota kernel: asterisk[28949]: segfault at 188 ip
00007fc5758dd23f sp 00007fc4fa6245c0 error 4 in
libasteriskpj.so.2[7fc57586b000+180000]
Jul 18 09:31:17 pbxbogota kernel: asterisk[29203]: segfault at 188 ip
00007f5f29abb23f sp 00007f5eae8285c0 error 4 in
libasteriskpj.so.2[7f5f29a49000+180000]
Since this is a Freepbx distro does could the problem be related to
their flavor of Asterisk? I have several other plain Asterisk servers
running on this version without any problems. Any recommendations on
how to debug this?
My solution to this is going to be compiling Asterisk manually
instead of using their pre packaged version as debugging will take a lot
more time.
The Freepbx distro still uses a separate pjproject as far as I know.
When I compile my own I always use the bundled version now.
--
"In fact I wanted to be John Cleese and it took me some time to realise that
the job was already taken."

- Douglas Adams

Please reply to the list;
please *don't* CC me.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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