[Gstreamer-bugs] [Bug 122416] Changed - Seg Fault when writing ID3 to MP3

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Tue Sep 16 02:43:17 PDT 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=122416

Changed by james.ogley at pinnacle.co.uk.

--- shadow/122416	Tue Sep 16 05:41:05 2003
+++ shadow/122416.tmp.30842	Tue Sep 16 05:43:17 2003
@@ -271,6 +271,278 @@
 
 
 ------- Additional Comments From thomas at apestaart.org  2003-09-16 05:41 -------
 Hi.  We're suspecting this bug will also be in vorbisenc.  Can you
 rerip the track, this time ripping to ogg, and file a new backtrace if
 it breaks ? We'll work on this bug and put up a patch.
+
+------- Additional Comments From james.ogley at pinnacle.co.uk  2003-09-16 05:43 -------
+Seg fault still happens with this patch, here's the trace:
+
+Backtrace was generated from '/opt/gnome2/bin/sound-juicer'
+
+[New Thread 16384 (LWP 2437)]
+0x40926cf7 in waitpid () from /lib/libpthread.so.0
+#0  0x40926cf7 in waitpid () from /lib/libpthread.so.0
+#1  0x406c31ce in libgnomeui_module_info_get ()
+   from /opt/gnome2/lib/libgnomeui-2.so.0
+#2  0x40925895 in __pthread_sighandler () from /lib/libpthread.so.0
+#3  <signal handler called>
+#4  0x41349a87 in id3tag_set_comment () from /usr/lib/libmp3lame.so.0
+#5  0x412ca011 in gst_lame_add_metadata (lame=0x828edf0, caps=0xfffffe00)
+    at gstlame.c:462
+#6  0x412cac4d in gst_lame_setup (lame=0x828edf0) at gstlame.c:832
+#7  0x412c98fd in gst_lame_sinkconnect (pad=0x80ebbcc, caps=0x80ffd1c)
+    at gstlame.c:352
+#8  0x4014a743 in gst_pad_try_set_caps_func (pad=0x81144d8,
+caps=0x80ffd1c, 
+    notify=1) at gstpad.c:1381
+#9  0x4014b945 in gst_pad_perform_negotiate (srcpad=0x80ffd1c, 
+    sinkpad=0x81144d8) at gstpad.c:1692
+#10 0x401420af in gst_element_negotiate_pads (element=0x8117238)
+    at gstelement.c:2224
+#11 0x401427d8 in gst_element_change_state (element=0x8117238)
+    at gstelement.c:2311
+#12 0x4002e548 in cdparanoia_change_state (element=0x8117238)
+    at gstcdparanoia.c:760
+#13 0x40141b46 in gst_element_set_state (element=0x8117238, 
+    state=GST_STATE_PAUSED) at gstelement.c:2136
+#14 0x40137150 in gst_bin_change_state (element=0x808b3a0) at gstbin.c:657
+#15 0x4014f286 in gst_pipeline_change_state (element=0x808b3a0)
+    at gstpipeline.c:167
+#16 0x40141b46 in gst_element_set_state (element=0x808b3a0, 
+    state=GST_STATE_PAUSED) at gstelement.c:2136
+#17 0x08051099 in sj_extractor_extract_track (extractor=0x805ca88, 
+    track=0x81efb48, path=0x828e280 "/dev/hdc", error=0xbfffe5e4)
+    at sj-extractor.c:441
+#18 0x080522f4 in pop_and_rip () at sj-extracting.c:193
+#19 0x0805259f in on_completion_cb (extractor=0x805ca88, data=0x0)
+    at sj-extracting.c:268
+#20 0x401a47b2 in g_cclosure_marshal_VOID__VOID ()
+   from /usr/lib/libgobject-2.0.so.0
+#21 0x401939c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
+#22 0x401a3db4 in signal_emit_unlocked_R () from
+/usr/lib/libgobject-2.0.so.0
+#23 0x401a34fe in g_signal_emit_valist () from
+/usr/lib/libgobject-2.0.so.0
+#24 0x401a35d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
+#25 0x0805077a in eos_cb (gstelement=0x828edf0, extractor=0x805ca88)
+    at sj-extractor.c:214
+#26 0x401a47b2 in g_cclosure_marshal_VOID__VOID ()
+   from /usr/lib/libgobject-2.0.so.0
+#27 0x401939c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
+#28 0x401a3db4 in signal_emit_unlocked_R () from
+/usr/lib/libgobject-2.0.so.0
+#29 0x401a34fe in g_signal_emit_valist () from
+/usr/lib/libgobject-2.0.so.0
+#30 0x401a35d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
+#31 0x40143483 in gst_element_set_eos (element=0x828edf0) at
+gstelement.c:2697
+#32 0x412ca8af in gst_lame_chain (pad=0x1, buf=0x8284398) at gstlame.c:778
+#33 0x4014d615 in gst_pad_push (pad=0x8114450, buf=0x8284398) at
+gstpad.c:2271
+#34 0x4002522b in get_group_schedule_function (argc=0, argv=0x82735d8)
+    at gstoptimalscheduler.c:896
+#35 0x40024d43 in schedule_group (group=0x0) at gstoptimalscheduler.c:779
+#36 0x40024ddd in gst_opt_scheduler_schedule_run_queue (osched=0x808c148)
+    at gstoptimalscheduler.c:810
+#37 0x40025044 in schedule_chain (chain=0x82735b8) at
+gstoptimalscheduler.c:851
+#38 0x40027169 in gst_opt_scheduler_iterate (sched=0x808c148)
+    at gstoptimalscheduler.c:1837
+#39 0x40158026 in gst_scheduler_iterate (sched=0x82735b8) at
+gstscheduler.c:732
+#40 0x40137d2c in gst_bin_iterate_func (bin=0x805d668) at gstbin.c:902
+#41 0x40137eea in gst_bin_iterate (bin=0x808b3a0) at gstbin.c:947
+#42 0x40309551 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
+#43 0x40306a26 in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
+#44 0x40307a09 in g_main_context_dispatch () from
+/usr/lib/libglib-2.0.so.0
+#45 0x40307e19 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
+#46 0x403084b1 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
+#47 0x4041fd17 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
+#48 0x0804f599 in main (argc=1, argv=0xbffff144) at sj-main.c:791
+#49 0x4097f8ae in __libc_start_main () from /lib/libc.so.6
+
+Thread 1 (Thread 16384 (LWP 2437)):
+#0  0x40926cf7 in waitpid () from /lib/libpthread.so.0
+No symbol table info available.
+#1  0x406c31ce in libgnomeui_module_info_get ()
+   from /opt/gnome2/lib/libgnomeui-2.so.0
+No symbol table info available.
+#2  0x40925895 in __pthread_sighandler () from /lib/libpthread.so.0
+No symbol table info available.
+#3  <signal handler called>
+No symbol table info available.
+#4  0x41349a87 in id3tag_set_comment () from /usr/lib/libmp3lame.so.0
+No symbol table info available.
+#5  0x412ca011 in gst_lame_add_metadata (lame=0x828edf0, caps=0xfffffe00)
+    at gstlame.c:462
+	name = (const gchar *) 0x80ffd38 "\b4$\b2"
+	value = (const gchar *) 0x0
+	props = (GList *) 0x8117670
+	prop = (GstPropsEntry *) 0x0
+#6  0x412cac4d in gst_lame_setup (lame=0x828edf0) at gstlame.c:832
+No locals.
+#7  0x412c98fd in gst_lame_sinkconnect (pad=0x80ebbcc, caps=0x80ffd1c)
+    at gstlame.c:352
+	lame = (GstLame *) 0x828edf0
+#8  0x4014a743 in gst_pad_try_set_caps_func (pad=0x81144d8,
+caps=0x80ffd1c, 
+    notify=1) at gstpad.c:1381
+	allowed = (GstCaps *) 0x80ffd70
+	template = (GstPadTemplate *) 0xfffffe00
+	parent = (GstElement *) 0x80ffd70
+#9  0x4014b945 in gst_pad_perform_negotiate (srcpad=0x80ffd1c, 
+    sinkpad=0x81144d8) at gstpad.c:1692
+	link_res = -512
+	intersection = (GstCaps *) 0x80ffd1c
+	filtered_intersection = (GstCaps *) 0x80ffd1c
+	realsrc = (GstRealPad *) 0x8114450
+	realsink = (GstRealPad *) 0x81144d8
+	srccaps = (GstCaps *) 0x80ffe50
+	sinkcaps = (GstCaps *) 0x80ffda8
+	filter = (GstCaps *) 0x0
+	res = 1
+	parent = (GstElement *) 0x80ffd1c
+#10 0x401420af in gst_element_negotiate_pads (element=0x8117238)
+    at gstelement.c:2224
+	pads = (GList *) 0x0
+#11 0x401427d8 in gst_element_change_state (element=0x8117238)
+    at gstelement.c:2311
+	old_state = GST_STATE_READY
+	parent = (GstObject *) 0x4018a798
+	old_pending = 4
+	old_transition = 516
+#12 0x4002e548 in cdparanoia_change_state (element=0x8117238)
+    at gstcdparanoia.c:760
+	cdparanoia = (CDParanoia *) 0x8117238
+#13 0x40141b46 in gst_element_set_state (element=0x8117238, 
+    state=GST_STATE_PAUSED) at gstelement.c:2136
+	oclass = (GstElementClass *) 0xfffffe00
+	curpending = GST_STATE_PAUSED
+	return_val = GST_STATE_SUCCESS
+#14 0x40137150 in gst_bin_change_state (element=0x808b3a0) at gstbin.c:657
+	bin = (GstBin *) 0x808b3a0
+	children = (GList *) 0x8281a3c
+	child = (GstElement *) 0x8117238
+	ret = 4294966784
+	old_state = GST_STATE_READY
+	pending = GST_STATE_PAUSED
+	have_async = 0
+#15 0x4014f286 in gst_pipeline_change_state (element=0x808b3a0)
+    at gstpipeline.c:167
+No locals.
+#16 0x40141b46 in gst_element_set_state (element=0x808b3a0, 
+    state=GST_STATE_PAUSED) at gstelement.c:2136
+	oclass = (GstElementClass *) 0xfffffe00
+	curpending = GST_STATE_PAUSED
+	return_val = GST_STATE_SUCCESS
+#17 0x08051099 in sj_extractor_extract_track (extractor=0x805ca88, 
+    track=0x81efb48, path=0x828e280 "/dev/hdc", error=0xbfffe5e4)
+    at sj-extractor.c:441
+	event = (GstEvent *) 0xfffffe00
+	caps = (GstCaps *) 0xfffffe00
+	tracknumber = 0x828e280 "/dev/hdc"
+	format = GST_FORMAT_TIME
+	nanos = 587896463643156624
+	priv = (SjExtractorPrivate *) 0x8112a50
+#18 0x080522f4 in pop_and_rip () at sj-extracting.c:193
+	track = (TrackDetails *) 0x81efb48
+	file_path = 0x8284330 "/home/ogley/mp3/David_Bowie/Heathen/02 -
+Cactus.mp3"
+	directory = 0x828a090 ""
+	error = (GError *) 0x0
+	left = -512
+#19 0x0805259f in on_completion_cb (extractor=0x805ca88, data=0x0)
+    at sj-extracting.c:268
+No locals.
+#20 0x401a47b2 in g_cclosure_marshal_VOID__VOID ()
+   from /usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#21 0x401939c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#22 0x401a3db4 in signal_emit_unlocked_R () from
+/usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#23 0x401a34fe in g_signal_emit_valist () from
+/usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#24 0x401a35d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#25 0x0805077a in eos_cb (gstelement=0x828edf0, extractor=0x805ca88)
+    at sj-extractor.c:214
+No locals.
+#26 0x401a47b2 in g_cclosure_marshal_VOID__VOID ()
+   from /usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#27 0x401939c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#28 0x401a3db4 in signal_emit_unlocked_R () from
+/usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#29 0x401a34fe in g_signal_emit_valist () from
+/usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#30 0x401a35d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
+No symbol table info available.
+#31 0x40143483 in gst_element_set_eos (element=0x828edf0) at
+gstelement.c:2697
+	parent = (GstElement *) 0x808b3a0
+	parent_state = GST_STATE_PLAYING
+#32 0x412ca8af in gst_lame_chain (pad=0x1, buf=0x8284398) at gstlame.c:778
+	lame = (GstLame *) 0x828edf0
+	outbuf = (GstBuffer *) 0x828edf0
+	mp3_data = (
+    gchar *) 0x8284450 "ìÙ©@ìÙ©@\2271ú\021ã=¯
+lDº'\023 at w$Î?§&³AH,=<%)÷5í
+02\210\036æ,m\036 4ß%ú6\232&\207;¯,\b7\035)i/¶
+\"-~\034*)(\026a$\e\023~\037\202\022+'\222\e¢&/\032Ã%º\023W#û\020\201\035\016\021\205\031\026\rä\025ò\a£\030_\rÞ\032ó\017Ï\026\"\b\002\027ß\b´\e¦\017Þ\027z\v\023\026µ\nu\032Ô\rÍ\032í\rf!³\026ø
+[\025`\034L\020k\031~\rN\022U\t~\eÉ\0210\037·\023X#a\035Ú!¶\035Å\030"
+	mp3_buffer_size = 1
+	mp3_size = 1
+	eos = 1
+#33 0x4014d615 in gst_pad_push (pad=0x8114450, buf=0x8284398) at
+gstpad.c:2271
+	peer = (GstRealPad *) 0x81144d8
+#34 0x4002522b in get_group_schedule_function (argc=0, argv=0x82735d8)
+    at gstoptimalscheduler.c:896
+	pads = (const GList *) 0x0
+#35 0x40024d43 in schedule_group (group=0x0) at gstoptimalscheduler.c:779
+No locals.
+#36 0x40024ddd in gst_opt_scheduler_schedule_run_queue (osched=0x808c148)
+    at gstoptimalscheduler.c:810
+No locals.
+#37 0x40025044 in schedule_chain (chain=0x82735b8) at
+gstoptimalscheduler.c:851
+	groups = (GSList *) 0x40189250
+	osched = (GstOptScheduler *) 0x808c148
+#38 0x40027169 in gst_opt_scheduler_iterate (sched=0x808c148)
+    at gstoptimalscheduler.c:1837
+	state = 3221217132
+	iterations = 1
+#39 0x40158026 in gst_scheduler_iterate (sched=0x82735b8) at
+gstscheduler.c:732
+	sclass = (GstSchedulerClass *) 0x40189250
+#40 0x40137d2c in gst_bin_iterate_func (bin=0x805d668) at gstbin.c:902
+	state = GST_SCHEDULER_STATE_NONE
+#41 0x40137eea in gst_bin_iterate (bin=0x808b3a0) at gstbin.c:947
+	oclass = (GstBinClass *) 0x808b1f0
+	running = 1
+#42 0x40309551 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#43 0x40306a26 in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#44 0x40307a09 in g_main_context_dispatch () from
+/usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#45 0x40307e19 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#46 0x403084b1 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
+No symbol table info available.
+#47 0x4041fd17 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
+No symbol table info available.
+#48 0x0804f599 in main (argc=1, argv=0xbffff144) at sj-main.c:791
+	error = (GError *) 0x0
+#49 0x4097f8ae in __libc_start_main () from /lib/libc.so.6
+No symbol table info available.
+#0  0x40926cf7 in waitpid () from /lib/libpthread.so.0




More information about the Gstreamer-bugs mailing list