Project

General

Profile

Bug #11635

darktable immediately crashes on launch (llvm cast?)

Added by Garrett LeSage almost 2 years ago. Updated almost 2 years ago.

Status:
Closed: upstream
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
06/03/2017
Due date:
% Done:

0%

Affected Version:
2.2.5
System:
Fedora/RHEL
bitness:
64-bit
hardware architecture:
amd64/x86

Description

When I try to launch darktable, I'm greeted with a crash:

X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
X server found. dri2 connection failed! 
darktable: /usr/include/llvm/Support/Casting.h:236: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::CompositeType; Y = llvm::Type; typename llvm::cast_retty<X, Y*>::ret_type = llvm::CompositeType*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
[1]    15109 abort (core dumped)  darktable

I'm on Fedora 26 (alpha).

Here are the results of darktable --version:

this is darktable darktable-2.2.5-2.fc26
copyright (c) 2009-2017 johannes hanika
darktable-dev@lists.darktable.org

compile options:
  bit depth is 64 bit
  normal build
  SSE2 optimized codepath enabled
  OpenMP support enabled
  OpenCL support enabled
  Lua support enabled, API version 4.0.0
  Colord support enabled
  gPhoto2 support enabled
  GraphicsMagick support enabled
  OpenEXR support enabled

I'm running on Wayland with an external monitor. The laptop's built-in display is HiDPI, but I currently have it turned off and have scaling in GNOME-Tweak-Tool turned to 1 so things don't look rediculous on the external monitor.

I tried downgrading to 2.2.4 and it had the same crash issue.

History

#1 Updated by Tobias Ellinghaus almost 2 years ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

Hi Garrett,

do you have OpenCL enabled? Please try starting darktable with --disable-opencl.

#2 Updated by Roman Lebedev almost 2 years ago

This should be closed:upstream.
It is a bug for whatever opencl implementation you have installed.
And do make sure that this isn't pocl :)

#3 Updated by Roman Lebedev almost 2 years ago

  • % Done changed from 20 to 0
  • Status changed from Incomplete to Closed: upstream

Similar: https://bugzilla.redhat.com/show_bug.cgi?id=1460400
Pretty sure this is upstream problem

#4 Updated by Roman Lebedev almost 2 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF