[gst-devel] Re: mandrake packages of gst - backtrace of crash (fwd)

Thomas Vander Stichele thomas at urgent.rug.ac.be
Mon Sep 23 01:30:04 CEST 2002


Hey guys,

here's a backtrace from the mdk packager.

Looks like the g_mem_chunk_alloc gets a bad pointer there.  Anyone have an 
idea what is goin wrong there ?

Thomas

-- 

The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*-                      -*->
You know the shape my breath will take before I let it out
<-*- thomas at apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/

---------- Forwarded message ----------
Date: Mon, 23 Sep 2002 09:36:47 +0200
From: Götz Waschk <waschk at informatik.uni-rostock.de>
To: Thomas Vander Stichele <thomas at apestaart.org>
Subject: Re: mandrake packages of gst - backtrace of crash

Am Samstag, 21. September 2002, 18:26:29 Uhr MET, schrieb Thomas Vander Stichele:
> Second, try running this simple pipeline from gdb.  See what causes the 
> segfault.  If you provide me with a bt I can tell you more, probably.

Hi,

I've rebuild the gstreamer package with binary stripping disabled,
here's the better backtrace:
[goetz at abgrund goetz]$ gdb gst-launch
GNU gdb 5.2.1-2mdk (Mandrake Linux)
Copyright 2002 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 "i586-mandrake-linux-gnu"...
(gdb) run fakesrc ! fakesink
Starting program: /usr/bin/gst-launch fakesrc ! fakesink
#INFO (13230: 0) Initializing GStreamer Core Library version 0.4.0.2 
INFO (13230: 0) CPU features: (0c040841) MMX 
registry: loaded user_registry in 0.000536 seconds
          (/home/goetz/.gstreamer/registry.xml)
registry: loaded global_registry in 0.055831 seconds
          (/usr/etc/gstreamer/registry.xml)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
#0  0x00000000 in ?? ()
#1  0x4004cf84 in gst_mem_chunk_alloc0 (mem_chunk=0x1) at gstmemchunk.c:143
#2  0x4003ce52 in gst_buffer_new () at gstbuffer.c:170
#3  0x40380a2b in gst_fakesrc_create_buffer (src=0x8073cc0) at gstfakesrc.c:673
#4  0x40380c52 in gst_fakesrc_get (pad=0x8079098) at gstfakesrc.c:756
#5  0x4001b1d4 in gst_basic_scheduler_src_wrapper (argc=64, argv=0x8073cc0)
    at gstbasicscheduler.c:386
#6  0x4001d080 in cothread_stub () at cothreads.c:433
#7  0x4001c7fb in cothread_switch (thread=0xbfe00000) at cothreads.c:639
#8  0x4001b8a8 in gst_basic_scheduler_gethandler_proxy (pad=0x8079098)
    at gstbasicscheduler.c:502
#9  0x400544a5 in gst_pad_pull (pad=0x8079114) at gstpad.c:2129
#10 0x4001acef in gst_basic_scheduler_chain_wrapper (argc=64, argv=0x807a3a8)
    at gstbasicscheduler.c:329
#11 0x4001d080 in cothread_stub () at cothreads.c:433
#12 0x4001c7fb in cothread_switch (thread=0xbfe20000) at cothreads.c:639
#13 0x40017a6e in gst_basic_scheduler_iterate (sched=0x8073668)
    at gstbasicscheduler.c:1362
#14 0x400640b1 in gst_scheduler_iterate (sched=0x8073668) at gstscheduler.c:41
#15 0x4003c3b3 in gst_bin_iterate_func (bin=0x80730b0) at gstbin.c:776
#16 0x4003bccd in gst_bin_iterate (bin=0x8073668) at gstbin.c:819
#17 0x080493a5 in idle_func (data=0x40) at gst-launch.c:23
#18 0x401ff863 in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0
#19 0x401ffb35 in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0
#20 0x4020039d in g_idle_remove_by_data () from /usr/lib/libglib-2.0.so.0
#21 0x401fc27f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#22 0x40035c0d in gst_main () at gst.c:589
#23 0x08049260 in main (argc=4, argv=0xbffff2d4) at gst-launch.c:176

-- 
   Götz Waschk <> master of computer science  <> University of Rostock    
 http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--





More information about the gstreamer-devel mailing list