Project

General

Profile

Bug #11002

Crash following import of second folder

Added by Anonymous over 2 years ago. Updated over 2 years ago.

Status:
Incomplete
Priority:
Low
Assignee:
-
Category:
General
Target version:
-
Start date:
04/23/2016
Due date:
% Done:

20%

Affected Version:
2.0.3
System:
Mac OS X
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I have just installed 2.0.3 on my iMac, running OS X El Capitan.

I was able to import one directory of images without incident, but when I tried to import a second, darktable shut down.

Now it will start up OK, and bring up the first directory's-worth of images, but if I try to examine the second directories files it crashes.

Running darktable from the command line, I get:

Michaels-iMac:24 michaelhendry$ /Applications/darktable.app/Contents/MacOS/darktable

(darktable-bin:42702): GLib-GObject-WARNING **: invalid cast from 'GtkMenuBar' to 'GtkWindow'

(darktable-bin:42702): Gtk-CRITICAL : gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
darktable-bin(42702,0x700000104000) malloc: *
error for object 0x10427f608: incorrect checksum for freed object - object was probably modified after being freed.
  • set a breakpoint in malloc_error_break to debug
    Magick: abort due to signal 6 (SIGABRT) "Abort"...
    Abort trap: 6
    Michaels-iMac:24 michaelhendry$

History

#1 Updated by Roman Lebedev over 2 years ago

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

A bt is a must here.
Also, set G_DEBUG=fatal-warnings env, that first warning (invalid cast) is the key.

#2 Updated by Anonymous over 2 years ago

Sorry, you'll have to be a bit more specific about what you require.

I don't appear to have a backtrace or bt executable on my system.

#3 Updated by Roman Lebedev over 2 years ago

https://www.darktable.org/development/ "How to produce a backtrace"

#4 Updated by Anonymous over 2 years ago

Thanks, Roman.

I installed darktable from the pre-complied DMG.

It looks as though I'm going to have to learn how to compile from source and run 'gdb' on my Mac in order to get the information you need - you may not hear from me again for a day or two...

Michael

#5 Updated by Anonymous over 2 years ago

I've tried compiling my own copy on my iMac, but have got stuck in the build process. I've installed libgphoto etc, but this doesn't help.

The terminal session looks like this:

Michaels-iMac:darktable michaelhendry$ sudo ./build.sh
Darktable build script

Building directory: /Users/michaelhendry/darktable/build
Installation prefix: /opt/darktable
Build type: RelWithDebInfo
Build generator: Unix Makefiles
Build tasks: 4

CMake Warning at /opt/local/share/cmake-3.3/Modules/Platform/Darwin-Initialize.cmake:134 (message):
Ignoring CMAKE_OSX_SYSROOT value:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
because the directory does not exist.
Call Stack (most recent call first):
/opt/local/share/cmake-3.3/Modules/CMakeSystemSpecificInitialize.cmake:18 (include)
CMakeLists.txt:3 (project)

-- Building SSE2-optimized codepaths: ON
-- Found little endian system. Good.
-- Mac OS X build detected, setting default features
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found xsltproc
-- Found xmllint
-- All external programs found
-- Found Gettext
-- Found msgfmt to convert language file. Translation enabled
-- Try OpenMP C flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Could NOT find OpenMP (missing: OpenMP_C_FLAGS OpenMP_CXX_FLAGS)
-- Found Glib
-- checking for one of the modules 'libsoup-2.4;libsoup2'
-- checking for one of the modules 'libsoup-2.2;libsoup2'
-- checking for module 'libgphoto2'
-- package 'libgphoto2' not found
-- Could NOT find OPENEXR (missing: OPENEXR_LIBRARY)
-- checking for module 'libwebp'
-- package 'libwebp' not found
-- Could NOT find WEBP (missing: WEBP_LIBRARY WEBP_INCLUDE_DIR) (Required is at least version "0.3.0")
-- checking for module 'lensfun'
-- package 'lensfun' not found
CMake Error at /opt/local/share/cmake-3.3/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find LENSFUN (missing: LENSFUN_INCLUDE_DIR)
Call Stack (most recent call first):
/opt/local/share/cmake-3.3/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindLensFun.cmake:37 (find_package_handle_standard_args)
src/CMakeLists.txt:196 (find_package)

-- Configuring incomplete, errors occurred!
See also "/Users/michaelhendry/darktable/build/CMakeFiles/CMakeOutput.log".
See also "/Users/michaelhendry/darktable/build/CMakeFiles/CMakeError.log".
Michaels-iMac:darktable michaelhendry$

Also available in: Atom PDF