[libav-bugs] [Bug 596] New: SIGFPE triggered in mux.c (arithmetic exception, core dumped)

bugzilla at libav.org bugzilla at libav.org
Sat Nov 23 02:11:18 CET 2013


https://bugzilla.libav.org/show_bug.cgi?id=596

           Summary: SIGFPE triggered in mux.c (arithmetic exception, core
                    dumped)
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: superjoe30 at gmail.com


It's not easily reproducible, but I managed to get a backtrace in gdb:

Reading symbols from
/mnt/blend/node_modules/audio-blender/bin/audio-blender...(no debugging symbols
found)...done.
Starting program: /mnt/blend/node_modules/audio-blender/bin/audio-blender
/tmp/51f7f1fc66c878dd270001e3-52068f7cc13ae3995f000168-520690bbfb846bdd5e00014a.wav
--waveformjs out.json --transcode out.mp3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff5b10700 (LWP 30019)]
[New Thread 0x7ffff530f700 (LWP 30020)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7ffff530f700 (LWP 30020)]
0x00007ffff6df31d7 in frac_add (incr=<optimized out>, f=0x6ff738) at
/mnt/libgroove/deps/libav/libavformat/mux.c:98
98            f->val += num / den;
(gdb) bt full
#0  0x00007ffff6df31d7 in frac_add (incr=<optimized out>, f=0x6ff738) at
/mnt/libgroove/deps/libav/libavformat/mux.c:98
        num = 103680000
        den = 0
#1  compute_pkt_fields2 (s=0x6ff180, st=0x6ff720, pkt=0x6fdc88) at
/mnt/libgroove/deps/libav/libavformat/mux.c:386
        delay = 0
        num = -147296831
        den = 32767
        frame_size = 1152
        i = <optimized out>
#2  0x00007ffff6df39c5 in av_write_frame (s=0x6ff180, pkt=0x6fdc88) at
/mnt/libgroove/deps/libav/libavformat/mux.c:442
        ret = <optimized out>
#3  0x00007ffff6d76347 in encode_buffer (encoder=0x6fdc00, buffer=0x0) at
/mnt/libgroove/src/encoder.c:85
        e = 0x6fdc00
        frame = <optimized out>
        got_packet = 1
        errcode = <optimized out>
#4  0x00007ffff6d7647a in encode_thread (arg=0x6fdc00) at
/mnt/libgroove/src/encoder.c:116
        result = 2
        encoder = 0x6fdc00
        e = 0x6fdc00
        buffer = 0x0
#5  0x00007ffff7385ecd in SDL_RunThread (data=0x604e70) at
/mnt/libgroove/deps/SDL2/src/thread/SDL_thread.c:280
        args = 0x604e70
        userfunc = 0x7ffff6d76390 <encode_thread>
        userdata = 0x6fdc00
        statusloc = 0x71de00
#6  0x00007ffff7386c79 in RunThread (data=<optimized out>) at
/mnt/libgroove/deps/SDL2/src/thread/pthread/SDL_systhread.c:69
No locals.
#7  0x00007ffff6a88e9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#8  0x00007ffff65b1ccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#9  0x0000000000000000 in ?? ()
No symbol table info available.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list