#90 xvidcap crashed with SIGSEGV in avcodec_open()

closed-fixed
None
5
2015-01-27
2008-05-22
No

Forwarded from https://bugs.edge.launchpad.net/ubuntu/+source/xvidcap/+bug/207406

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Wed Mar 26 23:16:09 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/xvidcap
NonfreeKernelModules: nvidia
Package: xvidcap 1.1.6-0.1ubuntu1
PackageArchitecture: i386
ProcCmdline: xvidcap
ProcEnviron:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LANG=fr_FR.UTF-8
SHELL=/bin/bash
Signal: 11
SourcePackage: xvidcap
StacktraceTop:
avcodec_open () from /usr/lib/libavcodec.so.1d
?? ()
?? () from /lib/ld-linux.so.2
?? ()
?? ()
Title: xvidcap crashed with SIGSEGV in avcodec_open()
Uname: Linux 2.6.24-12-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev video

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

Stacktrace:

#0 0xb730c1e4 in avcodec_open (avctx=0x8478960, codec=0x0) at utils.c:811
ret = <value optimized out>
#1 0x0806ad21 in add_audio_stream (job=<value optimized out>) at xtoffmpeg.c:483
grab_iformat = <value optimized out>
params = {time_base = {num = 0, den = 0}, sample_rate = 44100, channels = 2, width = 0, height = 0,
pix_fmt = PIX_FMT_YUV420P, channel = 0, device = 0x806fe61 "/dev/dsp", standard = 0x0, mpeg2ts_raw = 0,
mpeg2ts_compute_pcr = 0, initial_pause = 0, prealloced_context = 0, video_codec_id = CODEC_ID_NONE,
audio_codec_id = CODEC_ID_NONE}
err = <value optimized out>
ret = <value optimized out>
#2 0x0806bded in xvc_ffmpeg_save_frame (fp=0x8352ac8, image=0x8386cd8) at xtoffmpeg.c:1532
au_ret = <value optimized out>
job = (Job *) 0x0
app = <value optimized out>
out_size = <value optimized out>
#3 0x08054cea in commonCapture (capfunc=SHM) at capture.c:1160
time = <value optimized out>
time1 = <value optimized out>
curr_time = {tv_sec = 1206569769, tv_usec = 664422}
app = (XVC_AppData *) 0x809c518
target = (XVC_CapTypeOptions *) 0x809c5ec
job = (Job *) 0x8366720
damaged_region = <value optimized out>
image = (XImage *) 0x8386cd8
fp = (FILE *) 0x8352ac8
shm_opcode = 147
shm_event_base = 96
shm_error_base = 167
pointer_area = {x = 530, y = 170, width = 24, height = 24}
dmg_image = (XImage *) 0x838b1b0
region = 62915462
clip_region = 62915463
dmg_shminfo = {shmseg = 62915470, shmid = 7536675, shmaddr = 0xb593e000 "", readOnly = 0}
shminfo = {shmseg = 62915464, shmid = 7503906, shmaddr = 0xb5a58000 "\r5o", readOnly = 0}
#4 0x0805b2e4 in do_record_thread () at gnome_ui.c:518
job = (Job *) 0x8366720
pause = <value optimized out>
#5 0xb72944fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0xb7162d4e in clone () from /lib/tls/i686/cmov/libc.so.6

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

Threadtrace:

.
Thread 6 (process 28379):
#0 0xb7f19410 in __kernel_vsyscall ()
#1 0xb715b23e in writev () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6af2ec3 in _xcb_conn_wait (c=0x80b26f0, cond=0x80b37b4, vector=0xbfd97908, count=0xbfd97904)
at xcb_conn.c:172
ret = <value optimized out>
xlib_locked = 1
rfds = {__fds_bits = {0 <repeats 32 times>}}
wfds = {__fds_bits = {8, 0 <repeats 31 times>}}
#3 0xb6af34ab in _xcb_out_send (c=0x80b26f0, vector=0xbfd97908, count=0xbfd97904) at xcb_out.c:279
ret = 1
#4 0xb6af35df in _xcb_out_flush_to (c=0x80b26f0, request=6313) at xcb_out.c:297
vec = {iov_base = 0x80b37e8, iov_len = 3984}
vec_ptr = (struct iovec *) 0xbfd978fc
count = 1
__PRETTY_FUNCTION__ = "_xcb_out_flush_to"
#5 0xb6af372f in xcb_flush (c=0x80b26f0) at xcb_out.c:244
ret = 0
#6 0xb6fd75e7 in _XSend (dpy=0x80b21b0, data=0x0, size=0) at ../../src/xcb_io.c:235
c = (xcb_connection_t *) 0x80b26f0
__PRETTY_FUNCTION__ = "_XSend"
#7 0xb6fd7792 in _XFlush (dpy=0x80b21b0) at ../../src/xcb_io.c:258
No locals.
#8 0xb6fb0a91 in XFlush (dpy=0x80b21b0) at ../../src/Flush.c:41
No locals.
#9 0xb7a0b64e in IA__gdk_display_flush (display=0x80ba020)
at /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkdisplay-x11.c:691
__PRETTY_FUNCTION__ = "IA__gdk_display_flush"
#10 0xb7a035aa in IA__gdk_window_process_all_updates () at /build/buildd/gtk+2.0-2.12.9/gdk/gdkwindow.c:2398
old_update_windows = (GSList *) 0x8235358
tmp_list = <value optimized out>
#11 0xb7c27cef in gtk_container_idle_sizer (data=0x0) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkcontainer.c:1307
No locals.
#12 0xb79e981b in gdk_threads_dispatch (data=0x8368400) at /build/buildd/gtk+2.0-2.12.9/gdk/gdk.c:470
ret = 0
#13 0xb780b081 in g_idle_dispatch (source=0x838c660, callback=0xf90, user_data=0x8368400)
at /build/buildd/glib2.0-2.16.1/glib/gmain.c:4081
No locals.
#14 0xb780cbd8 in IA__g_main_context_dispatch (context=0x80c44a8)
at /build/buildd/glib2.0-2.16.1/glib/gmain.c:2003
No locals.
#15 0xb780fe3e in g_main_context_iterate (context=0x80c44a8, block=1, dispatch=1, self=0x809c470)
at /build/buildd/glib2.0-2.16.1/glib/gmain.c:2636
got_ownership = <value optimized out>
max_priority = 110
timeout = 0
some_ready = 1
nfds = <value optimized out>
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0x8367b20
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#16 0xb78101c7 in IA__g_main_loop_run (loop=0x836f6b8) at /build/buildd/glib2.0-2.16.1/glib/gmain.c:2844
got_ownership = -1222023904
self = (GThread *) 0x809c470
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#17 0xb7cc0244 in IA__gtk_main () at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:1163
tmp_list = (GList *) 0x0
functions = (GList *) 0x836f570
init = (GtkInitFunction *) 0x8353df8
loop = (GMainLoop *) 0x836f6b8
#18 0x0805b02b in xvc_ui_run () at gnome_ui.c:1809
No locals.
#19 0x0806732f in main (argc=134952936, argv=0xbfd980f4) at main.c:998
rc = 0
errors_after_cli = (XVC_ErrorListItem *) 0x0
resultCode = <value optimized out>
s_tmp_capture_options = {file = 0x0, target = -1, targetCodec = -1, fps = {num = -1, den = 1},
time = -1, frames = -1, start_no = -1, step = -1, quality = -1, au_targetCodec = -1, audioWanted = -1,
sndrate = -1, sndsize = -1, sndchannels = -1, play_cmd = 0x0, video_cmd = 0x0, edit_cmd = 0x0}
target = (XVC_CapTypeOptions *) 0x809c5ec
.
Thread 5 (process 28392):
#0 0xb7f19410 in __kernel_vsyscall ()
#1 0xb7298aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb763a3cb in worker (v=0x8390ef0) at pthread.c:62
c = (ThreadContext *) 0x838b520
our_job = 0
thread_count = 4
self_id = 0
#3 0xb72944fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7162d4e in clone () from /lib/tls/i686/cmov/libc.so.6
.
Thread 4 (process 28393):
#0 0xb7f19410 in __kernel_vsyscall ()
#1 0xb7298aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb763a3cb in worker (v=0x8390ef0) at pthread.c:62
c = (ThreadContext *) 0x838b520
our_job = 0
thread_count = 4
self_id = 1
#3 0xb72944fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7162d4e in clone () from /lib/tls/i686/cmov/libc.so.6
.
Thread 3 (process 28394):
#0 0xb7f19410 in __kernel_vsyscall ()
#1 0xb7298aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb763a3cb in worker (v=0x8390ef0) at pthread.c:62
c = (ThreadContext *) 0x838b520
our_job = 0
thread_count = 4
self_id = 2
#3 0xb72944fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7162d4e in clone () from /lib/tls/i686/cmov/libc.so.6
.
Thread 2 (process 28395):
#0 0xb7f19410 in __kernel_vsyscall ()
#1 0xb7298aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb763a3cb in worker (v=0x8390ef0) at pthread.c:62
c = (ThreadContext *) 0x838b520
our_job = 0
thread_count = 4
self_id = 3
#3 0xb72944fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7162d4e in clone () from /lib/tls/i686/cmov/libc.so.6
.
Thread 1 (process 28391):
#0 0xb730c1e4 in avcodec_open (avctx=0x8478960, codec=0x0) at utils.c:811
ret = <value optimized out>
#1 0x0806ad21 in add_audio_stream (job=<value optimized out>) at xtoffmpeg.c:483
grab_iformat = <value optimized out>
params = {time_base = {num = 0, den = 0}, sample_rate = 44100, channels = 2, width = 0, height = 0,
pix_fmt = PIX_FMT_YUV420P, channel = 0, device = 0x806fe61 "/dev/dsp", standard = 0x0, mpeg2ts_raw = 0,
mpeg2ts_compute_pcr = 0, initial_pause = 0, prealloced_context = 0, video_codec_id = CODEC_ID_NONE,
audio_codec_id = CODEC_ID_NONE}
err = <value optimized out>
ret = <value optimized out>
#2 0x0806bded in xvc_ffmpeg_save_frame (fp=0x8352ac8, image=0x8386cd8) at xtoffmpeg.c:1532
au_ret = <value optimized out>
job = (Job *) 0x0
app = <value optimized out>
out_size = <value optimized out>
#3 0x08054cea in commonCapture (capfunc=SHM) at capture.c:1160
time = <value optimized out>
time1 = <value optimized out>
curr_time = {tv_sec = 1206569769, tv_usec = 664422}
app = (XVC_AppData *) 0x809c518
target = (XVC_CapTypeOptions *) 0x809c5ec
job = (Job *) 0x8366720
damaged_region = <value optimized out>
image = (XImage *) 0x8386cd8
fp = (FILE *) 0x8352ac8
shm_opcode = 147
shm_event_base = 96
shm_error_base = 167
pointer_area = {x = 530, y = 170, width = 24, height = 24}
dmg_image = (XImage *) 0x838b1b0
region = 62915462
clip_region = 62915463
dmg_shminfo = {shmseg = 62915470, shmid = 7536675, shmaddr = 0xb593e000 "", readOnly = 0}
shminfo = {shmseg = 62915464, shmid = 7503906, shmaddr = 0xb5a58000 "\r5o", readOnly = 0}
#4 0x0805b2e4 in do_record_thread () at gnome_ui.c:518
job = (Job *) 0x8366720
pause = <value optimized out>
#5 0xb72944fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0xb7162d4e in clone () from /lib/tls/i686/cmov/libc.so.6

Discussion

  • Karl H. Beckers

    Karl H. Beckers - 2008-05-23

    Logged In: YES
    user_id=782084
    Originator: NO

    Can you try to reproduce with current SVN? ... because I cannot.

     
  • Karl H. Beckers

    Karl H. Beckers - 2008-05-23
    • assigned_to: nobody --> charly4711
     
  • Karl H. Beckers

    Karl H. Beckers - 2008-07-14

    Logged In: YES
    user_id=782084
    Originator: NO

    From launchpad bug # 207406:
    "I found that there are a few more steps to take w/ the latest xvidcap.
    It now works flawlessly with sound as well."
    Hence I'll close this as fixed.

     
  • Karl H. Beckers

    Karl H. Beckers - 2008-07-14
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks