| Summary: | Segfault when creating a new document | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Nicholas LaPointe <nicholaslapointe8> |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | bruceoutdoors |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/krita/d4a7b903b4de0f83f1f0fa76fa5bea9ca97dce89 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
I've submitted a patch to fix this: https://phabricator.kde.org/D2721 Git commit ca4941ad1e1066cc96fedb53e06f1058c5a398a0 by Dmitry Kazakov. Committed on 09/09/2016 at 09:49. Pushed by dkazakov into branch 'krita-lazybrush-kazakov'. Fix a crash in New Image dialog Thanks bruceoutdoors for the patch! :) M +0 -14 libs/ui/forms/wdgnewimage.ui M +7 -2 libs/ui/widgets/kis_color_button.h http://commits.kde.org/krita/ca4941ad1e1066cc96fedb53e06f1058c5a398a0 Git commit d4a7b903b4de0f83f1f0fa76fa5bea9ca97dce89 by Dmitry Kazakov. Committed on 09/09/2016 at 09:51. Pushed by dkazakov into branch 'master'. Fix a crash in New Image dialog Thanks bruceoutdoors for the patch! :) M +0 -14 libs/ui/forms/wdgnewimage.ui M +7 -2 libs/ui/widgets/kis_color_button.h http://commits.kde.org/krita/d4a7b903b4de0f83f1f0fa76fa5bea9ca97dce89 |
When attempting to create a new document, Krita receives a segmentation fault before it can display the dialog for creating a new document. This happens since commit 93ef7c8ef97e3ba5a1349ba38408269205a9d2b8 ("Merge in new internal color picker dialog!"). Reproducible: Always Steps to Reproduce: 1. Attempt to create a new document gdb output and backtrace: Thread 1 "krita" received signal SIGSEGV, Segmentation fault. 0x00007ffff1cdc5f9 in KoColor::colorSpace (this=0xcc5178c) at src/krita-mod/libs/pigment/KoColor.cpp:252 252 return d->colorSpace; #0 0x00007ffff1cdc5f9 in KoColor::colorSpace (this=0xcc5178c) at src/libs/pigment/KoColor.cpp:252 #1 0x00007ffff1cdb81a in KoColor::operator= (this=0xcc51578, rhs=...) at src/libs/pigment/KoColor.cpp:126 #2 0x00007ffff76c4061 in KisColorButton::setColor (this=0xcc512e0, c=...) at src/libs/ui/widgets/kis_color_button.cpp:154 #3 0x00007ffff76c5633 in KisColorButton::qt_static_metacall (_o=0xcc512e0, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fffffffca00) at build/libs/ui/moc_kis_color_button.cpp:146 #4 0x00007ffff76c580c in KisColorButton::qt_metacall (this=0xcc512e0, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fffffffca00) at build/libs/ui/moc_kis_color_button.cpp:192 #5 0x00007ffff5d44cd4 in QMetaProperty::write(QObject*, QVariant const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff5d6d5cf in QObject::setProperty(char const*, QVariant const&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007ffff765ddf8 in Ui_WdgNewImage::setupUi (this=0xc558510, WdgNewImage=0xc5584e0) at build/libs/ui/ui_wdgnewimage.h:410 #8 0x00007ffff7660126 in WdgNewImage::WdgNewImage (this=0xc5584e0, parent=0xc563750) at src/libs/ui/widgets/kis_custom_image_widget.h:42 #9 0x00007ffff7653afc in KisCustomImageWidget::KisCustomImageWidget (this=0xc5584e0, parent=0xc563750, defWidth=1024, defHeight=1024, resolution=1.3888888888888888, defColorModel=..., defColorDepth=..., defColorProfile=..., imageName=...) at src/libs/ui/widgets/kis_custom_image_widget.cc:66 #10 0x00007ffff77a5cd5 in KisMainWindow::slotFileNew (this=0xb32c5b0) at src/libs/ui/KisMainWindow.cpp:1393