GNOME Bugzilla – Bug 359432
typefinding crash
Last modified: 2006-10-10 08:14:49 UTC
Hello! Thank you for taking the time to read this report. I appreciate the work that has gone in to GStreamer! My problem: Segmentation fault, running Rhythmbox My kernel: 2.6.15-27-686 #1 SMP PREEMPT My output when running from the console: ---- begin cut (rhythmbox:21976): GStreamer-WARNING **: Element fakesink is not in bin decodebi n (rhythmbox:21976): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_ IS_ELEMENT (element)' failed (rhythmbox:21976): GStreamer-CRITICAL **: gst_element_get_state: assertion `GST_ IS_ELEMENT (element)' failed (rhythmbox:21976): GStreamer-CRITICAL **: gst_object_unref: assertion `GST_IS_OB JECT (object)' failed ---- end cut My output when I run with gdb: ---- begin cut [New Thread -1223287888 (LWP 21982)] [New Thread -1231680592 (LWP 21983)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread -1232450640 (LWP 21984)] [Thread -1232450640 (LWP 21984) exited] [New Thread -1232450640 (LWP 21985)] [Thread -1232450640 (LWP 21985) exited] (rhythmbox:21976): Rhythmbox-WARNING **: Unable to start mDNS browsing [New Thread -1232450640 (LWP 21987)] [New Thread -1244660816 (LWP 21988)] [New Thread -1253053520 (LWP 21989)] [New Thread -1261446224 (LWP 21990)] [New Thread -1269838928 (LWP 21991)] [New Thread -1278231632 (LWP 21992)] [New Thread -1286624336 (LWP 21993)] [New Thread -1295017040 (LWP 21994)] [New Thread -1303409744 (LWP 21995)] [New Thread -1311802448 (LWP 21996)] [New Thread -1320195152 (LWP 21997)] [Thread -1232450640 (LWP 21987) exited] [Thread -1261446224 (LWP 21990) exited] [Thread -1269838928 (LWP 21991) exited] [Thread -1253053520 (LWP 21989) exited] [Thread -1244660816 (LWP 21988) exited] [Thread -1278231632 (LWP 21992) exited] [Thread -1286624336 (LWP 21993) exited] [Thread -1295017040 (LWP 21994) exited] [Thread -1303409744 (LWP 21995) exited] [Thread -1311802448 (LWP 21996) exited] [Thread -1320195152 (LWP 21997) exited] [New Thread -1286624336 (LWP 21999)] [New Thread -1320195152 (LWP 22000)] [New Thread -1278231632 (LWP 22001)] [Thread -1286624336 (LWP 21999) exited] [Thread -1320195152 (LWP 22000) exited] [Thread -1278231632 (LWP 22001) exited] (no debugging symbols found) [New Thread -1278231632 (LWP 22002)] [Thread -1278231632 (LWP 22002) exited] [New Thread -1278231632 (LWP 22006)] [Thread -1278231632 (LWP 22006) exited] [New Thread -1278231632 (LWP 22076)] [Thread -1278231632 (LWP 22076) exited] [New Thread -1278231632 (LWP 22077)] [Thread -1278231632 (LWP 22077) exited] [New Thread -1278231632 (LWP 22078)] (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread -1320195152 (LWP 22081)] [New Thread -1286624336 (LWP 22082)] [Thread -1286624336 (LWP 22082) exited] [Thread -1320195152 (LWP 22081) exited] [New Thread -1320195152 (LWP 22083)] [New Thread -1286624336 (LWP 22084)] [Thread -1286624336 (LWP 22084) exited] [Thread -1320195152 (LWP 22083) exited] [New Thread -1320195152 (LWP 22085)] [New Thread -1286624336 (LWP 22086)] [Thread -1320195152 (LWP 22085) exited] [Thread -1286624336 (LWP 22086) exited] [New Thread -1286624336 (LWP 22089)] [New Thread -1320195152 (LWP 22090)] [Thread -1278231632 (LWP 22078) exited] [Thread -1320195152 (LWP 22090) exited] [Thread -1286624336 (LWP 22089) exited] [New Thread -1320195152 (LWP 22091)] [New Thread -1286624336 (LWP 22092)] [Thread -1320195152 (LWP 22091) exited] [Thread -1286624336 (LWP 22092) exited] [New Thread -1286624336 (LWP 22093)] [Thread -1286624336 (LWP 22093) exited] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread -1286624336 (LWP 22094)] [New Thread -1320195152 (LWP 22095)] [Thread -1320195152 (LWP 22095) exited] [Thread -1286624336 (LWP 22094) exited] [New Thread -1286624336 (LWP 22098)] [New Thread -1320195152 (LWP 22099)] [New Thread -1278231632 (LWP 22100)] [Thread -1278231632 (LWP 22100) exited] [New Thread -1269838928 (LWP 22102)] (no debugging symbols found) (no debugging symbols found) [Thread -1269838928 (LWP 22102) exited] [New Thread -1278231632 (LWP 22107)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread -1269838928 (LWP 22112)] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] (rhythmbox:21976): GStreamer-WARNING **: Element fakesink is not in bin decodebi n (rhythmbox:21976): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_ IS_ELEMENT (element)' failed (rhythmbox:21976): GStreamer-CRITICAL **: gst_element_get_state: assertion `GST_ IS_ELEMENT (element)' failed (rhythmbox:21976): GStreamer-CRITICAL **: gst_object_unref: assertion `GST_IS_OB JECT (object)' failed Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. ---Type <return> to continue, or q <return> to quit---
+ Trace 74372
Thread NaN (LWP 21982)
I'm not sure what else to examine, threads or whatnot... please advise!
On the IRC channel, it was requested that I fetch the symbols and other debug packages and repost my GDB messages and stack trace. Here is the full output of the program run via GDB, including the backtrace: GNU gdb 6.4-debian Copyright 2005 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 "i486-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /usr/bin/rhythmbox (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1208645408 (LWP 23497)] [New Thread -1223783504 (LWP 23501)] [New Thread -1232176208 (LWP 23502)] [New Thread -1232946256 (LWP 23503)] [Thread -1232946256 (LWP 23503) exited] [New Thread -1232946256 (LWP 23504)] [Thread -1232946256 (LWP 23504) exited] (rhythmbox:23497): Rhythmbox-WARNING **: Unable to start mDNS browsing [New Thread -1232946256 (LWP 23506)] [Thread -1232946256 (LWP 23506) exited] [New Thread -1232946256 (LWP 23508)] [Thread -1232946256 (LWP 23508) exited] [New Thread -1243354192 (LWP 23509)] [Thread -1243354192 (LWP 23509) exited] [New Thread -1243354192 (LWP 23510)] [Thread -1243354192 (LWP 23510) exited] [New Thread -1243354192 (LWP 23514)] [Thread -1243354192 (LWP 23514) exited] [New Thread -1243354192 (LWP 23518)] [Thread -1243354192 (LWP 23518) exited] [New Thread -1243354192 (LWP 23519)] [New Thread -1232946256 (LWP 23520)] [Thread -1232946256 (LWP 23520) exited] [Thread -1243354192 (LWP 23519) exited] [New Thread -1243354192 (LWP 23523)] [New Thread -1232946256 (LWP 23525)] [New Thread -1252389968 (LWP 23526)] [New Thread -1260782672 (LWP 23527)] [Thread -1252389968 (LWP 23526) exited] [Thread -1260782672 (LWP 23527) exited] [New Thread -1260782672 (LWP 23528)] [New Thread -1252389968 (LWP 23529)] [New Thread -1274442832 (LWP 23535)] [Thread -1274442832 (LWP 23535) exited] [Thread -1260782672 (LWP 23528) exited] [Thread -1252389968 (LWP 23529) exited] [New Thread -1260782672 (LWP 23540)] [New Thread -1252389968 (LWP 23541)] [Thread -1252389968 (LWP 23541) exited] [Thread -1232946256 (LWP 23525) exited] [Thread -1260782672 (LWP 23540) exited] [Thread -1243354192 (LWP 23523) exited] [New Thread -1243354192 (LWP 23544)] [New Thread -1260782672 (LWP 23545)] [New Thread -1232946256 (LWP 23546)] [Thread -1260782672 (LWP 23545) exited] [Thread -1232946256 (LWP 23546) exited] [Thread -1243354192 (LWP 23544) exited] [New Thread -1243354192 (LWP 23555)] [New Thread -1232946256 (LWP 23556)] [New Thread -1260782672 (LWP 23557)] [Thread -1232946256 (LWP 23556) exited] [Thread -1260782672 (LWP 23557) exited] [Thread -1243354192 (LWP 23555) exited] [New Thread -1243354192 (LWP 23562)] [New Thread -1260782672 (LWP 23565)] [New Thread -1232946256 (LWP 23566)] [Thread -1243354192 (LWP 23562) exited] [Thread -1260782672 (LWP 23565) exited] [Thread -1232946256 (LWP 23566) exited] [New Thread -1232946256 (LWP 23569)] [New Thread -1260782672 (LWP 23570)] [New Thread -1243354192 (LWP 23571)] [Thread -1260782672 (LWP 23570) exited] [Thread -1243354192 (LWP 23571) exited] [Thread -1232946256 (LWP 23569) exited] [New Thread -1232946256 (LWP 23590)] [New Thread -1260782672 (LWP 23591)] [New Thread -1243354192 (LWP 23592)] [Thread -1243354192 (LWP 23592) exited] [New Thread -1243354192 (LWP 23605)] [Thread -1260782672 (LWP 23591) exited] [New Thread -1252389968 (LWP 23615)] [New Thread -1260782672 (LWP 23620)] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] (rhythmbox:23497): GStreamer-CRITICAL **: gst_element_get_state: assertion `GST_IS_ELEMENT (element)' failed (rhythmbox:23497): GStreamer-CRITICAL **: gst_object_unref: assertion `GST_IS_OBJECT (object)' failed Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] Total Unfree 0 bytes cnt 0 [(nil),0] [Thread -1260782672 (LWP 23620) exited] [Thread -1243354192 (LWP 23605) exited] [New Thread -1243354192 (LWP 23633)] [Thread -1252389968 (LWP 23615) exited] [Thread -1232946256 (LWP 23590) exited] [Thread -1243354192 (LWP 23633) exited] [New Thread -1232946256 (LWP 23643)] [New Thread -1243354192 (LWP 23644)] [New Thread -1252389968 (LWP 23647)] [Thread -1243354192 (LWP 23644) exited] [New Thread -1243354192 (LWP 23650)] [Thread -1243354192 (LWP 23650) exited] [New Thread -1260782672 (LWP 23667)] Program received signal SIGSEGV, Segmentation fault.
+ Trace 74376
Thread NaN (LWP 23501)
Created attachment 73978 [details] Crash log with GST_DEBUG=*:3,GST_TYPEFIND:5 for Rhythmbox and GStreamer Requested by triage in IRC
Does this happen with a particular file or stream? Can you make it available somewhere or attach the first 900kB to the bug report? (you can get the beginning only with something like 'tail --bytes=900k file > beginning.dat')
Unfortunately, this happens when adding my whole library over Samba; I can't find a way to figure out what file it happens on -- it appears that Samba makes these files available by sockets, and so things like lsof and /proc don't list actual file names. I suppose I could add my library in chunks until I figured out exactly what file caused this, but that would require me to change the directory hierarchy in a way that would affect other users of the share. Is there anything else I can do to figure out what file? Perhaps in gdb? I would have expected the debug logs attached to show the file name as well, but it doesn't seem to be there.
After copying my entire library off the network, and looking at the list of open files, while running the debugger, I was able to track this down to a file 8k in size. It sounds to me, via IRC discussions, that files smaller than 12k present a problem for type finding. Unfortunately, due to a file server problem, I didn't have a backup of the file. I'm marking this as INCOMPLETE. If I find a backup copy, I'll upload it and reopen.
Thanks for trying to track this down further. Typefinding should never ever crash, no matter how small the file, so if you happen to find it again or come across a similar problem, please do let us know.