Bug 985636

Summary: Media Explorer crashes with used on X11 with Nouveau driver
Product: [Fedora] Fedora Reporter: W. Michael Petullo <mike>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ajax
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-05 23:20:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Michael Petullo 2013-07-18 00:21:07 UTC
Description of problem:
Running media-explorer crashes due to a segmentation fault.

Version-Release number of selected component (if applicable):
mesa-dri-drivers-9.2-0.12.20130610.fc19.x86_64
media-explorer-0.4.4-2.fc19.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. yum install media-explorer
2. media-explorer

Actual results:
(gdb) run
Starting program: /usr/bin/media-explorer 
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3600.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /lib64/libgraphite2.so.3
Try: yum --disablerepo='*' --enablerepo='*debug*' install /usr/lib/debug/.build-id/a1/aa32c91bc181cb69ebc81bbfd03a1349ea4e33.debug
[New Thread 0x7fffe229a700 (LWP 26369)]
[New Thread 0x7fffe0c90700 (LWP 26370)]
mex: could not connect to socket
mex: No such file or directory
[New Thread 0x7fffdaf6a700 (LWP 26371)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe4b937c0 in nv50_validate_scissor () from /usr/lib64/dri/nouveau_dri.so
Missing separate debuginfos, use: debuginfo-install GConf2-3.2.6-6.fc19.x86_64 dbus-glib-0.100-5.fc19.x86_64 dbus-libs-1.6.12-1.fc19.x86_64 dconf-0.16.0-2.fc19.x86_64 expat-2.1.0-5.fc19.x86_64 glib-networking-2.36.2-1.fc19.x86_64 grilo-plugins-0.2.8-2.fc19.x86_64 gssdp-0.14.3-1.fc19.x86_64 gstreamer-plugins-good-0.10.31-9.fc19.x86_64 gupnp-0.20.3-1.fc19.x86_64 gupnp-av-0.12.2-1.fc19.x86_64 gvfs-1.16.3-2.fc19.x86_64 harfbuzz-0.9.18-3.fc19.x86_64 libXau-1.0.8-1.fc19.x86_64 libXcursor-1.1.14-1.fc19.x86_64 libXinerama-1.1.3-1.fc19.x86_64 libXrender-0.9.7-6.20130524git786f78fd8.fc19.x86_64 libXxf86vm-1.1.3-1.fc19.x86_64 libbluray-0.2.3-2.fc19.x86_64 libdrm-2.4.46-1.fc19.x86_64 libffi-3.0.13-4.fc19.x86_64 libmodman-2.0.1-6.fc19.x86_64 libproxy-0.4.11-3.fc19.x86_64 libselinux-2.1.13-15.fc19.x86_64 libunistring-0.9.3-7.fc19.x86_64 libuuid-2.23.1-3.fc19.x86_64 libwayland-client-1.1.90-0.1.20130515.fc19.x86_64 libwayland-cursor-1.1.90-0.1.20130515.fc19.x86_64 libwayland-server-1.1.90-0.1.20130515.fc19.x86_64 libxcb-1.9-3.fc19.x86_64 libxkbcommon-0.3.0-1.fc19.x86_64 llvm-libs-3.3-0.6.rc3.fc19.x86_64 mesa-dri-drivers-9.2-0.12.20130610.fc19.x86_64 mesa-libEGL-9.2-0.12.20130610.fc19.x86_64 mesa-libGL-9.2-0.12.20130610.fc19.x86_64 mesa-libgbm-9.2-0.12.20130610.fc19.x86_64 mesa-libglapi-9.2-0.12.20130610.fc19.x86_64 pcre-8.32-7.fc19.x86_64 pixman-0.30.0-1.fc19.x86_64 sqlite-3.7.17-1.fc19.x86_64 startup-notification-0.12-6.fc19.x86_64 systemd-libs-204-9.fc19.x86_64 xcb-util-0.3.9-2.fc19.x86_64 xz-libs-5.1.2-4alpha.fc19.x86_64
(gdb) ba
#0  0x00007fffe4b937c0 in nv50_validate_scissor () from /usr/lib64/dri/nouveau_dri.so
#1  0x00007fffe4b945a4 in nv50_state_validate () from /usr/lib64/dri/nouveau_dri.so
#2  0x00007fffe4b98bb9 in nv50_blit () from /usr/lib64/dri/nouveau_dri.so
#3  0x00007fffe49b4132 in st_TexSubImage () from /usr/lib64/dri/nouveau_dri.so
#4  0x00007fffe4958711 in texsubimage () from /usr/lib64/dri/nouveau_dri.so
#5  0x00007fffe495c41c in _mesa_TexSubImage2D () from /usr/lib64/dri/nouveau_dri.so
#6  0x00007ffff5f1725f in _cogl_texture_driver_upload_subregion_to_gl (ctx=0x6f1fa0, texture=0xa85a60, is_foreign=<optimized out>, src_x=0, src_y=<optimized out>, dst_x=1, dst_y=19, width=30, height=30, level=0, source_bmp=0xad12b0, source_gl_format=6406, source_gl_type=5121, error=0x7fffffffcc98) at driver/gl/gl/cogl-texture-driver-gl.c:280
#7  0x00007ffff5f0a630 in _cogl_texture_2d_gl_copy_from_bitmap (tex_2d=0xa85a60, src_x=0, src_y=0, width=30, height=30, bmp=0xad12b0, dst_x=1, dst_y=19, level=0, error=0x7fffffffcc98) at driver/gl/cogl-texture-2d-gl.c:601
#8  0x00007ffff5f49597 in _cogl_texture_2d_set_region (tex=0xa85a60, src_x=<optimized out>, src_y=<optimized out>, dst_x=<optimized out>, dst_y=<optimized out>, width=<optimized out>, height=30, level=0, bmp=0xad12b0, error=0x7fffffffcc98) at ./cogl-texture-2d.c:487
#9  0x00007ffff5f4f028 in _cogl_atlas_texture_set_region_with_border (atlas_tex=atlas_tex@entry=0xb17af0, src_x=src_x@entry=0, src_y=src_y@entry=0, dst_x=dst_x@entry=0, dst_y=dst_y@entry=0, dst_width=dst_width@entry=30, dst_height=dst_height@entry=30, bmp=bmp@entry=0xad12b0, error=error@entry=0x7fffffffcc98) at ./cogl-atlas-texture.c:454
#10 0x00007ffff5f4faa5 in _cogl_atlas_texture_new_from_bitmap (bmp=bmp@entry=0xad1230, flags=flags@entry=COGL_TEXTURE_NONE, internal_format=<optimized out>, internal_format@entry=COGL_PIXEL_FORMAT_RGBA_8888_PRE, error=error@entry=0x7fffffffcc98) at ./cogl-atlas-texture.c:836
#11 0x00007ffff5f48fef in _cogl_texture_new_from_bitmap (bitmap=bitmap@entry=0xad1230, flags=flags@entry=COGL_TEXTURE_NONE, internal_format=internal_format@entry=COGL_PIXEL_FORMAT_RGBA_8888_PRE, error=error@entry=0x7fffffffccf8) at ./cogl-auto-texture.c:176
#12 0x00007ffff5f491b2 in _cogl_texture_new_from_data (error=0x7fffffffccf8, data=0xb18110 "", rowstride=<optimized out>, internal_format=COGL_PIXEL_FORMAT_RGBA_8888_PRE, format=COGL_PIXEL_FORMAT_A_8, flags=COGL_TEXTURE_NONE, height=30, width=30, ctx=0x6f1fa0) at ./cogl-auto-texture.c:131
#13 cogl_texture_new_from_data (width=width@entry=30, height=height@entry=30, flags=flags@entry=COGL_TEXTURE_NONE, format=format@entry=COGL_PIXEL_FORMAT_A_8, internal_format=internal_format@entry=COGL_PIXEL_FORMAT_RGBA_8888_PRE, rowstride=rowstride@entry=30, data=data@entry=0xb18110 "") at ./cogl-auto-texture.c:152
#14 0x00007ffff7ba7d88 in mex_shadow_regenerate (shadow=shadow@entry=0xad10b0) at mex-shadow.c:442
#15 0x00007ffff7ba833b in mex_shadow_set_radius_y (shadow=0xad10b0, radius=radius@entry=15) at mex-shadow.c:551
#16 0x00007ffff7b72684 in mex_action_button_init (self=0xb15800) at mex-action-button.c:186
#17 0x00007ffff3156a9c in g_type_create_instance (type=11619184) at gtype.c:1917
#18 0x00007ffff313b598 in g_object_constructor (type=<optimized out>, n_construct_properties=1, construct_params=0xb06610) at gobject.c:1855
#19 0x00007ffff6f4c7eb in clutter_actor_constructor (gtype=<optimized out>, n_props=<optimized out>, props=<optimized out>) at ./clutter-actor.c:6100
#20 0x00007ffff313cb19 in g_object_newv (object_type=11619184, n_parameters=<optimized out>, parameters=<optimized out>) at gobject.c:1719
#21 0x00007ffff6f8c37f in _clutter_script_construct_object (script=0xaf3cc0, oinfo=0xb0b850) at ./clutter-script-parser.c:2224
#22 0x00007ffff3139880 in g_cclosure_marshal_VOID__BOXEDv (closure=0xa93210, return_value=<optimized out>, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0xa93240) at gmarshal.c:1160
#23 0x00007ffff3136c57 in _g_closure_invoke_va (closure=closure@entry=0xa93210, return_value=return_value@entry=0x0, instance=instance@entry=0xae7000, args=args@entry=0x7fffffffd2b8, n_params=1, param_types=0xa93240) at gclosure.c:840
#24 0x00007ffff314ed87 in g_signal_emit_valist (instance=0xae7000, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffd2b8) at gsignal.c:3234
#25 0x00007ffff314fa72 in g_signal_emit (instance=instance@entry=0xae7000, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3384
#26 0x00007ffff66645a1 in json_parse_object (parser=parser@entry=0xae7000, scanner=scanner@entry=0xb05540, node=node@entry=0x7fffffffd418) at ./json-parser.c:712
#27 0x00007ffff6664a46 in json_parse_array (parser=parser@entry=0xae7000, scanner=scanner@entry=0xb05540, node=node@entry=0x7fffffffd488) at ./json-parser.c:477
#28 0x00007ffff666465d in json_parse_object (parser=parser@entry=0xae7000, scanner=scanner@entry=0xb05540, node=node@entry=0x7fffffffd4e8) at ./json-parser.c:637
#29 0x00007ffff6664a46 in json_parse_array (parser=parser@entry=0xae7000, scanner=scanner@entry=0xb05540, node=node@entry=0x7fffffffd558) at ./json-parser.c:477
#30 0x00007ffff666465d in json_parse_object (parser=parser@entry=0xae7000, scanner=scanner@entry=0xb05540, node=node@entry=0x7fffffffd5b8) at ./json-parser.c:637
#31 0x00007ffff6664a46 in json_parse_array (parser=parser@entry=0xae7000, scanner=scanner@entry=0xb05540, node=0xae7030) at ./json-parser.c:477
#32 0x00007ffff6664bf5 in json_parse_statement (parser=parser@entry=0xae7000, scanner=scanner@entry=0xb05540) at ./json-parser.c:738
#33 0x00007ffff6664eeb in json_parser_load (parser=0xae7000, data=0xb048d0 "[\n  {\n    \"id\" : \"info-panel-container\",\n    \"type\" : \"MxTable\",\n    \"style-class\" : \"MexInfoPanelContainer\",\n    \"height\" : 145,\n    \"width\" : 980,\n    \"children\" : [\n      {\n        \"id\" : \"row-cont"..., length=3173, error=error@entry=0x7fffffffd668) at ./json-parser.c:907
#34 0x00007ffff666563f in json_parser_load_from_file (parser=<optimized out>, filename=filename@entry=0xb04800 "/usr/share/media-explorer/json/info-panel-full.json", error=error@entry=0x7fffffffd6b8) at ./json-parser.c:1015
#35 0x00007ffff6f89680 in clutter_script_load_from_file (script=<optimized out>, filename=filename@entry=0xb04800 "/usr/share/media-explorer/json/info-panel-full.json", error=error@entry=0x7fffffffd6e8) at ./clutter-script.c:588
#36 0x00007ffff7b90f82 in mex_info_panel_constructed (object=0xb03a10) at mex-info-panel.c:423
#37 0x00007ffff313cf95 in g_object_newv (object_type=object_type@entry=11529728, n_parameters=n_parameters@entry=1, parameters=parameters@entry=0xb03800) at gobject.c:1747
#38 0x00007ffff313d2e6 in g_object_new_valist (object_type=object_type@entry=11529728, first_property_name=first_property_name@entry=0x7ffff7bb77a2 "mode", var_args=var_args@entry=0x7fffffffd878) at gobject.c:1836
#39 0x00007ffff313d654 in g_object_new (object_type=11529728, first_property_name=first_property_name@entry=0x7ffff7bb77a2 "mode") at gobject.c:1551
#40 0x00007ffff7b9204e in mex_info_panel_new (mode=mode@entry=MEX_INFO_PANEL_MODE_FULL) at mex-info-panel.c:846
#41 0x00007ffff7b9c517 in mex_player_init (self=0xada8e0) at mex-player.c:863
#42 0x00007ffff3156a9c in g_type_create_instance (type=11402352) at gtype.c:1917
#43 0x00007ffff313b598 in g_object_constructor (type=<optimized out>, n_construct_properties=1, construct_params=0xae0200) at gobject.c:1855
#44 0x00007ffff6f4c7eb in clutter_actor_constructor (gtype=<optimized out>, n_props=<optimized out>, props=<optimized out>) at ./clutter-actor.c:6100
#45 0x00007ffff313cb19 in g_object_newv (object_type=object_type@entry=11402352, n_parameters=n_parameters@entry=0, parameters=parameters@entry=0x0) at gobject.c:1719
#46 0x00007ffff313d66c in g_object_new (object_type=11402352, first_property_name=first_property_name@entry=0x0) at gobject.c:1548
#47 0x00007ffff7b9c625 in mex_player_get_default () at mex-player.c:894
#48 0x0000000000406b07 in mex_startup (data=0x7fffffffdcc0, app=0x9ad290) at mex-main.c:2361
#49 main (argc=1, argv=0x7fffffffdf08) at mex-main.c:2722

Additional information:
lspci identifies my video card as a NVIDIA Corporation C79 [GeForce 9400M] (rev b1).

Comment 1 W. Michael Petullo 2013-08-05 23:20:45 UTC
This seems fixed with the latest Fedora 19 updates, including mesa-dri-drivers-9.2-0.14.20130723.fc19.x86_64. Media explorer is working fine now.