[asterisk-bugs] [Asterisk 0013462]: CLI> "file convert file.ogg file.gsm" Segfaults

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 12 11:18:09 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13462 
====================================================================== 
Reported By:                wackysalut
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13462
Category:                   Formats/format_ogg_vorbis
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-rc5 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-11 10:43 CDT
Last Modified:              2008-09-12 11:18 CDT
====================================================================== 
Summary:                    CLI> "file convert file.ogg file.gsm" Segfaults
Description: 
Simply crashes.

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b746b0 (LWP 24371)]
0x00000000 in ?? ()
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x00000000 in ?? ()
http://bugs.digium.com/view.php?id=1  0xb756dd00 in handle_cli_file_convert
(e=0xb756f4e0, cmd=-4,
a=0xbfaf34fc) at res_convert.c:118
http://bugs.digium.com/view.php?id=2  0x0809380e in ast_cli_command (fd=1,
s=0x81aafd0 "file convert
milonga.ogg milonga.gsm") at cli.c:1887
http://bugs.digium.com/view.php?id=3  0x08076422 in ?? ()
http://bugs.digium.com/view.php?id=4  0xb7c25450 in __libc_start_main () from
/lib/tls/i686/cmov/libc.so.6
http://bugs.digium.com/view.php?id=5  0x0805d691 in ?? ()
(gdb) 

====================================================================== 

---------------------------------------------------------------------- 
 (0092434) svnbot (reporter) - 2008-09-12 11:18
 http://bugs.digium.com/view.php?id=13462#c92434 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 142740

U   branches/1.4/main/file.c

------------------------------------------------------------------------
r142740 | tilghman | 2008-09-12 11:18:08 -0500 (Fri, 12 Sep 2008) | 4
lines

Don't return a free'd pointer, when a file cannot be opened.
(closes issue http://bugs.digium.com/view.php?id=13462)
 Reported by: wackysalut

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=142740 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-12 11:18 svnbot         Checkin                                      
2008-09-12 11:18 svnbot         Note Added: 0092434                          
======================================================================




More information about the asterisk-bugs mailing list