Bug 182921 - X.org crashes completely while starting a PDF in presentation mode.
Summary: X.org crashes completely while starting a PDF in presentation mode.
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 183047 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-02 22:07 UTC by Niels van Mourik
Modified: 2009-02-04 11:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niels van Mourik 2009-02-02 22:07:44 UTC
Version:           0.8 (using 4.2.00 (KDE 4.2.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-11-generic

I'm not sure why a userland application is able to crash my complete X server but unfortunately it happens, I've confirmed this two times now.

I've generated a PDF using OpenOffice that I want to run in Okular's presentation mode, directly after clicking 'presentation mode' in the menu it goes fullscreen, the okular icons appear shortly, and X crashes back to KDM.

I'm afraid it is hard to get debugging symbols and backtraces here but I can point in the correct direction (hopefully). I do not want the PDF file to be attached publicly to this bug but I can send it in private.

Short digest:
Video: intel
Screen 1: LVDS 1280*800 (laptop)
Screen 2: VGA 1680x1050 (external)

If more information is needed, please let me know.

Thanks in advance and keep up the wonderful work!
------------------------------------------------------------
niels@gazprom:~$ xvinfo       
X-Video Extension version 2.2 
screen #0                     
  Adaptor #0: "Intel(R) Textured Video"
    number of ports: 16                
    port base: 99                      
    operations supported: PutImage     
    supported visuals:                 
      depth 24, visualID 0x21          
    number of attributes: 2            
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute  
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range 0 to 255)                        
              client settable attribute                     
              client gettable attribute (current value is 0)
    maximum XvImage size: 1920 x 1088                       
    Number of image formats: 5                              
      id: 0x32595559 (YUY2)                                 
        guid: 59555932-0000-0010-8000-00aa00389b71          
        bits per pixel: 16                                  
        number of planes: 1                                 
        type: YUV (packed)                                  
      id: 0x32315659 (YV12)                                 
        guid: 59563132-0000-0010-8000-00aa00389b71          
        bits per pixel: 12                                  
        number of planes: 3                                 
        type: YUV (planar)                                  
      id: 0x30323449 (I420)                                 
        guid: 49343230-0000-0010-8000-00aa00389b71          
        bits per pixel: 12                                  
        number of planes: 3                                 
        type: YUV (planar)                                  
      id: 0x59565955 (UYVY)                                 
        guid: 55595659-0000-0010-8000-00aa00389b71          
        bits per pixel: 16                                  
        number of planes: 1                                 
        type: YUV (packed)                                  
      id: 0x434d5658 (XVMC)                                 
        guid: 58564d43-0000-0010-8000-00aa00389b71          
        bits per pixel: 12                                  
        number of planes: 3                                 
        type: YUV (planar)                                  
  Adaptor #1: "Intel(R) Video Overlay"                      
    number of ports: 1                                      
    port base: 115                                          
    operations supported: PutImage                          
    supported visuals:                                      
      depth 24, visualID 0x21                               
    number of attributes: 12                                
      "XV_COLORKEY" (range 0 to 16777215)                   
              client settable attribute                     
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)                       
              client settable attribute                         
              client gettable attribute (current value is -19)  
      "XV_CONTRAST" (range 0 to 255)                            
              client settable attribute                         
              client gettable attribute (current value is 75)   
      "XV_SATURATION" (range 0 to 1023)                         
              client settable attribute                         
              client gettable attribute (current value is 146)  
      "XV_DOUBLE_BUFFER" (range 0 to 1)                         
              client settable attribute                         
              client gettable attribute (current value is 1)    
      "XV_PIPE" (range -1 to 1)                                 
              client settable attribute                         
              client gettable attribute (current value is -1)   
      "XV_GAMMA0" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 526344)
      "XV_GAMMA1" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 1052688)
      "XV_GAMMA2" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2105376)
      "XV_GAMMA3" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 4210752)
      "XV_GAMMA4" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 8421504)
      "XV_GAMMA5" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 12632256)
    maximum XvImage size: 1920 x 1088
    Number of image formats: 5
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x434d5658 (XVMC)
        guid: 58564d43-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

niels@gazprom:~$ ldd /usr/bin/okular
        linux-gate.so.1 =>  (0xb7fae000)
        libkparts.so.4 => /usr/lib/libkparts.so.4 (0xb7f3b000)
        libkio.so.5 => /usr/lib/libkio.so.5 (0xb7cce000)      
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb7bcc000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb7b88000)        
        libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0xb781b000)        
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb77ce000)        
        libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0xb75ac000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb753e000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb7310000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6a0c000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb691e000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb68f8000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb68e9000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb678b000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb6774000)
        libstreamanalyzer.so.0 => /usr/lib/libstreamanalyzer.so.0 (0xb6706000)
        libstreams.so.0 => /usr/lib/libstreams.so.0 (0xb66d3000)
        libsolid.so.4 => /usr/lib/libsolid.so.4 (0xb6666000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb665d000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb6645000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb6555000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6546000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb6532000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb652f000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb652a000)
        libacl.so.1 => /lib/libacl.so.1 (0xb6522000)
        libattr.so.1 => /lib/libattr.so.1 (0xb651c000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6512000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb64f9000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0xb64f4000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb64eb000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb64e5000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb64d4000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb64c0000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb64ba000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb64b1000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb63f9000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb63f5000)
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb63dd000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb63b7000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb63ad000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb63a5000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb632f000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6302000)
        /lib/ld-linux.so.2 (0xb7f94000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb61c6000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb61c3000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb61aa000)
        libpcre.so.3 => /lib/libpcre.so.3 (0xb6177000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb6126000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb60ff000)
Comment 1 Pino Toscano 2009-02-02 22:20:12 UTC
If X crashes, then it is an X fault.
Check out your /var/log/Xorg.0.log right after the crash, whether it contains any backtrace of the crash.
Comment 2 Pino Toscano 2009-02-03 20:30:41 UTC
*** Bug 183047 has been marked as a duplicate of this bug. ***
Comment 3 Pino Toscano 2009-02-03 20:33:16 UTC
@any of you:
if you go to System settings -> Window behaviour -> Window specific settings, do you have any entry with "Okular" in its name?
If so, do you still have the problem if you remove it, apply the changes and restart any Okular?
Comment 4 andreaswuest 2009-02-03 20:51:33 UTC
i had the following entry in the system settings : "Okular initial default size"
after i removed it the crash was fixed for me. so everything works fine now.
Comment 5 Niels van Mourik 2009-02-04 11:42:08 UTC
Removed the profile now and it works now, I've still ran into several nasty X crashes but not triggered by Okular. Thanks Pino!