Opensips crashes

classic Classic list List threaded Threaded
3 messages Options
zzz
Reply | Threaded
Open this post in threaded view
|

Opensips crashes

zzz

Hello team,

 

Opensips is getting crashed after acc_aaa_request().

Sep  7 09:49:20 voip-45 /opensips[32172]: CRITICAL:core:sig_usr: segfault in process pid: 32172, id: 6

Sep  7 09:50:29 voip-45 /opensips[32200]: CRITICAL:core:handle_worker: dead child 7 (EOF received), pid 32173

Sep  7 09:50:29 voip-45 /opensips[32166]: INFO:core:handle_sigs: child process 32173 exited by a signal 11

Sep  7 09:50:29 voip-45 /opensips[32166]: INFO:core:handle_sigs: core was generated

 

If I remove this function from the script , the Opensips works stable.

 

The Opensips config file is pretty much the same as default one, just with additional modules in Module section.

 

I’m using opensips version

version: opensips 2.4.2 (x86_64/linux)

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535

poll method support: poll, epoll, sigio_rt, select.

git revision: acc45d1

main.c compiled on 21:41:30 Sep  6 2018 with gcc 4.9.2

 

I have done core dump with gdb, don’t know what would be the best to send it to you.

 

 

Best regards,

Yuriy

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Opensips crashes

Bogdan-Andrei Iancu-2
Hi Yuriy,

I see a corefile is generated - could you extract a full brancktrace please ? See
    http://www.opensips.org/Documentation/TroubleShooting-Crash
the "Extracting a back trace from the core file" chapter.

Thanks,
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
  http://opensips.org/training/OpenSIPS_Bootcamp_2018/
On 09/07/2018 02:15 PM, zzz wrote:

Hello team,

 

Opensips is getting crashed after acc_aaa_request().

Sep  7 09:49:20 voip-45 /opensips[32172]: CRITICAL:core:sig_usr: segfault in process pid: 32172, id: 6

Sep  7 09:50:29 voip-45 /opensips[32200]: CRITICAL:core:handle_worker: dead child 7 (EOF received), pid 32173

Sep  7 09:50:29 voip-45 /opensips[32166]: <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs: child process 32173 exited by a signal 11

Sep  7 09:50:29 voip-45 /opensips[32166]: <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs: core was generated

 

If I remove this function from the script , the Opensips works stable.

 

The Opensips config file is pretty much the same as default one, just with additional modules in Module section.

 

I’m using opensips version

version: opensips 2.4.2 (x86_64/linux)

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535

poll method support: poll, epoll, sigio_rt, select.

git revision: acc45d1

main.c compiled on 21:41:30 Sep  6 2018 with gcc 4.9.2

 

I have done core dump with gdb, don’t know what would be the best to send it to you.

 

 

Best regards,

Yuriy

 



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
zzz
Reply | Threaded
Open this post in threaded view
|

Re: Opensips crashes

zzz

Hello Bogdan,

Please find another trace in attachment.

 

Thanks for your help,

Yuriy

 

From: Bogdan-Andrei Iancu [mailto:[hidden email]]
Sent: Friday, September 7, 2018 4:11 PM
To: OpenSIPS users mailling list <[hidden email]>; zzz <[hidden email]>
Subject: Re: [OpenSIPS-Users] Opensips crashes

 

Hi Yuriy,

I see a corefile is generated - could you extract a full brancktrace please ? See
    http://www.opensips.org/Documentation/TroubleShooting-Crash
the "Extracting a back trace from the core file" chapter.

Thanks,

Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
  http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 09/07/2018 02:15 PM, zzz wrote:

Hello team,

 

Opensips is getting crashed after acc_aaa_request().

Sep  7 09:49:20 voip-45 /opensips[32172]: CRITICAL:core:sig_usr: segfault in process pid: 32172, id: 6

Sep  7 09:50:29 voip-45 /opensips[32200]: CRITICAL:core:handle_worker: dead child 7 (EOF received), pid 32173

Sep  7 09:50:29 voip-45 /opensips[32166]: <a href="INFO:core:handle_sigs"> INFO:core:handle_sigs: child process 32173 exited by a signal 11

Sep  7 09:50:29 voip-45 /opensips[32166]: <a href="INFO:core:handle_sigs"> INFO:core:handle_sigs: core was generated

 

If I remove this function from the script , the Opensips works stable.

 

The Opensips config file is pretty much the same as default one, just with additional modules in Module section.

 

I’m using opensips version

version: opensips 2.4.2 (x86_64/linux)

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535

poll method support: poll, epoll, sigio_rt, select.

git revision: acc45d1

main.c compiled on 21:41:30 Sep  6 2018 with gcc 4.9.2

 

I have done core dump with gdb, don’t know what would be the best to send it to you.

 

 

Best regards,

Yuriy

 




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

core-dump.31676.txt (23K) Download Attachment