[asterisk-bugs] [JIRA] (ASTERISK-27981) res_fax: Fax session leak with fax gatewaying

pasandev (JIRA) noreply at issues.asterisk.org
Thu Aug 30 21:15:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244666#comment-244666 ] 

pasandev commented on ASTERISK-27981:
-------------------------------------

HI Josh,

After we apply this patch asterisk starts to crash repeatedly while processing calls.

[6344012.910997] asterisk[321]: segfault at 29b10 ip 00007f3b3e6c1b5e sp 00007f3b38fe78a0 error 4 in res_fax_spandsp.so[7f3b3e6bd000+7000]
[6344164.373750] asterisk[556]: segfault at 2c7b4 ip 00007f8fbc61afc0 sp 00007f8f8a55a8b8 error 4 in libspandsp.so.2.0.0[7f8fbc5c5000+c0000]
[6344337.538865] asterisk[817]: segfault at 29b10 ip 00007fb54ee6ab5e sp 00007fb603cbb8a0 error 4 in res_fax_spandsp.so[7fb54ee66000+7000]
[6344788.746705] asterisk[1459]: segfault at 29b10 ip 00007f7f3c34fb5e sp 00007f7f0a0068a0 error 4 in res_fax_spandsp.so[7f7f3c34b000+7000]
[6344860.316757] asterisk[1562]: segfault at 29b10 ip 00007f88c3476b5e sp 00007f88d80818a0 error 4 in res_fax_spandsp.so[7f88c3472000+7000]
[6344891.478264] asterisk[1670]: segfault at 2c7b4 ip 00007f1eb861afc0 sp 00007f1e87e0e988 error 4 in libspandsp.so.2.0.0[7f1eb85c5000+c0000]
[6344942.778812] asterisk[1775]: segfault at 29b10 ip 00007f943746cb5e sp 00007f9426ddc8a0 error 4 in res_fax_spandsp.so[7f9437468000+7000]
[6345205.112373] asterisk[2155]: segfault at 2c7b4 ip 00007fad5e449fc0 sp 00007fad59e8d988 error 4 in libspandsp.so.2.0.0[7fad5e3f4000+c0000]
[6345519.041308] asterisk[2520]: segfault at 29b10 ip 00007f78324b3b5e sp 00007f782ceac8a0 error 4 in res_fax_spandsp.so[7f78324af000+7000]
 

> res_fax: Fax session leak with fax gatewaying
> ---------------------------------------------
>
>                 Key: ASTERISK-27981
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27981
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_fax
>    Affects Versions: 13.21.1
>         Environment: OS: Debian Stretch 9.4
> CPU Details:
> Architecture:          x86_64
> CPU op-mode(s):        32-bit, 64-bit
> Byte Order:            Little Endian
> CPU(s):                6
> On-line CPU(s) list:   0-5
> Thread(s) per core:    1
> Core(s) per socket:    6
> Socket(s):             1
> NUMA node(s):          1
> Vendor ID:             GenuineIntel
> CPU family:            6
> Model:                 44
> Model name:            Westmere E56xx/L56xx/X56xx (Nehalem-C)
> Stepping:              1
> CPU MHz:               2933.612
> BogoMIPS:              5867.22
> Hypervisor vendor:     KVM
> Virtualization type:   full
> L1d cache:             32K
> L1i cache:             32K
> L2 cache:              4096K
> L3 cache:              16384K
> NUMA node0 CPU(s):     0-5
> Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm kaiser tsc_adjust arat
>            Reporter: pasandev
>            Assignee: Joshua Colp
>              Labels: fax, patch, pjsip
>         Attachments: console, extensions.conf, fax-error-reference.diff, mem_alloc, mem_alloc240718, mem_snap0822, mem_snap0822_2, mem_snap0823, mem_sum, mem_sum240718, messages.xz, mmlog, module_show, pjsip.conf
>
>
> possible memory leak on res_fax_spandsp.c according to "memory show summary" command, mem allocated to res_fax_spandsp.c keeps growing.
> I have a simple gateway setup to terminate calls from/to supplier using PJSIP Channel driver. Currently handling supplier -> Asterisk -> Customer calls.
> Customer <> Asterisk <> Supplier



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list