Bug #8879

Experimental darktable OS X image crashes in libintl on Snow Leopard

Added by ueli lüthi about 2 years ago.

Status:FixedStart date:08/22/2012
Priority:MediumDue date:
Assignee:Igor Kuzmin% Done:

100%

Category:Buildsystem
Target version:-
Affected Version:git development version hardware architecture:
System:

Description

Experimental darktable for mac os x doesn'tlaunch under os 10.6.8. (see attached file)

darktableCrash (32.8 KB) ueli lüthi, 08/22/2012 12:38 AM

MacOS X log file for darktable-1.0 1276~gc31ed3e crash.txt Magnifier (37.6 KB) Roman Eisele, 08/24/2012 10:23 AM

crashlogDarktable1.0 1276~gc31ed3e.txt Magnifier (38.2 KB) ueli lüthi, 08/24/2012 04:15 PM

libintl.8.dylib (55.7 KB) Igor Kuzmin, 08/24/2012 05:08 PM


Related issues

Duplicated by darktable - Bug #8881: Experimental darktable OS X release (2012-08-20) crashes ... Duplicate 08/22/2012

History

#1 Updated by Igor Kuzmin about 2 years ago

Please don't use RTF format - either upload plain txt file or just paste it right into bug report (optionally surrounded by pre tag).
What's your default system language? If it's not English, try placing English first in the language priority list (System Preferences -> Language & Text -> Language) and start darktable to see if it works or error changes.
I will disable NLS in libgphoto for my future builds, but there's currently no planned date for next release.

#2 Updated by Igor Kuzmin about 2 years ago

  • Status changed from New to Triaged
  • Assignee set to Igor Kuzmin
  • % Done changed from 0 to 20
  • Affected Version changed from 1.0 to git development version

#3 Updated by ueli lüthi about 2 years ago

changing the prioritised language to english didn't help.
i attached the new crash log (this time as .txt – sorry!)

#4 Updated by ueli lüthi about 2 years ago

  • Assignee set to Igor Kuzmin

#5 Updated by Igor Kuzmin about 2 years ago

OK, try one more thing, if it doesn't help either, then you will have to wait for the next build.
Run following command in Terminal:

echo unset LANG LC_ALL LC_COLLATE LC_MONETARY > /Applications/grafikBildLayout/darktable.app/Contents/Resources/environment.sh

and try starting darktable again. Check that error message doesn't change (maybe it will crash in some other place).

#6 Updated by Igor Kuzmin about 2 years ago

  • File deleted (darktableCrash.rtf)

#7 Updated by Igor Kuzmin about 2 years ago

  • Subject changed from Experimental darktable OS X image doesn't work to Experimental darktable OS X image crashes in libintl on Snow Leopard

#8 Updated by Igor Kuzmin about 2 years ago

  • Category changed from General to Buildsystem

#9 Updated by ueli lüthi about 2 years ago

'echo unset LANG…' didn't help – crashes still at the same place.

#10 Updated by Igor Kuzmin about 2 years ago

  • Status changed from Triaged to In Progress
  • % Done changed from 20 to 50

I've uploaded new disk image: https://github.com/downloads/darktable-org/darktable/darktable-1.0+1276~gc31ed3e.dmg
One of the changes is disabled NLS support in libgphoto2. Please try it and report how things will go.

#11 Updated by Roman Eisele about 2 years ago

Igor Kuzmin wrote:

I've uploaded new disk image: https://github.com/downloads/darktable-org/darktable/darktable-1.0+1276~gc31ed3e.dmg
One of the changes is disabled NLS support in libgphoto2.

Thank you very much for all your work!

Please try it and report how things will go.

I have tried it and it still crashes in the startup process, but this time at a different place (probably later in the startup process). I will attach the log file.

Changing the locale, i.e. MacOS X default language to "English" and formats to "United States (Computer)", does not change anything; the crash is the same.

@ueli lüthi:
What are your results with the new version?

#12 Updated by Igor Kuzmin about 2 years ago

OK, this means it's libintl's fault, not libgphoto2's. Will try to come up with new idea.

#13 Updated by Igor Kuzmin about 2 years ago

I think I found probable cause: http://trac.adium.im/ticket/15996#comment:16
Need to think now how to fix it.

#14 Updated by ueli lüthi about 2 years ago

it still crashes. but the log looks a bit different (thread 1 to thread 14) – unfortunately i don't understand anything of it…

#15 Updated by Igor Kuzmin about 2 years ago

I've recompiled libintl, please try replacing libintl.8.dylib in application bundle with attached file. Smth like that:

mv ~/Downloads/libintl.8.dylib /Applications/darktable.app/Contents/Resources/lib/
chmod a+x /Applications/darktable.app/Contents/Resources/lib/libintl.8.dylib

#16 Updated by Roman Eisele about 2 years ago

Igor Kuzmin wrote:

I've recompiled libintl, please try replacing libintl.8.dylib in application bundle with attached file.

Wow! Big progress: Now darktable actually starts and the main window opens. So IMHO this bug is fixed.

@Igor:
Thank you very much!

@ueli lüthi:
Does this fix the crash for you, too?

#17 Updated by Igor Kuzmin about 2 years ago

  • Status changed from In Progress to Fixed
  • % Done changed from 50 to 100

I've rebuilt the disk image so it would include this update, it can de downloaded from here: https://github.com/downloads/darktable-org/darktable/darktable-1.0+1278~g23f81f0.dmg
Marking this bug as fixed.

#18 Updated by ueli lüthi about 2 years ago

the new build works well – thank you!

Also available in: Atom PDF