After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163443 - crash when searching in a file (cvs)
crash when searching in a file (cvs)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.6
Other Linux
: Normal critical
: 0.8.9
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
Depends on:
Blocks:
 
 
Reported: 2005-01-09 10:57 UTC by Michaël Arnauts
Modified: 2005-04-09 15:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
possible fix (926 bytes, patch)
2005-04-09 15:17 UTC, Ronald Bultje
none Details | Review
possible fix 2 (1.00 KB, patch)
2005-04-09 15:22 UTC, Ronald Bultje
none Details | Review

Description Michaël Arnauts 2005-01-09 10:57:15 UTC
I just tried Felix's rpm's, and i noticed a few problems with it:
when i search in a file, totem crashes... I can reproduce it everytime, but i
can't create backtraces due to a bug in the fc3 kernel
(https://bugzilla.redhat.com/beta/show_bug.cgi?id=144021). When i managed to get
a new kernel with that bug fixed, i will post a backtrace...
Comment 1 Bastien Nocera 2005-01-09 11:13:50 UTC
We''ll wait then ;)
Comment 2 Michaël Arnauts 2005-01-09 12:09:11 UTC
hmmm, it seems that totem is freaking out here... i installed a new kernel, so i
can use gdb agian, but as soon as i open a file, gdb fires an error, with a
backtrace... but when i start totem without gdb, it works fine... anyway, it
looks like i can't get to the point to drag the slider to get a backtrace for
that because this one need to be fixed first...

Program received signal SIG33, Real-time event 33.
[Switching to Thread 103336880 (LWP 6843)]
0x002287a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) thread apply all bt full

Thread 1 (Thread -1208100640 (LWP 6838))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __nptl_setxid
    from /lib/tls/libpthread.so.0
  • #2 seteuid
    from /lib/tls/libc.so.6
  • #3 gnome_vfs_method_init
    from /usr/lib/libgnomevfs-2.so.0
  • #4 gnome_vfs_transform_get
    from /usr/lib/libgnomevfs-2.so.0
  • #5 gnome_vfs_uri_new_private
    from /usr/lib/libgnomevfs-2.so.0
  • #6 gnome_vfs_uri_new
    from /usr/lib/libgnomevfs-2.so.0
  • #7 gst_gnomevfs_get_supported_uris
    from /usr/lib/gstreamer-0.8/libgstgnomevfs.so
  • #8 gst_gnomevfssrc_get_type
    from /usr/lib/gstreamer-0.8/libgstgnomevfs.so
  • #9 gst_element_register
    from /usr/lib/libgstreamer-0.8.so.1
  • #10 ??
    from /usr/lib/gstreamer-0.8/libgstgnomevfs.so
  • #11 ??
  • #12 ??
    from /usr/lib/gstreamer-0.8/libgstgnomevfs.so
  • #13 ??
  • #14 ??
  • #15 ??
    from /usr/lib/libgstreamer-0.8.so.1
  • #16 ??
    from /usr/lib/gstreamer-0.8/libgstgnomevfs.so
  • #17 ??
  • #18 gst_plugin_is_loaded
    from /usr/lib/libgstreamer-0.8.so.1
  • #19 gst_plugin_is_loaded
    from /usr/lib/libgstreamer-0.8.so.1
  • #20 gst_plugin_load_file
    from /usr/lib/libgstreamer-0.8.so.1
  • #21 gst_xml_registry_new
    from /usr/lib/libgstreamer-0.8.so.1
  • #22 gst_registry_load_plugin
    from /usr/lib/libgstreamer-0.8.so.1
  • #23 gst_plugin_feature_ensure_loaded
    from /usr/lib/libgstreamer-0.8.so.1
  • #24 gst_element_factory_create
    from /usr/lib/libgstreamer-0.8.so.1
  • #25 gst_element_make_from_uri
    from /usr/lib/libgstreamer-0.8.so.1
  • #26 gst_play_base_bin_get_streaminfo
    from /usr/lib/gstreamer-0.8/libgstplaybin.so
  • #27 ??
    from /usr/lib/gstreamer-0.8/libgstplaybin.so
  • #28 ??
  • #29 ??
  • #30 ??
    from /usr/lib/libgstreamer-0.8.so.1
  • #31 ??
    from /usr/lib/libgstreamer-0.8.so.1
  • #32 ??
  • #33 gst_type_list
  • #34 ??
  • #35 ??
    from /usr/lib/libgstreamer-0.8.so.1
  • #36 gst_type_list
  • #37 ??
  • #38 ??
  • #39 gst_element_wait_state_change
    from /usr/lib/libgstreamer-0.8.so.1
  • #40 gst_element_wait_state_change
    from /usr/lib/libgstreamer-0.8.so.1
  • #41 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #42 bacon_video_widget_open
    at bacon-video-widget-gst.c line 1329
  • #43 totem_action_set_mrl_with_warning
    at totem.c line 692
  • #44 totem_action_set_mrl
    at totem.c line 757
  • #45 totem_action_set_mrl_and_play
    at totem.c line 384
  • #46 playlist_changed_cb
    at totem.c line 2284
  • #47 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #48 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #51 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #52 totem_playlist_add_one_mrl
    at totem-playlist.c line 1592
  • #53 on_recent_file_activate
    at totem.c line 1108
  • #54 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #55 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #56 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #57 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #58 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #59 egg_recent_view_gtk_menu_cb
    at egg-recent-view-gtk.c line 169
  • #60 g_cclosure_marshal_VOID__VOID
  • #61 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #62 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #63 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #64 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #65 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #66 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #67 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #68 gtk_menu_reorder_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #69 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #70 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #71 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #72 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #73 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #74 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #75 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #76 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #77 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #78 gdk_event_get_graphics_expose
    from /usr/lib/libgdk-x11-2.0.so.0
  • #79 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #80 g_main_context_acquire
    from /usr/lib/libglib-2.0.so.0
  • #81 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #82 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #83 main
    at totem.c line 3601
  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2

Comment 3 Michaël Arnauts 2005-01-09 12:16:24 UTC
wow, after pressing a lot "c" to continue, i get this:

Program received signal SIG33, Real-time event 33.
0x002287a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) c
Continuing.
No accelerated IMDCT transform found
Detaching after fork from child process 6874.
[New Thread 19508144 (LWP 6876)]
[New Thread 22211504 (LWP 6877)]
No accelerated IMDCT transform found
[New Thread 90405808 (LWP 6878)]
[New Thread 55172016 (LWP 6879)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 90405808 (LWP 6878)]
0x0229b95f in gst_audio_convert_unset_matrix ()
   from /usr/lib/gstreamer-0.8/libgstaudioconvert.so
(gdb) c
Continuing.
Couldn't get registers: No such process.
(gdb) c
Continuing.
Cannot fetch general-purpose registers for thread 90405808: generic error
(gdb) c
Continuing.
Cannot fetch general-purpose registers for thread 90405808: generic error
(gdb) thread apply all bt full
Cannot find new threads: generic error
(gdb)
Comment 4 Ronald Bultje 2005-01-09 15:51:39 UTC
Oh... Right. :).

The SIG33 signals can be masked, search in totem bugzilla, I previously remarked
how to do it elsewhere (also, Bastien knows).
Comment 5 Michaël Arnauts 2005-01-09 16:07:04 UTC
hmmm, i can't seem to find it in the bugzilla... i almost always get the damn
zaroo bugs found... i've looked for all the bugs of totem that had a comment
that contained SIG33... only one was found (162928, no info there, only my
backtrace that also contained a SIG33), even this one isn't in the list?
Comment 6 Bastien Nocera 2005-01-09 16:57:23 UTC
handle SIG33 nostop
handle SIG33 pass
in your ~/.gdbinit (Haven't you done that yet Ronald? :)
Comment 7 Ronald Bultje 2005-01-09 18:04:58 UTC
My desktop is still FC2 ;).
Comment 8 Michaël Arnauts 2005-01-09 19:09:19 UTC
well, here is the real backtrace:

(gdb) run
Starting program: /usr/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1208100640 (LWP 14219)]
Detaching after fork from child process 14222.
[New Thread 39685040 (LWP 14224)]

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

---Type <return> to continue, or q <return> to quit---
Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.

Program received signal SIG33, Real-time event 33.
No accelerated IMDCT transform found
Detaching after fork from child process 14225.
[New Thread 42154928 (LWP 14227)]
[New Thread 35474352 (LWP 14228)]
No accelerated IMDCT transform found
[New Thread 21343152 (LWP 14229)]
[New Thread 100559792 (LWP 14230)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 21343152 (LWP 14229)]
0x00cd295f in gst_audio_convert_unset_matrix ()
   from /usr/lib/gstreamer-0.8/libgstaudioconvert.so
(gdb) thread apply all bt full

Thread 6 (Thread 100559792 (LWP 14230))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __nanosleep_nocancel
    from /lib/tls/libpthread.so.0
  • #2 g_usleep
    from /usr/lib/libglib-2.0.so.0
  • #3 ??
  • #4 ??

Thread 5 (Thread 21343152 (LWP 14229))

  • #0 gst_audio_convert_unset_matrix
    from /usr/lib/gstreamer-0.8/libgstaudioconvert.so
  • #1 gst_audio_convert_setup_matrix
    from /usr/lib/gstreamer-0.8/libgstaudioconvert.so
  • #2 _fixate_caps_to_int
    from /usr/lib/gstreamer-0.8/libgstaudioconvert.so
  • #3 gst_pad_call_chain_function
    from /usr/lib/libgstreamer-0.8.so.1
  • #4 gst_pad_push
    from /usr/lib/libgstreamer-0.8.so.1
  • #5 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #6 ??
  • #7 ??
  • #8 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #9 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #10 ??
  • #11 ??

Thread 4 (Thread 35474352 (LWP 14228))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 pthread_cond_wait
    from /lib/tls/libpthread.so.0
  • #2 gst_thread_get_current
    from /usr/lib/libgstreamer-0.8.so.1
  • #3 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #4 start_thread
    from /lib/tls/libpthread.so.0
  • #5 clone
    from /lib/tls/libc.so.6

Thread 3 (Thread 42154928 (LWP 14227))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 pthread_cond_wait
    from /lib/tls/libpthread.so.0
  • #2 gst_thread_get_current
    from /usr/lib/libgstreamer-0.8.so.1
  • #3 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #4 start_thread
    from /lib/tls/libpthread.so.0
  • #5 clone
    from /lib/tls/libc.so.6

Thread 2 (Thread 39685040 (LWP 14224))

  • #0 gst_ffmpegcsp_register
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #1 gst_ffmpegcsp_register
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #2 gst_ffmpegcsp_register
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #3 gst_ffmpeg_img_convert
    from /usr/lib/gstreamer-0.8/libgstffmpeg.so
  • #4 gst_pad_call_chain_function
    from /usr/lib/libgstreamer-0.8.so.1
  • #5 gst_pad_push
    from /usr/lib/libgstreamer-0.8.so.1
  • #6 gst_avi_demux_stream_data
  • #7 gst_avi_demux_stream_data
    from /usr/lib/gstreamer-0.8/libgstavi.so
  • #8 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #9 ??
  • #10 ??
  • #11 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #12 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #13 ??
  • #14 ??

Thread 1 (Thread -1208100640 (LWP 14219))

  • #0 gdk_pixbuf_rotation_get_type
    from /usr/lib/libgdk_pixbuf-2.0.so.0
  • #1 gdk_pixbuf_rotation_get_type
    from /usr/lib/libgdk_pixbuf-2.0.so.0
  • #2 gdk_pixbuf_scale
    from /usr/lib/libgdk_pixbuf-2.0.so.0
  • #3 g_module_check_init
    from /usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
  • #4 theme_pixbuf_render
    from /usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so
  • #5 ??
    from /usr/lib/gtk-2.0/2.4.0/engines/libsvg.so
  • #6 ??
  • #7 ??
  • #8 ??
  • #0 gst_audio_convert_unset_matrix
    from /usr/lib/gstreamer-0.8/libgstaudioconvert.so

Comment 9 Ronald Bultje 2005-01-09 20:04:16 UTC
Please install debugging symbols for gstreamer-plugins, and then show me where
it crashes in that function. Thanks.
Comment 10 Michaël Arnauts 2005-01-09 20:29:10 UTC
(gdb) thread apply all bt full

Thread 6 (Thread 125942704 (LWP 15005))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 ___newselect_nocancel
    from /lib/tls/libc.so.6
  • #2 _XEnq
    from /usr/X11R6/lib/libX11.so.6
  • #3 _XRead
    from /usr/X11R6/lib/libX11.so.6
  • #4 _XReply
    from /usr/X11R6/lib/libX11.so.6
  • #5 XSync
    from /usr/X11R6/lib/libX11.so.6
  • #6 gst_xvimagesink_xvimage_put
    at xvimagesink.c line 359
  • #7 gst_xvimagesink_chain
    at xvimagesink.c line 1434
  • #8 gst_pad_call_chain_function
    at gstpad.c line 4430
  • #9 gst_pad_push
    at gstpad.c line 3241
  • #10 gst_videoscale_chain
    at gstvideoscale.c line 537
  • #11 gst_pad_call_chain_function
    at gstpad.c line 4430
  • #12 gst_pad_push
    at gstpad.c line 3241
  • #13 gst_ffmpegcsp_chain
    at gstffmpegcolorspace.c line 384
  • #14 gst_pad_call_chain_function
    at gstpad.c line 4430
  • #15 gst_pad_push
    at gstpad.c line 3241
  • #16 gst_identity_chain
    at gstidentity.c line 368
  • #17 gst_pad_call_chain_function
    at gstpad.c line 4430
  • #18 gst_pad_push
    at gstpad.c line 3241
  • #19 get_group_schedule_function
    at gstoptimalscheduler.c line 1305
  • #20 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1154
  • #21 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 1258
  • #22 gst_scheduler_iterate
    at gstscheduler.c line 738
  • #23 gst_bin_iterate_func
    at gstbin.c line 1220
  • #24 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 509
  • #25 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #30 gst_bin_iterate
    at gstbin.c line 1280
  • #31 gst_thread_main_loop
    at gstthread.c line 671
  • #32 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #33 start_thread
    from /lib/tls/libpthread.so.0
  • #34 clone
    from /lib/tls/libc.so.6

Thread 5 (Thread 131017648 (LWP 15004))

  • #0 gst_audio_convert_fill_one_other
    at gstchannelmix.c line 271
  • #1 gst_audio_convert_setup_matrix
    at gstchannelmix.c line 352
  • #2 gst_audio_convert_chain
    at gstaudioconvert.c line 859
  • #3 gst_pad_call_chain_function
    at gstpad.c line 4430
  • #4 gst_pad_push
    at gstpad.c line 3241
  • #5 get_group_schedule_function
    at gstoptimalscheduler.c line 1305
  • #6 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1154
  • #7 gst_opt_scheduler_get_wrapper
    at gstoptimalscheduler.c line 1451
  • #8 gst_pad_pull
    at gstpad.c line 3296
  • #9 gst_alsa_sink_loop
    at gstalsasink.c line 378
  • #10 loop_group_schedule_function
    at gstoptimalscheduler.c line 1332
  • #11 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1154
  • #12 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 1258
  • #13 gst_scheduler_iterate
    at gstscheduler.c line 738
  • #14 gst_bin_iterate_func
    at gstbin.c line 1220
  • #15 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 509
  • #16 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_has_handler_pending
  • #19 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #21 gst_bin_iterate
    at gstbin.c line 1280
  • #22 gst_thread_main_loop
    at gstthread.c line 671
  • #23 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #24 start_thread
    from /lib/tls/libpthread.so.0
  • #25 clone
    from /lib/tls/libc.so.6

Thread 2 (Thread 103410608 (LWP 14998))

  • #0 memcpy
    from /lib/tls/libc.so.6
  • #1 img_copy_plane
    at imgconvert.c line 576
  • #2 img_copy
    at imgconvert.c line 623
  • #3 img_convert
    at imgconvert.c line 1975
  • #4 gst_ffmpeg_img_convert
  • #5 gst_ffmpegdec_chain
    at gstffmpegdec.c line 541
  • #6 gst_pad_call_chain_function
    at gstpad.c line 4430
  • #7 gst_pad_push
    at gstpad.c line 3241
  • #8 gst_avi_demux_stream_data
    at gstavidemux.c line 2037
  • #9 gst_avi_demux_loop
    at gstavidemux.c line 2149
  • #10 loop_group_schedule_function
    at gstoptimalscheduler.c line 1332
  • #11 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1154
  • #12 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 1258
  • #13 gst_scheduler_iterate
    at gstscheduler.c line 738
  • #14 gst_bin_iterate_func
    at gstbin.c line 1220
  • #15 gst_marshal_BOOLEAN__VOID
  • #16 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #21 gst_bin_iterate
    at gstbin.c line 1280
  • #22 gst_thread_main_loop
    at gstthread.c line 671
  • #23 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #24 start_thread
    from /lib/tls/libpthread.so.0
  • #25 clone
    from /lib/tls/libc.so.6
0x0304a95f      271       matrix[from_idx[0]][to_idx[0]] = out_r[0];
(gdb)
Comment 11 Ronald Bultje 2005-01-09 21:26:38 UTC
Dwarf expression. :D. Can you (in thread 5) print out_r, out_r[0], matrix,
from_idx, to_idx, from_idx[0], to_idx[0], matrix[from_idx[0]] and
matrix[from_idx[0]][to_idx[0]] so I know the values of all of those?
Comment 12 Michaël Arnauts 2005-01-10 13:19:13 UTC
err, who, me?
i only know how to program a simple c++ program, but i know nothing about c++
debugging... can i output the content of those variables from inside the
debugger, and how do i do that?
Comment 13 Michaël Arnauts 2005-04-09 12:38:08 UTC
okay, after 3 months, i've noticed that this is still unsolved...

Some more information: When i set the sound to 5.1, it doesn't happen, when set
it to stereo, it does happen...

file-information:
RIFF (little-endian) data, AVI, 640 x 360, 25.00 fps, video: DivX 3 Low-Motion,
audio: Dolby AC3 (3 channels, 48000 Hz)

it doesn't happen with all files

if there's something i can do, let me know, i want this fixed :)

new backtrace:

michael@mayco:~$ gdb totem
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1223796448 (LWP 2818)]
[New Thread -1226527824 (LWP 2821)]
[New Thread -1236304976 (LWP 2822)]
[New Thread -1236571216 (LWP 2823)]
[New Thread -1236837456 (LWP 2824)]
[New Thread -1237156944 (LWP 2831)]
[New Thread -1239508048 (LWP 2832)]
No accelerated IMDCT transform found
[New Thread -1247204432 (LWP 2833)]
[New Thread -1281684560 (LWP 2835)]

(totem:2818): GStreamer-CRITICAL **: gst_debug_log_valist: assertion `format !=
NULL' failed

(totem:2818): GStreamer-CRITICAL **: gst_debug_log_valist: assertion `format !=
NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223796448 (LWP 2818)]
0xb5ad2fbf in gst_audio_convert_fill_one_other (matrix=0x8375b58,
    from_caps=0x0, from_idx=0xbfffe328,
    from_pos_l=GST_AUDIO_CHANNEL_POSITION_REAR_LEFT,
    from_pos_r=GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT,
    from_pos_c=GST_AUDIO_CHANNEL_POSITION_REAR_CENTER, to_caps=0x0,
    to_idx=0xbfffe340, to_pos_l=GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
    to_pos_r=GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT,
    to_pos_c=GST_AUDIO_CHANNEL_POSITION_FRONT_MONO, ratio=0)
    at gstchannelmix.c:271
271       matrix[from_idx[0]][to_idx[0]] = out_r[0];
(gdb) thread apply all bt full

Thread 7 (Thread -1239508048 (LWP 2832))

  • #0 __kernel_vsyscall
  • #1 pthread_cond_wait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gst_queue_chain
    at gstqueue.c line 723
  • #3 gst_pad_call_chain_function
  • #4 gst_pad_push
    at gstpad.c line 3299
  • #5 gst_stream_selector_chain
    at gststreamselector.c line 285
  • #6 gst_pad_call_chain_function
    at gstpad.c line 4503
  • #7 gst_pad_push
    at gstpad.c line 3299
  • #8 gst_subparse_loop
    at gstsubparse.c line 733
  • #9 loop_group_schedule_function
  • #10 schedule_group
    at gstoptimalscheduler.c line 1222
  • #11 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1274
  • #12 schedule_chain
    at gstoptimalscheduler.c line 1331
  • #13 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 2789
  • #14 gst_scheduler_iterate
    at gstscheduler.c line 744
  • #15 gst_bin_iterate_func
    at gstbin.c line 1246
  • #16 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 509
  • #17 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gst_bin_iterate
    at gstbin.c line 1306
  • #23 gst_thread_main_loop
    at gstthread.c line 675
  • #24 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #25 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #26 clone
    from /lib/tls/i686/cmov/libc.so.6
Previous frame inner to this frame (corrupt stack?)
0xb5ad2fbf      271       matrix[from_idx[0]][to_idx[0]] = out_r[0];
(gdb)
Comment 14 Ronald Bultje 2005-04-09 15:17:39 UTC
Created attachment 39869 [details] [review]
possible fix

This patch (to gst-plugins/gst/audioconvert/gstchannelmix.c) may fix it (it's a
typo).
Comment 15 Ronald Bultje 2005-04-09 15:22:49 UTC
Created attachment 39870 [details] [review]
possible fix 2