Bug 230999 - totem crashes on startup
totem crashes on startup
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: totem (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bastien Nocera
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-05 09:22 EST by ritz
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-05 11:33:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description ritz 2007-03-05 09:22:46 EST
Description of problem:
totem crashes on startup

Version-Release number of selected component (if applicable):
totem-2.17.92-2.fc7
libXrandr-1.2.0-2.fc7

How reproducible:
always.

Steps to Reproduce:
1. run totem
  
Actual results:
totem crashes

Expected results:
totem should not crash.

Additional info:
i have _no_ XRandR support due to usage of nvidia driver with asymmetric display.
Works fine with nv, and with nvidia when XRandR is enabled.

bt follows
-------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208723744 (LWP 21080)]
---Type <return> to continue, or q <return> to quit---
_XRRGetScreenInfo (dpy=0x844e0b0, info=0x853b718, window=808)
    at XrrConfig.c:226
226             vreq->reqType = info->codes->major_opcode;
(gdb) bt
#0  _XRRGetScreenInfo (dpy=0x844e0b0, info=0x853b718, window=808)
    at XrrConfig.c:226
#1  0x0576f35a in XRRGetScreenInfo (dpy=0x844e0b0, window=808)
    at XrrConfig.c:351
#2  0x0807f8eb in bacon_resize_init ()
#3  0x080755ba in ?? ()
#4  0x001170f9 in g_cclosure_marshal_VOID__VOID ()
   from /lib/libgobject-2.0.so.0
#5  0x00108589 in ?? () from /lib/libgobject-2.0.so.0
#6  0x00109d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#7  0x0011a8ca in ?? () from /lib/libgobject-2.0.so.0
#8  0x0011b957 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#9  0x0011bb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#10 0x05a4465a in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x05a44c3e in gtk_widget_set_parent () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x0585628c in gtk_box_pack_start () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x05856340 in gtk_box_pack_start_defaults ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x05856368 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00116609 in g_cclosure_marshal_VOID__OBJECT ()
   from /lib/libgobject-2.0.so.0
#16 0x00108589 in ?? () from /lib/libgobject-2.0.so.0
#17 0x00109d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#18 0x0011a8ca in ?? () from /lib/libgobject-2.0.so.0
#19 0x0011b957 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#20 0x0011bb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#21 0x05892e3c in gtk_container_add () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x0805c087 in ?? ()
#23 0x0805fd1f in main ()
Comment 1 Bastien Nocera 2007-03-05 09:45:10 EST
Could you get the same backtrace with the totem debuginfo packages installed?
Comment 2 ritz 2007-03-05 09:55:10 EST
(gdb) run
Starting program: /usr/bin/totem 
[Thread debugging using libthread_db enabled]
[New Thread -1208371488 (LWP 10142)]
[New Thread -1242211440 (LWP 10147)]
[New Thread -1252701296 (LWP 10148)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208371488 (LWP 10142)]
_XRRGetScreenInfo (dpy=0x9ef80b0, info=0xa0bec28, window=808)
    at XrrConfig.c:226
226             vreq->reqType = info->codes->major_opcode;
(gdb) bt
#0  _XRRGetScreenInfo (dpy=0x9ef80b0, info=0xa0bec28, window=808)
    at XrrConfig.c:226
#1  0x0576f35a in XRRGetScreenInfo (dpy=0x9ef80b0, window=808)
    at XrrConfig.c:351
#2  0x0807f8eb in bacon_resize_init () at bacon-resize.c:65
#3  0x080755ba in bacon_video_widget_realize (widget=0xa310008)
    at bacon-video-widget-gst-0.10.c:603
#4  0x0021a0f9 in g_cclosure_marshal_VOID__VOID ()
   from /lib/libgobject-2.0.so.0
#5  0x0020b589 in ?? () from /lib/libgobject-2.0.so.0
#6  0x0020cd9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#7  0x0021d8ca in ?? () from /lib/libgobject-2.0.so.0
#8  0x0021e957 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#9  0x0021eb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#10 0x05a4465a in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x05a44c3e in gtk_widget_set_parent () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x0585628c in gtk_box_pack_start () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x05856340 in gtk_box_pack_start_defaults ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x05856368 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00219609 in g_cclosure_marshal_VOID__OBJECT ()
   from /lib/libgobject-2.0.so.0
#16 0x0020b589 in ?? () from /lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#17 0x0020cd9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
#18 0x0021d8ca in ?? () from /lib/libgobject-2.0.so.0
#19 0x0021e957 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#20 0x0021eb19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#21 0x05892e3c in gtk_container_add () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x0805c087 in video_widget_create (totem=0x9fa8678) at totem.c:3322
#23 0x0805fd1f in main (argc=0, argv=0x9ef99a0) at totem.c:3539
Comment 3 Bastien Nocera 2007-03-05 11:33:39 EST
I believe this will fix it:

2007-03-05  Bastien Nocera  <hadess@hadess.net>

        * src/backend/bacon-resize.c: (bacon_resize_init):
        Hopefully fix crashes on startup when XRandR isn't supported,
        by checking the retval of the Extension query functions
        properly

Fix will be in the next release of totem.

Note You need to log in before you can comment on or make changes to this bug.