GNOME Bugzilla – Bug 163443
crash when searching in a file (cvs)
Last modified: 2005-04-09 15:29:20 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...
We''ll wait then ;)
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
+ Trace 54295
Thread 1 (Thread -1208100640 (LWP 6838))
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)
Oh... Right. :). The SIG33 signals can be masked, search in totem bugzilla, I previously remarked how to do it elsewhere (also, Bastien knows).
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?
handle SIG33 nostop handle SIG33 pass in your ~/.gdbinit (Haven't you done that yet Ronald? :)
My desktop is still FC2 ;).
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
+ Trace 54309
Thread 6 (Thread 100559792 (LWP 14230))
Thread 5 (Thread 21343152 (LWP 14229))
Thread 4 (Thread 35474352 (LWP 14228))
Thread 3 (Thread 42154928 (LWP 14227))
Thread 2 (Thread 39685040 (LWP 14224))
Thread 1 (Thread -1208100640 (LWP 14219))
Please install debugging symbols for gstreamer-plugins, and then show me where it crashes in that function. Thanks.
(gdb) thread apply all bt full
+ Trace 54317
Thread 6 (Thread 125942704 (LWP 15005))
Thread 5 (Thread 131017648 (LWP 15004))
Thread 2 (Thread 103410608 (LWP 14998))
0x0304a95f 271 matrix[from_idx[0]][to_idx[0]] = out_r[0]; (gdb)
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?
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?
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
+ Trace 57928
Thread 7 (Thread -1239508048 (LWP 2832))
Previous frame inner to this frame (corrupt stack?) 0xb5ad2fbf 271 matrix[from_idx[0]][to_idx[0]] = out_r[0]; (gdb)
Created attachment 39869 [details] [review] possible fix This patch (to gst-plugins/gst/audioconvert/gstchannelmix.c) may fix it (it's a typo).
Created attachment 39870 [details] [review] possible fix 2