Bug 328627 - Crash when i try to open a file (File->Recent Documents)
Summary: Crash when i try to open a file (File->Recent Documents)
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-10 14:16 UTC by Paul Geraskin
Modified: 2013-12-12 14:24 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 Paul Geraskin 2013-12-10 14:16:34 UTC
Hi guys.

When i try to open KRA file the krita crashes. 
It happens only in default dialog File->Recent Documents.

The KRA file should not be on the top of the dialog:
http://i.imgur.com/roCSKnB.png So, it should be like on the screenshot.

The crash: http://i.imgur.com/hnHwCxM.png

The file: https://dl.dropboxusercontent.com/u/26887202/Krita/snow_castle.kra

LOG: http://pastebin.com/D1N0geQa

IMPORTANT: The crash happens only with KRA files. PSD, PNG, ORA open ok.

OS: Linux Kubuntu 64, 13.04

Thanks.
Comment 1 Paul Geraskin 2013-12-10 16:46:37 UTC
It happens not only with KRA files. It happens with any file.
The crash happens when the file is not on the top: http://i.imgur.com/roCSKnB.png
Secon, third, fourth... in the list will crash..
Comment 2 Dmitry Kazakov 2013-12-12 13:35:21 UTC
Git commit 5638428294c7b8f3f1db7c86bee60a8ba21825ff by Dmitry Kazakov.
Committed on 12/12/2013 at 13:34.
Pushed by dkazakov into branch 'master'.

Fix crash when switching QPainter->openGL canvases

The openGL context should be initialized at least once in the beginning.

This surely fixes:
Related: bug 328649, bug 327684

Please check whether these bugs are fixed now:

M  +1    -0    krita/ui/canvas/kis_canvas2.cpp
M  +5    -0    krita/ui/opengl/kis_opengl.cpp
M  +2    -0    krita/ui/opengl/kis_opengl.h

http://commits.kde.org/calligra/5638428294c7b8f3f1db7c86bee60a8ba21825ff
Comment 3 Dmitry Kazakov 2013-12-12 13:35:52 UTC
Git commit 00b41abdb63fec901ebadbb356240158a24c0e36 by Dmitry Kazakov.
Committed on 12/12/2013 at 13:34.
Pushed by dkazakov into branch 'calligra/2.8'.

Fix crash when switching QPainter->openGL canvases

The openGL context should be initialized at least once in the beginning.

This surely fixes:
Related: bug 328649, bug 327684

Please check whether these bugs are fixed now:

M  +1    -0    krita/ui/canvas/kis_canvas2.cpp
M  +5    -0    krita/ui/opengl/kis_opengl.cpp
M  +2    -0    krita/ui/opengl/kis_opengl.h

http://commits.kde.org/calligra/00b41abdb63fec901ebadbb356240158a24c0e36