Bug 683890 - [REDWOOD] KWIN segmentation fault (11) when changing DPI fonts with desktop effects (only with OpenGL composite renderer) enabled
Summary: [REDWOOD] KWIN segmentation fault (11) when changing DPI fonts with desktop ...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 15
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Dave Airlie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-10 15:21 UTC by Reartes Guillermo
Modified: 2018-04-11 09:38 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-20 07:17:55 UTC
Type: ---


Attachments (Terms of Use)
Backtrace with debug-symbols installed 120 to 96 switch (13.91 KB, text/plain)
2011-03-10 21:15 UTC, Reartes Guillermo
no flags Details
Backtrace with debug-symbols installed 96 to 120 switch (13.91 KB, text/plain)
2011-03-10 21:16 UTC, Reartes Guillermo
no flags Details
Backtrace with debug-symbols installed III (13.86 KB, text/plain)
2011-03-10 23:18 UTC, Reartes Guillermo
no flags Details
Backtrace with debug-symbols installed IV (13.91 KB, text/plain)
2011-03-10 23:19 UTC, Reartes Guillermo
no flags Details
Backtrace with debug-symbols installed V (13.90 KB, text/plain)
2011-03-10 23:20 UTC, Reartes Guillermo
no flags Details
fonts_120to96 (13.91 KB, text/plain)
2011-03-11 21:41 UTC, Reartes Guillermo
no flags Details
fonts_96to120 (13.91 KB, text/plain)
2011-03-11 21:42 UTC, Reartes Guillermo
no flags Details
style_cde (13.91 KB, text/plain)
2011-03-11 21:43 UTC, Reartes Guillermo
no flags Details
style_cleanlooks (13.91 KB, text/plain)
2011-03-11 21:44 UTC, Reartes Guillermo
no flags Details
style_gtk+style (13.91 KB, text/plain)
2011-03-11 21:44 UTC, Reartes Guillermo
no flags Details
style_plastique (13.91 KB, text/plain)
2011-03-11 21:45 UTC, Reartes Guillermo
no flags Details
virtual_destop_switching: desktop_cube (13.91 KB, text/plain)
2011-03-11 21:46 UTC, Reartes Guillermo
no flags Details
virtual_destop_switching: slide (13.85 KB, text/plain)
2011-03-11 21:47 UTC, Reartes Guillermo
no flags Details
virtual_destop_switching: fade (13.91 KB, text/plain)
2011-03-11 21:47 UTC, Reartes Guillermo
no flags Details
dmesg (111.98 KB, text/plain)
2011-03-18 00:29 UTC, Reartes Guillermo
no flags Details
messages (4.25 MB, text/plain)
2011-03-18 00:31 UTC, Reartes Guillermo
no flags Details
Xorg.0.log (36.96 KB, text/plain)
2011-03-18 00:32 UTC, Reartes Guillermo
no flags Details
xorg 1 (35.94 KB, text/plain)
2011-03-18 00:33 UTC, Reartes Guillermo
no flags Details
xorg 2 (35.95 KB, text/plain)
2011-03-18 00:33 UTC, Reartes Guillermo
no flags Details
Xorg.0.log.old (37.53 KB, text/plain)
2011-03-18 00:37 UTC, Reartes Guillermo
no flags Details
xorg 1 old (34.35 KB, text/plain)
2011-03-18 00:37 UTC, Reartes Guillermo
no flags Details
xorg 2 old (35.05 KB, text/plain)
2011-03-18 00:38 UTC, Reartes Guillermo
no flags Details

Description Reartes Guillermo 2011-03-10 15:21:17 UTC
Description of problem: When forcing the fonts DPI, kwin crashes with segmentation fault (11). The other applications are unaffected, no work
is loss.

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

How reproducible: allways

Steps to Reproduce:
1. log-in, enable desktop effects (disabled by default)
2. system-settings, go to fonts and change DPI (96 to 120 or 120 to 96)
3. apply, kwin crashes (the other apps are ok)
  
Actual results:
the DPI change seems to apply. The 120 dpi fonts looks really ugly compared
to F13/F14 with 120 DPI fonts.

Expected results:
to be able to switch DPI with no error

Additional info:

With desktop effects disabled, it does not happen.
The "use anti-aliasing" was allways enabled.

Comment 1 Rex Dieter 2011-03-10 15:27:47 UTC
Fwiw, just tried on my new f15/x86_64 kde install, switching dpi did not segfault for me.

Do you have a backtrace we could look at?

Comment 2 Rex Dieter 2011-03-10 15:44:47 UTC
fwiw, may be worth to mention your video hardware and what driver you're using.

Comment 3 Reartes Guillermo 2011-03-10 16:05:44 UTC
AMD HD5670, default driver (radeon/ati i think), previously i opened the 
following bugreport

Bug 683825 - Graphical corruption/artifact in KDE with ATI HD5670 (1002:68d8)

I will try to install debuggin symbols and get one.


xorg-x11-drv-ati.x86_64   6.14.0-2.20110204gita27b5dbd9.fc15

kernel   2.6.38-0.rc8.git0.1.fc15.x86_64

kdebase-workspace.x86_64   4.6.1-1.fc15

Comment 4 Reartes Guillermo 2011-03-10 21:15:18 UTC
Created attachment 483562 [details]
Backtrace with debug-symbols installed 120 to 96 switch

Switched from 120 DPI to 96 DPI

Comment 5 Reartes Guillermo 2011-03-10 21:16:52 UTC
Created attachment 483563 [details]
Backtrace with debug-symbols installed 96 to 120 switch

Now switching back to 120 DPI

Comment 6 Rex Dieter 2011-03-10 21:28:03 UTC
#6  0x00007f6236991f0e in r600_bo (radeon=0x1f844d0, size=64, alignment=4096, binding=32, usage=0) at r600_bo.c:43
#7  0x00007f62369878e9 in r600_buffer_create (screen=0x1f84640, templ=0x7fff241f9d00) at r600_buffer.c:62
#8  0x00007f6236ad5478 in pipe_buffer_create (size=64, bind=32, screen=<optimized out>) at ../../src/gallium/auxiliary/util/u_inlines.h:183


I'm gonna guess that's inside mesa somewhere.

Comment 7 Reartes Guillermo 2011-03-10 23:18:07 UTC
There is more stuff:


workspace appearance --> window decoration
  -->oxygen(only when comming from another), laptop, tabstrip BAD (the other  seems ok)


workspace behaviour --> virtual desktops
  --> desktop effect animation
    --> no-animation, desktop cube animation, fade desktop BAD (slide is ok)

application appearance --> style --> widget style
  --> plastique, cde, cleanlooks BAD (GTK + style, Ms windows 9x, motif, okygen, qtcurve are ok)

Comment 8 Reartes Guillermo 2011-03-10 23:18:56 UTC
Created attachment 483597 [details]
Backtrace with debug-symbols installed III

Comment 9 Reartes Guillermo 2011-03-10 23:19:31 UTC
Created attachment 483598 [details]
Backtrace with debug-symbols installed IV

Comment 10 Reartes Guillermo 2011-03-10 23:20:00 UTC
Created attachment 483599 [details]
Backtrace with debug-symbols installed V

Comment 11 Reartes Guillermo 2011-03-11 21:41:54 UTC
Created attachment 483823 [details]
fonts_120to96

Performed a yum update & reboot.
The issue is still there.

kdebase-workspace.x86_64   4.6.1-3.fc15

Comment 12 Reartes Guillermo 2011-03-11 21:42:48 UTC
Created attachment 483824 [details]
fonts_96to120

Comment 13 Reartes Guillermo 2011-03-11 21:43:35 UTC
Created attachment 483825 [details]
style_cde

Comment 14 Reartes Guillermo 2011-03-11 21:44:03 UTC
Created attachment 483826 [details]
style_cleanlooks

Comment 15 Reartes Guillermo 2011-03-11 21:44:43 UTC
Created attachment 483827 [details]
style_gtk+style

Comment 16 Reartes Guillermo 2011-03-11 21:45:07 UTC
Created attachment 483828 [details]
style_plastique

Comment 17 Reartes Guillermo 2011-03-11 21:46:32 UTC
Created attachment 483830 [details]
virtual_destop_switching: desktop_cube

Comment 18 Reartes Guillermo 2011-03-11 21:47:01 UTC
Created attachment 483831 [details]
virtual_destop_switching: slide

Comment 19 Reartes Guillermo 2011-03-11 21:47:33 UTC
Created attachment 483832 [details]
virtual_destop_switching: fade

Comment 20 Reartes Guillermo 2011-03-15 14:35:32 UTC
If Desktop Effects are ENABLED, but the compositing type is changed from 
OpenGL to XRender, it does not happen. (XRender is slower)

So it only happens when DE is ENABLED and Compositing_Type is set to OpenGL.

# yum list installed '*mesa*'
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Installed Packages
mesa-debuginfo.x86_64                                  7.10-0.29.fc15                              @updates-testing-debuginfo
mesa-dri-drivers.x86_64                                7.10-0.29.fc15                              @updates-testing          
mesa-dri-filesystem.x86_64                             7.10-0.29.fc15                              @updates-testing          
mesa-dri-llvmcore.x86_64                               7.10-0.29.fc15                              @updates-testing          
mesa-libGL.x86_64                                      7.10-0.29.fc15                              @updates-testing          
mesa-libGLU.x86_64                                     7.10-0.29.fc15                              @updates-testing 


# yum list installed '*xorg-x11-drv-ati*'                                                             
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Installed Packages
xorg-x11-drv-ati.x86_64                          6.14.0-6.20110315git4d3504970.fc15                          @updates-testing

Comment 21 Reartes Guillermo 2011-03-17 13:47:51 UTC
Updated the system, reboot & tried again (still crashes)

This is the content of ~/.xsession-errors 


OpenGL vendor string:                   X.Org
OpenGL renderer string:                 Gallium 0.4 on AMD REDWOOD
OpenGL version string:                  2.1 Mesa 7.10-devel
OpenGL shading language version string: 1.20
Driver:                                 R600G
GPU class:                              EVERGREEN
OpenGL version:                         2.1
GLSL version:                           1.20
Mesa version:                           7.10
Linux kernel version:                   2.6.38
Direct rendering:                       yes
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Application::crashHandler() called with signal 11; recent crashes: 1
KCrash: Application 'kwin' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
link XMLID_34_ hasn't been detected!
link XMLID_34_ hasn't been detected!
link XMLID_36_ hasn't been detected!
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 Gallium 0.4 on AMD REDWOOD
OpenGL version string:                  2.1 Mesa 7.10-devel
OpenGL shading language version string: 1.20
Driver:                                 R600G
GPU class:                              EVERGREEN
OpenGL version:                         2.1
GLSL version:                           1.20
Mesa version:                           7.10
Linux kernel version:                   2.6.38
Direct rendering:                       yes
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
link XMLID_34_ hasn't been detected!
link XMLID_34_ hasn't been detected!
link XMLID_36_ hasn't been detected!
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
plasma-desktop(1704)/plasma StatusNotifierItemSource::refreshCallback: DBusMenu disabled for this application

Comment 22 Matěj Cepl 2011-03-18 00:09:04 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 23 Reartes Guillermo 2011-03-18 00:29:54 UTC
Created attachment 486126 [details]
dmesg

Comment 24 Reartes Guillermo 2011-03-18 00:31:39 UTC
Created attachment 486128 [details]
messages

Comment 25 Reartes Guillermo 2011-03-18 00:32:19 UTC
Created attachment 486129 [details]
Xorg.0.log

Comment 26 Reartes Guillermo 2011-03-18 00:33:00 UTC
Created attachment 486130 [details]
xorg 1

Comment 27 Reartes Guillermo 2011-03-18 00:33:42 UTC
Created attachment 486132 [details]
xorg 2

Comment 28 Reartes Guillermo 2011-03-18 00:37:23 UTC
Created attachment 486139 [details]
Xorg.0.log.old

Comment 29 Reartes Guillermo 2011-03-18 00:37:50 UTC
Created attachment 486140 [details]
xorg 1 old

Comment 30 Reartes Guillermo 2011-03-18 00:38:19 UTC
Created attachment 486141 [details]
xorg 2 old

Comment 31 Reartes Guillermo 2011-03-31 10:37:41 UTC
With the latest updates i was not able to reproduce the crash.
Previously these system-settings crashed:

* Application Appearance > Fonts > change dpi to 96 or 120
* Workspace appearance >  window decoration > oxygen(sometimes), laptop, tabstrip 
* Workspace behaviour > virtual desktops > desktop effect animation
  > no-animation, desktop cube animation, fade desktop 
* Application appearance > style > widget style > plastique, cde, cleanlooks

I will test it again in the weekend, but it seems ok now.

xorg-x11-server-Xorg.x86_64            1.10.0-7.fc15 @updates-testing 
xorg-x11-server-common.x86_64          1.10.0-7.fc15 @updates-testing
kdebase.x86_64                       6:4.6.1-2.fc15  @updates-testing 
kdebase-libs.x86_64                  6:4.6.1-2.fc15  @updates-testing 
kdebase-runtime.x86_64               4.6.1-3.fc15    @updates-testing 
kdebase-workspace.x86_64             4.6.1-6.fc15    @updates-testing 
kdebase-workspace-debuginfo.x86_64   4.6.1-6.fc15    @updates-testing
xorg-x11-drv-ati.x86_64    6.14.0-7.20110316gitcdfc007ec.fc15 @updates-testing
kde-settings.noarch                     4.6-9.fc15   @updates-testing
kde-settings-kdm.noarch                 4.6-9.fc15   @updates-testing
kde-settings-pulseaudio.noarch          4.6-9.fc15   @updates-testing

Comment 32 Reartes Guillermo 2011-04-13 15:55:03 UTC
With the latest updates i was also not able to reproduce any of crashes related to this
bugreport, seems fixed.

kde-settings-kdm.noarch                      4.6-9.fc15      @updates-testing
kdm.x86_64                                   4.6.2-2.fc15    @updates-testing

kdebase.x86_64                               6:4.6.2-1.fc15  @updates-testing          
kdebase-libs.x86_64                          6:4.6.2-1.fc15  @updates-testing          
kdebase-runtime.x86_64                       4.6.2-1.fc15    @updates-testing          
kdebase-runtime-debuginfo.x86_64             4.6.2-1.fc15    @updates-testing-debuginfo
kdebase-runtime-flags.noarch                 4.6.2-1.fc15    @updates-testing          
kdebase-runtime-libs.x86_64                  4.6.2-1.fc15    @updates-testing          
kdebase-workspace.x86_64                     4.6.2-2.fc15    @updates-testing          
kdebase-workspace-debuginfo.x86_64           4.6.2-2.fc15    @updates-testing-debuginfo
kdebase-workspace-libs.x86_64                4.6.2-2.fc15    @updates-testing

Comment 33 Reartes Guillermo 2011-10-20 00:22:08 UTC
No crash since march, so this bug-report can be closed for sure.

Comment 34 Kevin Kofler 2011-10-20 07:17:55 UTC
Apparently fixed by an unknown update.


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