Bug 368198

Summary: crashes after installing snap from beta channel
Product: [Applications] krita Reporter: erio <ericoporto2008>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: halla
Priority: NOR    
Version: 3.0.1 Beta   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description erio 2016-09-03 15:15:18 UTC
After installing krita from beta channel, krita crashes when opening the snap.

    user@host:~$ sudo snap install --beta krita
    98.17 MB / 98.17 MB [======================================] 100.00 % 1.70 MB/s 

    krita (beta) 3.0.1-beta-snap13 from 'krita' installed

    user@host:~$ krita 
    krita.lib.pigment: Legacy integer arithmetics implementation
    XmbTextListToTextProperty result code -2
    QOpenGLFunctions created with non-current context
    Segmentation fault (core dumped)

Additional info

    user@host:~$ lsb_release -a
    LSB Version:	core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:printing-9.20160110ubuntu0.2-amd64:printing-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
    Distributor ID:	Ubuntu
    Description:	Ubuntu 16.04.1 LTS
    Release:	16.04
    Codename:	xenial

    user@host:~$ snap --version
    snap    2.13+ppa207-1
    snapd   2.13+ppa207-1
    series  16
    ubuntu  16.04

    user@host:~$ dpkg -l | grep nvidia
    ii  nvidia-364                                  364.19-0ubuntu0~gpu16.04.6                                  amd64        NVIDIA binary driver - version 364.19
    ii  nvidia-opencl-icd-364                       364.19-0ubuntu0~gpu16.04.6                                  amd64        NVIDIA OpenCL ICD
    ii  nvidia-prime                                0.8.2                                                       amd64        Tools to enable NVIDIA's Prime
    ii  nvidia-settings                             370.23-0ubuntu0~gpu16.04.1                                  amd64        Tool for configuring the NVIDIA graphics

Reproducible: Always

Steps to Reproduce:
1. sudo snap install --beta krita
2. krita

Actual Results:  
    krita.lib.pigment: Legacy integer arithmetics implementation
    XmbTextListToTextProperty result code -2
    QOpenGLFunctions created with non-current context
    Segmentation fault (core dumped)


Expected Results:  
It should just open Krita!
Comment 1 Halla Rempt 2016-09-03 19:09:30 UTC
Ah, I see that you're using an Nvidia gpu -- I think that's still not supported by Ubuntu.