Bug 179654
Summary: | totem crashes at startup | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Émeric Maschino <emeric.maschino> | ||||
Component: | gstreamer | Assignee: | Ray Strode [halfline] <rstrode> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | bnocera, johnp, tim | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ia64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-07-22 20:41:25 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 150223, 163350, 197822 | ||||||
Attachments: |
|
Description
Émeric Maschino
2006-02-01 21:22:18 UTC
There was a ia64-specific crasher bug in glib in rawhide for a short while. Its conceivable that you are seeing the same. Can you still reproduce with current rawhide ? Sure, I'll do. However, I'll wait until "the massive rebuild" is complete before installing the updated packages. totem still crashes with today's Rawhide but the stacktrace is different. From gdb: (gdb) run --g-fatal-warnings Starting program: /usr/bin/totem --g-fatal-warnings Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0xa000000000000000 [Thread debugging using libthread_db enabled] [New Thread 2305843009258893328 (LWP 3668)] [New Thread 2305843009375842928 (LWP 3671)] [New Thread 2305843009387098736 (LWP 3672)] [New Thread 2305843009397584496 (LWP 3673)] Detaching after fork from child process 3674. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2305843009258893328 (LWP 3668)] 0x200000000184b8f1 in IA__g_type_check_instance_is_a (type_instance=Variable "type_instance" is not available. ) at gtype.c:2692 2692 if (/* support_inheritance && */ (gdb) thread apply all bt Thread 4 (Thread 2305843009397584496 (LWP 3673)): #0 <signal handler called> #1 0x0000000000006c62 in ?? () #2 0x6e6520636e797360 in ?? () #3 0x0000000000000000 in ?? () Thread 3 (Thread 2305843009387098736 (LWP 3672)): #0 <signal handler called> Cannot access memory at address 0x128 Thread 2 (Thread 2305843009375842928 (LWP 3671)): #0 <signal handler called> #1 0x0009804c8a746330 in ?? () Thread 1 (Thread 2305843009258893328 (LWP 3668)): #0 0x200000000184b8f1 in IA__g_type_check_instance_is_a (type_instance=Variable "type_instance" is not available. ) at gtype.c:2692 #1 0x200000000053b2f0 in compare_interface () from /usr/lib/libgstreamer-0.10.so.0 #2 0x200000000057f1c0 in find_custom_fold_func () from /usr/lib/libgstreamer-0.10.so.0 #3 0x200000000057fb80 in gst_iterator_fold () from /usr/lib/libgstreamer-0.10.so.0 ---Type <return> to continue, or q <return> to quit--- #4 0x200000000057fc50 in gst_iterator_find_custom () from /usr/lib/libgstreamer-0.10.so.0 #5 0x200000000053d600 in gst_bin_get_by_interface () from /usr/lib/libgstreamer-0.10.so.0 #6 0x400000000006d040 in bvw_update_interface_implementations ( bvw=0x6000000000444b70) at bacon-video-widget-gst-0.10.c:3755 #7 0x4000000000077310 in bacon_video_widget_new (width=-1, height=-1, type=BVW_USE_TYPE_VIDEO, err=0x60000fffffd77528) at bacon-video-widget-gst-0.10.c:4076 #8 0x400000000002da30 in video_widget_create (totem=0x60000000001f7600) at totem.c:3256 #9 0x4000000000037e90 in main (argc=2, argv=0x60000fffffd777e8) at totem.c:3524 (gdb) This is with glib-1.2.10-18.2.1 and glib2-2.9.5-1.1 Moving to FC6Target, since we don't ship ia64 for FC5, and this seems to be ia64-specific. Created attachment 127200 [details]
totem 1.4.0-2 crash
Brand new totem 1.4.0-2 still crashes at startup. It seems there's something
wrong with glib2 (this is with glib2-2.10.1-1). See attachment 127200 [details] for the
callstack.
Any changes with glib2-2.10.2-1.fc5.1 and other updates since then? (In reply to comment #7) > Any changes with glib2-2.10.2-1.fc5.1 and other updates since then? Unfortunately, still the same issue with glib-1.2.10-18.2.2 and glib2-2.11.1-1. This is with totem-1.4.0-2. The callstack looks the same as attachment 127200 [details]: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2305843009260105120 (LWP 4127)] 0x2000000001746651 in IA__g_type_check_instance_is_a (type_instance=Variable "type_instance" is not available. ) at gtype.c:2717 2717 if (/* support_inheritance && */ Bastien, Are you aware of any totem issues on IA64? Totem works fine for me on x86_64 and i386. No, no known issues, we don't get that many people (euphemism) using Totem on ia64 machines. This looks GStreamer- or glib-related. It crashes doing: /* We try to get an element supporting XOverlay interface */ if (GST_IS_BIN (video_sink)) { GST_DEBUG ("Retrieving xoverlay from bin ..."); element = gst_bin_get_by_interface (GST_BIN (video_sink), GST_TYPE_X_OVERLAY); } else { element = video_sink; } Which is pretty bizarre... Add to FC6Destop tracker It appears gst_bin_get_by_interface() was using GINT_TO_POINTER and GPOINTER_TO_INT to pass the interface GType around internally. If I'm not mistaken that might result in the top 4-bytes of the GType being chopped off when doing GPOINTER_TO_INT, since it probably does (gint) (glong) pointer or so on ia64, no? Any chance this might be the cause of this crash? Looks likely. Here is the change: http://webcvs.freedesktop.org/gstreamer/gstreamer/gst/gstbin.c?r1=1.335&r2=1.336 can you try with the new gstreamer in rawhide? Thanks. Good news: totem is now working fine! Good job girls and guys. In my opinion, this bug can be closed. Many thanks! |