[asterisk-bugs] [JIRA] (ASTERISK-23915) Crash in pthread_mutex_trylock called from dahdi_read

George Sand (JIRA) noreply at issues.asterisk.org
Fri Jun 20 12:21:58 CDT 2014


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

George Sand commented on ASTERISK-23915:
----------------------------------------

Hi 

yes the chan_dahdi it is modified I work with the chan_dahdi.c from version of the asterisk 1.8.7.1 , ii attach the chan_dahdi.


> Crash in pthread_mutex_trylock called from dahdi_read
> -----------------------------------------------------
>
>                 Key: ASTERISK-23915
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23915
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 1.8.28.1
>         Environment: Linux x86-64
>            Reporter: George Sand
>            Assignee: George Sand
>         Attachments: chan_dahdi.c
>
>
> Hi 
> sometimes i receive a segment fault on the asterisk service 
> {noformat}
> #0  0x00000034d5209385 in pthread_mutex_trylock () from /lib64/libpthread.so.0
> #1  0x00007f01c4ec7694 in dahdi_read (ast=0x7f00e4011f28) at chan_dahdi.c:8771
> #2  0x000000000047350c in __ast_read (chan=0x7f00e4011f28, dropaudio=0) at channel.c:3905
> #3  0x00007f01fc574640 in async_agi_read_frame (chan=0x7f00e4011f28, data=<value optimized out>,
>     enhanced=<value optimized out>, dead=0) at res_agi.c:1208
> #4  launch_asyncagi (chan=0x7f00e4011f28, data=<value optimized out>, enhanced=<value optimized out>, dead=0)
>     at res_agi.c:1398
> #5  launch_script (chan=0x7f00e4011f28, data=<value optimized out>, enhanced=<value optimized out>, dead=0)
>     at res_agi.c:1612
> #6  agi_exec_full (chan=0x7f00e4011f28, data=<value optimized out>, enhanced=<value optimized out>, dead=0)
>     at res_agi.c:3856
> #7  0x00000000004ec83b in pbx_exec (c=0x7f00e4011f28, app=0x180c460, data=0x7f019ad76690 "agi:async") at pbx.c:1421
> #8  0x00000000004f962a in pbx_extension_helper (c=0x7f00e4011f28, con=0x0, context=0x7f00e4012480 "user-default",
>     exten=0x7f00e40124d0 "s", priority=4, label=0x7f00e4012480 "user-default", callerid=0x7f00e40af740 "372454528",
>     action=E_SPAWN, found=0x7f019ad78d0c, combined_find_spawn=1) at pbx.c:4119
> #9  0x00000000004fe1b5 in ast_spawn_extension (c=0x7f00e4011f28, args=0x0) at pbx.c:4744
> #10 __ast_pbx_run (c=0x7f00e4011f28, args=0x0) at pbx.c:4842
> #11 0x00000000004ff8d9 in pbx_thread (data=<value optimized out>) at pbx.c:5177
> #12 0x0000000000537eea in dummy_start (data=<value optimized out>) at utils.c:1004
> #13 0x00000034d52077f1 in start_thread () from /lib64/libpthread.so.0
> #14 0x00000034d4ee570d in clone () from /lib64/libc.so.6
> {noformat}
> can you help me with this , i saw something similar at the post ASTERISK-20854



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



More information about the asterisk-bugs mailing list