g729_decoder is having Segmentation fault
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response
What steps will reproduce the problem?
1.execute(codec-g729-read-only/g729_decoder/decode.c) from
svn checkout http://codec-g729.googlecode.com/svn/trunk/ codec-g729-read-only
2.we passing arguments like :/a.out output.cod encdec.wav
3.Segmentation fault (core dumped)
What is the expected output? What do you see instead?
take encoded file as input( output.cod) decode to output file(encdec.wav)
What version of the product are you using? On what operating system?
for product version i gave the SVN PATH..
my os is : ubuntu 12.04 LTS 2GB ram intel cpu
Please provide any additional information below.
for encoding == > (codec-g729-read-only/g729_coder/coder.c)
it executes and give the encoded file
how can we know the is it encoding or not?
for DECODING
the give the Segmentation fault (core dumped) why ..?
the arguments are above and the gdb output is like this
=====================================================================
(gdb) run
Starting program:
/home/kellton/Desktop/codec-g729-read-only/g729_decoder/source/decoder
*********** ITU G.729 8 KBIT/S SPEECH CODER ***********
------------------- Fixed point C simulation -----------------
------------ Version 3.3 (Release 2, November 2006) --------
Linear file : myoutput.cod
Program received signal SIGSEGV, Segmentation fault.
0x0804e71e in Pred_lt_3 (exc=0x8052c14, T0=27313, frac=0, L_subfr=40) at
pred_lt3.c:51
51 s = L_mac(s, x1[-i], c1[k]);
(gdb) backtrace
#0 0x0804e71e in Pred_lt_3 (exc=0x8052c14, T0=27313, frac=0, L_subfr=40) at
pred_lt3.c:51
#1 0x0804d73e in Decod_ld8k (parm=0xbffff18e, voicing=0, synth=0xbfffef74,
A_t=0xbffff158, T0_first=0xbffff1b6) at dec_ld8k.c:186
#2 0x080498ca in main (argc=1, argv=0xbffff264) at decoder.c:140
============================================================
could you please help regarding this issue. how can i compile and execute
DECODER to get the output from encoded file and how can i compare with original
file.
i want to use this into my VOIP app i.e for Android/MAC/windows to AUDIO CODEC
could you please explain and help i am new to this..
thank you so much
waiting for your reply
```
Original issue reported on code.google.com by `indrasen...@gmail.com` on 21 Nov 2013 at 12:07
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with g729_decoder/source/decoder.c and pred_lt3.c, then reproduce the reported command using the provided encoded and output filenames while examining the shown GDB backtrace. Done means the decoder runs without the reported segmentation fault and produces an output file that can be compared with the original audio.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100