Bug 26077 - Arithmetic exception
Summary: Arithmetic exception
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: liblame (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 18:56 MSK by enp
Modified: 2018-11-01 11:10 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enp 2011-08-15 18:56:48 MSK
FreeSWITCH, собранный с нашим liblame, падает так:

Core was generated by `/usr/sbin/freeswitch -c -waste -nonat'.
Program terminated with signal 8, Arithmetic exception.
#0  0x00007fb3e1ebd038 in lame_encode_flush (gfp=0x19307b0, mp3buffer=0x7fb3e07b7a10 "", mp3buffer_size=20480) at lame.c:1964
1964        end_padding = gfp->framesize - (samples_to_encode % gfp->framesize);
(gdb) backtrace
#0  0x00007fb3e1ebd038 in lame_encode_flush (gfp=0x19307b0, mp3buffer=0x7fb3e07b7a10 "", mp3buffer_size=20480) at lame.c:1964
#1  0x00007fb3e233ff74 in free_context (context=0x1b5bb18) at /usr/src/debug/freeswitch-1.0.7/src/mod/formats/mod_shout/mod_shout.c:193
#2  0x00007fb3e234007d in shout_file_close (handle=<value optimized out>) at /usr/src/debug/freeswitch-1.0.7/src/mod/formats/mod_shout/mod_shout.c:839
#3  0x00007fb3ef839434 in switch_core_file_close (fh=0x1b10c48) at src/switch_core_file.c:558
#4  0x00007fb3ef87d129 in record_callback (bug=0x1b90108, user_data=0x1b10e38, type=<value optimized out>) at src/switch_ivr_async.c:960
#5  0x00007fb3ef831fb7 in switch_core_media_bug_remove_all (session=0x7fb3dc429ef8) at src/switch_core_media_bug.c:477
#6  0x00007fb3ef8453a2 in switch_core_session_hangup_state (session=0x7fb3dc429ef8, force=<value optimized out>) at src/switch_core_state_machine.c:570
#7  0x00007fb3ef84641f in switch_core_session_run (session=0x7fb3dc429ef8) at src/switch_core_state_machine.c:360
#8  0x00007fb3ef8420de in switch_core_session_thread (thread=<value optimized out>, obj=0x7fb3dc429ef8) at src/switch_core_session.c:1311
#9  0x00007fb3eef7c9aa in start_thread (arg=0x7fb3e07be700) at pthread_create.c:297
#10 0x00007fb3ee28346d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Comment 1 Anton Farygin 2018-11-01 11:10:11 MSK
У меня не получилось воспроизвести.