Bug 657906

Summary: desktop-effects crashes with SIGABRT
Product: [Fedora] Fedora Reporter: Jean Gobin <jf>
Component: desktop-effectsAssignee: Owen Taylor <otaylor>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 14CC: adel.gadllah, otaylor
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-28 17:10:47 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:
Attachments:
Description Flags
core file from "desktop-effects" none

Description Jean Gobin 2010-11-28 16:54:57 UTC
Created attachment 463350 [details]
core file from "desktop-effects"

Description of problem:

When trying to launch desktop-effects, either from System->Preferences or from the CLI, desktop-effects crashes due to SIG 6 (ABORT).


Version-Release number of selected component (if applicable):

0.8.7.2-fc14

How reproducible:


Steps to Reproduce:
1. Click on "Desktop Effects" in System->Preferences

- or -

1. from the CLI, execute desktop-effects
  
Actual results:

Crash of the application, due to bad window parameter.


Expected results:

Display of desktop-effects panel


Additional info:

Cannot submit through the normal bug reporting, as it claims I need to install all debugging libs by issuing "debuginfo-install desktop-effects", which I did, to no avail.



Here is the trace: 

Missing separate debuginfo for 
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/d5/fbf19eda91123250ba70e8599eded3fa9bc1fc /var/cache/abrt-di/usr/lib/debug/.build-id/d5/fbf19eda91123250ba70e8599eded3fa9bc1fc
[New Thread 2624]
Core was generated by `desktop-effects'.
Program terminated with signal 6, Aborted.
#0  0x00000035c8a34085 in raise () from /lib64/libc-2.12.90.so

Thread 1 (Thread 2624):
#0  0x00000035c8a34085 in raise () from /lib64/libc-2.12.90.so
No symbol table info available.
#1  0x00000035c8a35a36 in abort () from /lib64/libc-2.12.90.so
No symbol table info available.
#2  0x00000035ca64ab8a in g_logv (log_domain=0x3f92681517 "Gdk", log_level=<value optimized out>, format=0x3f9269ff87 "%s", args1=0x7fff353d4f70) at gmessages.c:557
        depth = <value optimized out>
        domain = 0x0
        data = 0x0
        log_func = 0x35ca649cc0 <g_log_default_handler>
        domain_fatal_mask = <value optimized out>
        masquerade_fatal = <value optimized out>
        test_level = <value optimized out>
        was_fatal = 0
        was_recursion = 0
        i = 2
#3  0x00000035ca64ac13 in g_log (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>) at gmessages.c:577
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff353d5050, reg_save_area = 0x7fff353d4f90}}
#4  0x0000003f9266a356 in gdk_x_error (display=<value optimized out>, error=<value optimized out>) at gdkmain-x11.c:466
        buf = "BadWindow (invalid Window parameter)", '\000' <repeats 27 times>
        msg = <value optimized out>
#5  0x00000035cca467f7 in _XError (dpy=0x2482600, rep=0x244a530) at XlibInt.c:3105
        rtn_val = <value optimized out>
        event = {type = 0, xany = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475}, xkey = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, root = 231057951738, subwindow = 140, time = 231057955569, x = 38287440, y = 16777216, x_root = 141, y_root = 0, state = 38287440, keycode = 0, same_screen = 893211192}, xbutton = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, root = 231057951738, subwindow = 140, time = 231057955569, x = 38287440, y = 16777216, x_root = 141, y_root = 0, state = 38287440, button = 0, same_screen = 893211192}, xmotion = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, root = 231057951738, subwindow = 140, time = 231057955569, x = 38287440, y = 16777216, x_root = 141, y_root = 0, state = 38287440, is_hint = 0 '\000', same_screen = 893211192}, xcrossing = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, root = 231057951738, subwindow = 140, time = 231057955569, x = 38287440, y = 16777216, x_root = 141, y_root = 0, mode = 38287440, detail = 0, same_screen = 893211192, focus = 32767, state = 893211024}, xfocus = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, mode = -870282246, detail = 53}, xexpose = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, x = -870282246, y = 53, width = 140, height = 0, count = -870278415}, xgraphicsexpose = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, drawable = 297475, x = -870282246, y = 53, width = 140, height = 0, count = -870278415, major_code = 53, minor_code = 38287440}, xnoexpose = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, drawable = 297475, major_code = -870282246, minor_code = 53}, xvisibility = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, state = -870282246}, xcreatewindow = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, parent = 297475, window = 231057951738, x = 140, y = 0, width = -870278415, height = 53, border_width = 38287440, override_redirect = 16777216}, xdestroywindow = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, event = 297475, window = 231057951738}, xunmap = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, event = 297475, window = 231057951738, from_configure = 140}, xmap = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, event = 297475, window = 231057951738, override_redirect = 140}, xmaprequest = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, parent = 297475, window = 231057951738}, xreparent = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, event = 297475, window = 231057951738, parent = 140, x = -870278415, y = 53, override_redirect = 38287440}, xconfigure = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, event = 297475, window = 231057951738, x = 140, y = 0, width = -870278415, height = 53, border_width = 38287440, above = 141, override_redirect = 38287440}, xgravity = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, event = 297475, window = 231057951738, x = 140, y = 0}, xresizerequest = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, width = -870282246, height = 53}, xconfigurerequest = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, parent = 297475, window = 231057951738, x = 140, y = 0, width = -870278415, height = 53, border_width = 38287440, above = 141, detail = 38287440, value_mask = 140734086599224}, xcirculate = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, event = 297475, window = 231057951738, place = 140}, xcirculaterequest = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, parent = 297475, window = 231057951738, place = 140}, xproperty = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, atom = 231057951738, time = 140, state = -870278415}, xselectionclear = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, selection = 231057951738, time = 140}, xselectionrequest = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, owner = 297475, requestor = 231057951738, selection = 140, target = 231057955569, property = 72057594076215376, time = 141}, xselection = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, requestor = 297475, selection = 231057951738, target = 140, property = 231057955569, time = 72057594076215376}, xcolormap = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, colormap = 231057951738, new = 140, state = 0}, xclient = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, message_type = 231057951738, format = 140, data = {b = "\361\232 \314\065\000\000\000P8H\002\000\000\000\001\215\000\000", s = {-25871, -13280, 53, 0, 14416, 584, 0, 256, 141, 0}, l = {231057955569, 72057594076215376, 141, 38287440, 140734086599224}}}, xmapping = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, request = -870282246, first_keycode = 53, count = 140}, xerror = {type = 0, display = 0x2482600, resourceid = 50331653, serial = 141, error_code = 3 '\003', request_code = 138 '\212', minor_code = 4 '\004'}, xkeymap = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, window = 297475, key_vector = "\372\213 \314\065\000\000\000\214\000\000\000\000\000\000\000\361\232 \314\065\000\000\000P8H\002\000\000\000\001"}, xgeneric = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, extension = 297475, evtype = 0}, xcookie = {type = 0, serial = 38282752, send_event = 50331653, display = 0x8d, extension = 297475, evtype = 0, cookie = 3424685050, data = 0x8c}, pad = {0, 38282752, 50331653, 141, 297475, 231057951738, 140, 231057955569, 72057594076215376, 141, 38287440, 140734086599224, 140734086599056, 231057956817, 140734086599024, 231057957428, 140734086599048, 38287464, 141, 140734086599056, 0, 0, 1, -1}}
        async = <value optimized out>
        next = <value optimized out>
#6  0x00000035cca4d217 in handle_error (dpy=0x2482600, err=0x244a530, in_XReply=<value optimized out>) at xcb_io.c:166
        ext = <value optimized out>
        ret_code = 0
#7  0x00000035cca4dd32 in _XReply (dpy=0x2482600, rep=0x7fff353d5290, extra=0, discard=1) at xcb_io.c:622
        ret_code = <value optimized out>
        error = 0x244a530
        c = 0x2483850
        reply = 0x0
        current = 0x24e8180
        __PRETTY_FUNCTION__ = "_XReply"
#8  0x00000035d2a9e5ef in ?? () from /usr/lib64/libGL.so.1
No symbol table info available.
#9  0x00000035d2a70052 in ?? () from /usr/lib64/libGL.so.1
No symbol table info available.
#10 0x00000035d2a709c4 in ?? () from /usr/lib64/libGL.so.1
No symbol table info available.
#11 0x00000035d2a779f8 in ?? () from /usr/lib64/libGL.so.1
No symbol table info available.
#12 0x0000000000403138 in has_hardware_gl (argc=1, argv=0x7fff353d5708) at desktop-effects.c:1007
        xdisplay = 0x2482600
        renderer = <value optimized out>
        window = 50331653
        attrlist = {4, 8, 1, 9, 1, 10, 1, 5, 0}
        screen = <value optimized out>
        cwa = {background_pixmap = 0, background_pixel = 0, border_pixmap = 0, border_pixel = 0, bit_gravity = 0, win_gravity = 0, backing_store = 0, backing_planes = 0, backing_pixel = 0, save_under = 0, event_mask = 0, do_not_propagate_mask = 0, override_redirect = 0, colormap = 50331652, cursor = 0}
        xscreen = <value optimized out>
        context = 0x24f41c8
        visual = <value optimized out>
        success = 0
#13 main (argc=1, argv=0x7fff353d5708) at desktop-effects.c:1066
        app = <value optimized out>
        err = 0x0
From                To                  Syms Read   Shared Object Library
0x0000003f92a11b10  0x0000003f92a2ddb8  Yes         /usr/lib64/libgconf-2.so.4.1.5
0x00000035d2a496d0  0x00000035d2aa1524  Yes (*)     /usr/lib64/libGL.so.1
0x0000003f95609390  0x0000003f956140e8  Yes         /usr/lib64/libglade-2.0.so.0.0.7
0x0000003f91e68d90  0x0000003f92111968  Yes         /usr/lib64/libgtk-x11-2.0.so.0.2200.0
0x00000035d322c9a0  0x00000035d330a728  Yes         /usr/lib64/libxml2.so.2.7.7
0x0000003f9261dfd0  0x0000003f926814c8  Yes         /usr/lib64/libgdk-x11-2.0.so.0.2200.0
0x00000035d26096b0  0x00000035d2615228  Yes         /usr/lib64/libatk-1.0.so.0.3209.1
0x0000003f916256d0  0x0000003f916c39c8  Yes         /lib64/libgio-2.0.so.0.2600.0
0x00000035cea07410  0x00000035cea229c8  Yes         /usr/lib64/libpangoft2-1.0.so.0.2800.1
0x0000003f91a059b0  0x0000003f91a198b8  Yes         /usr/lib64/libgdk_pixbuf-2.0.so.0.2200.0
0x00000035cfe04980  0x00000035cfe094a8  Yes         /usr/lib64/libpangocairo-1.0.so.0.2800.1
0x00000035d160af20  0x00000035d1684d08  Yes         /usr/lib64/libcairo.so.2.11000.0
0x00000035d1a0ee20  0x00000035d1a2d538  Yes         /usr/lib64/libpango-1.0.so.0.2800.1
0x00000035cda0c730  0x00000035cda6e318  Yes         /usr/lib64/libfreetype.so.6.6.0
0x00000035cde05c80  0x00000035cde1fec8  Yes         /usr/lib64/libfontconfig.so.1.4.4
0x00000035cb609850  0x00000035cb63a2c8  Yes         /lib64/libgobject-2.0.so.0.2600.0
0x00000035cba00fe0  0x00000035cba01f48  Yes         /lib64/libgmodule-2.0.so.0.2600.0
0x00000035cae01560  0x00000035cae029c8  Yes         /lib64/libgthread-2.0.so.0.2600.0
0x00000035c9a02190  0x00000035c9a057c8  Yes         /lib64/librt-2.12.90.so
0x00000035ca6165b0  0x00000035ca6a3de8  Yes         /lib64/libglib-2.0.so.0.2600.0
0x00000035cf600b40  0x00000035cf601918  Yes         /usr/lib64/libXcomposite.so.1.0.0
0x00000035cfa01370  0x00000035cfa04188  Yes         /usr/lib64/libXfixes.so.3.1.0
0x00000035cca1df20  0x00000035ccaabef8  Yes         /usr/lib64/libX11.so.6.3.0
0x00000035c8e05680  0x00000035c8e11048  Yes         /lib64/libpthread-2.12.90.so
0x00000035c8a1eb60  0x00000035c8b4a21c  Yes         /lib64/libc-2.12.90.so
0x00000035d3e27a70  0x00000035d3e4b8e8  Yes         /usr/lib64/libORBit-2.so.0
0x00000035d2e00550  0x00000035d2e00b13  Yes (*)     /usr/lib64/tls/libnvidia-tls.so.260.19.12
0x00000035e1863160  0x00000035e23e9028  Yes (*)     /usr/lib64/libnvidia-glcore.so.260.19.12
0x00000035cd603460  0x00000035cd60e488  Yes         /usr/lib64/libXext.so.6.4.0
0x00000035c9200de0  0x00000035c9201988  Yes         /lib64/libdl-2.12.90.so
0x00000035c9603ef0  0x00000035c96447a8  Yes         /lib64/libm-2.12.90.so
0x00000035c9e01e70  0x00000035c9e0e678  Yes         /lib64/libz.so.1.2.5
0x00000035ce6018c0  0x00000035ce607f48  Yes         /usr/lib64/libXrender.so.1.3.0
0x00000035d1200a20  0x00000035d1201508  Yes         /usr/lib64/libXinerama.so.1
0x00000035ce201ee0  0x00000035ce20c9e8  Yes         /usr/lib64/libXi.so.6
0x00000035d0e01720  0x00000035d0e06828  Yes         /usr/lib64/libXrandr.so.2
0x00000035d0202880  0x00000035d0207688  Yes         /usr/lib64/libXcursor.so.1
0x00000035d0600a90  0x00000035d0601648  Yes         /usr/lib64/libXdamage.so.1
0x00000035cb2038c0  0x00000035cb213498  Yes         /lib64/libresolv-2.12.90.so
0x0000003f91205640  0x0000003f91215758  Yes         /lib64/libselinux.so.1
0x00000035cce04830  0x00000035cce1e7a8  Yes         /usr/lib64/libpng12.so.0.44.0
0x00000035cf207270  0x00000035cf252788  Yes         /usr/lib64/libpixman-1.so.0.18.4
0x00000035cd203b70  0x00000035cd21ca08  Yes         /lib64/libexpat.so.1
0x00000035c8600b20  0x00000035c8619ac6  Yes         /lib64/ld-2.12.90.so
0x00000035cc208660  0x00000035cc213df8  Yes         /usr/lib64/libxcb.so.1
0x00000035ca2028f0  0x00000035ca2122b8  Yes         /lib64/libgcc_s-4.5.1-20100924.so.1
0x00000035cc600dd0  0x00000035cc601b68  Yes         /usr/lib64/libXau.so.6
0x00007f04c8ba80d0  0x00007f04c8baf358  Yes         /lib64/libnss_files-2.12.90.so
0x00007f04c897ebc0  0x00007f04c89a0818  Yes         /usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so
0x00007f04c8779690  0x00007f04c8779e88  Yes         /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so
0x00007f04c855f040  0x00007f04c856f788  Yes         /usr/lib64/libdbus-glib-1.so.2.1.0
0x00007f04c83186d0  0x00007f04c8341dd8  Yes         /lib64/libdbus-1.so.3.5.2
0x00007f04c810dfc0  0x00007f04c810feb8  Yes         /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
0x0000003f94601c70  0x0000003f94603088  Yes         /usr/lib64/libcanberra-gtk.so.0
0x00000035dd603280  0x00000035dd60c388  Yes         /usr/lib64/libcanberra.so.0
0x00000035dce01fa0  0x00000035dce05f88  Yes         /usr/lib64/libvorbisfile.so.3
0x00000035dba03700  0x00000035dba1a158  Yes         /usr/lib64/libvorbis.so.0
0x00000035dae018a0  0x00000035dae03bb8  Yes         /usr/lib64/libogg.so.0
0x00000035dc201e30  0x00000035dc209ca8  Yes         /usr/lib64/libtdb.so.1
0x00000035d9e02360  0x00000035d9e06748  Yes         /usr/lib64/libltdl.so.7
(*): Shared library is missing debugging information.
$1 = 0x0
$2 = 0x0
rax            0x0	0
rbx            0x2	2
rcx            0xffffffffffffffff	-1
rdx            0x6	6
rsi            0xa40	2624
rdi            0xa40	2624
rbp            0x2	0x2
rsp            0x7fff353d4968	0x7fff353d4968
r8             0x1	1
r9             0x35c8d9f1c0	231002993088
r10            0x8	8
r11            0x202	514
r12            0x4	4
r13            0x7fff353d4f70	140734086598512
r14            0x7fff353d4b00	140734086597376
r15            0x0	0
rip            0x35c8a34085	0x35c8a34085 <raise+53>
eflags         0x202	[ IF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
Dump of assembler code for function raise:
   0x00000035c8a34050 <+0>:	mov    %fs:0x2d4,%eax
   0x00000035c8a34058 <+8>:	mov    %fs:0x2d0,%esi
   0x00000035c8a34060 <+16>:	test   %esi,%esi
   0x00000035c8a34062 <+18>:	jne    0x35c8a34090 <raise+64>
   0x00000035c8a34064 <+20>:	mov    $0xba,%eax
   0x00000035c8a34069 <+25>:	syscall 
   0x00000035c8a3406b <+27>:	mov    %eax,%esi
   0x00000035c8a3406d <+29>:	mov    %eax,%fs:0x2d0
   0x00000035c8a34075 <+37>:	movslq %edi,%rdx
   0x00000035c8a34078 <+40>:	movslq %esi,%rsi
   0x00000035c8a3407b <+43>:	movslq %eax,%rdi
   0x00000035c8a3407e <+46>:	mov    $0xea,%eax
   0x00000035c8a34083 <+51>:	syscall 
=> 0x00000035c8a34085 <+53>:	cmp    $0xfffffffffffff000,%rax
   0x00000035c8a3408b <+59>:	ja     0x35c8a3409f <raise+79>
   0x00000035c8a3408d <+61>:	repz retq 
   0x00000035c8a3408f <+63>:	nop
   0x00000035c8a34090 <+64>:	test   %eax,%eax
   0x00000035c8a34092 <+66>:	jg     0x35c8a34075 <raise+37>
   0x00000035c8a34094 <+68>:	test   $0x7fffffff,%eax
   0x00000035c8a34099 <+73>:	je     0x35c8a340b0 <raise+96>
   0x00000035c8a3409b <+75>:	neg    %eax
   0x00000035c8a3409d <+77>:	jmp    0x35c8a34075 <raise+37>
   0x00000035c8a3409f <+79>:	mov    0x368efa(%rip),%rdx        # 0x35c8d9cfa0
   0x00000035c8a340a6 <+86>:	neg    %eax
   0x00000035c8a340a8 <+88>:	mov    %eax,%fs:(%rdx)
   0x00000035c8a340ab <+91>:	or     $0xffffffffffffffff,%rax
   0x00000035c8a340af <+95>:	retq   
   0x00000035c8a340b0 <+96>:	mov    %esi,%eax
   0x00000035c8a340b2 <+98>:	jmp    0x35c8a34075 <raise+37>
End of assembler dump.


At the CLI:

[jeff@jeff-ubuntu ~]$ desktop-effects 

Gdk-ERROR **: The program 'desktop-effects' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 140 error_code 3 request_code 138 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...
Aborted (core dumped)

=> see attachment for the core

Comment 1 Jean Gobin 2010-11-28 17:00:53 UTC
I forgot to mention. I have the nVidia drivers installed.

Comment 2 Jean Gobin 2010-11-28 17:10:47 UTC
Looking at Xorg.0, it appeared that, for some reasons, the glx module was not being loaded.

I installed the latest version of nvidia's modules, which fixed the issue.

(Sorry guys for bothering)