[asterisk-bugs] [JIRA] (ASTERISK-24914) Division by zero in file.c
Marcello Ceschia (JIRA)
noreply at issues.asterisk.org
Fri Mar 27 04:07:35 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcello Ceschia updated ASTERISK-24914:
----------------------------------------
Status: Triage (was: Waiting for Feedback)
> Division by zero in file.c
> --------------------------
>
> Key: ASTERISK-24914
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24914
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/PBX
> Affects Versions: 11.16.0, 13.2.0
> Environment: Asterisk SVN-branch-13-r433338M
> Reporter: Marcello Ceschia
> Assignee: Marcello Ceschia
> Attachments: voicemail_with_video_full.log
>
>
> 1. recording voicemail with video as h264
> 2. playback voicemail
> {code}
> Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
> Program terminated with signal SIGFPE, Arithmetic exception.
> #0 0x08157a3b in ast_readvideo_callback (s=s at entry=0xb2bad704) at file.c:975
> 975 ast_channel_vstreamid_set(s->owner, ast_sched_add(ast_channel_sched(s->owner), whennext / (ast_format_get_sample_rate(s->fmt->format) / 1000), ast_fsread_video, s));
> print whennext
> $2 = 533
> (gdb) print s->fmt->format->codec->sample_rate
> $4 = 0
> {code}
> as you can see:
> whennext / (ast_format_get_sample_rate(s->fmt->format) / 1000) == (533 / (0 / 1000))
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list