Bug #8879
Experimental darktable OS X image crashes in libintl on Snow Leopard
| Status: | Fixed | Start date: | 08/22/2012 | |
|---|---|---|---|---|
| Priority: | Medium | Due date: | ||
| Assignee: | % Done: | 100% | ||
| Category: | Buildsystem | |||
| Target version: | - | |||
| Affected Version: | git development version | System: |
Description
Experimental darktable for mac os x doesn'tlaunch under os 10.6.8. (see attached file)
Related issues
History
#1
Updated by Igor Kuzmin 10 months 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 10 months 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 10 months ago
- File darktableCrash added
- Assignee deleted (
Igor Kuzmin)
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 10 months ago
- Assignee set to Igor Kuzmin
#5
Updated by Igor Kuzmin 10 months 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 10 months ago
- File deleted (
darktableCrash.rtf)
#7
Updated by Igor Kuzmin 10 months 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 10 months ago
- Category changed from General to Buildsystem
#9
Updated by ueli lüthi 10 months ago
'echo unset LANG…' didn't help – crashes still at the same place.
#10
Updated by Igor Kuzmin 10 months 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 10 months 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 10 months 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 10 months 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 10 months ago
- File crashlogDarktable1.0 1276~gc31ed3e.txt
added
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 10 months ago
- File libintl.8.dylib added
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 10 months 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 10 months 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 10 months ago
the new build works well – thank you!