Bug 235321 - Tried to open X3F file. Was showing up in preview but crashed while opening in editor
Summary: Tried to open X3F file. Was showing up in preview but crashed while opening i...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-RAW (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-25 08:46 UTC by Amol
Modified: 2019-12-23 17:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amol 2010-04-25 08:46:46 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta5
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Tried to open an image file in X3F format. The image preview pane was showing the image.  But when I tried to open the image in editor it crashed with segmentation fault.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f4915a99750 (LWP 8460))]

Thread 19 (Thread 0x7f48fdf16910 (LWP 8461)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f490f3e74fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x299fb20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x299fb20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006c8d73 in Digikam::ScanController::run (this=0x299ed00) at /build/buildd/digikam-1.0.0~beta5/digikam/scancontroller.cpp:499
#4  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x299ed00) at thread/qthread_unix.cpp:188
#5  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f48fa634910 (LWP 8463)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f48fa633d80 in ?? ()
#2  0x00007ffff25ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 17 (Thread 0x7f48f9da7910 (LWP 8464)):
#0  0x00007f490e9413c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4908dc937c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4908dc96c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f490f4f51fe in QEventDispatcherGlib::processEvents (this=0x2b507b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f490f4cb532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f490f4cb904 in QEventLoop::exec (this=0x7f48f9da7050, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f490f3e36cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x2b251d0) at thread/qthread_unix.cpp:188
#8  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f48f9526910 (LWP 8465)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f490f3e74fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2ceeec8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ceeec8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4912d57f42 in Digikam::LoadSaveThread::run (this=0x2ceeeb0) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x2ceeeb0) at thread/qthread_unix.cpp:188
#5  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 15 (Thread 0x7f48f8d25910 (LWP 8466)):
#0  0x00007f490e9413db in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=0) at ../sysdeps/unix/sysv/linux/poll.c:89
#1  0x00007f4908dc937c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4908dc96c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f490f4f51fe in QEventDispatcherGlib::processEvents (this=0x2cfa830, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f490f4cb532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f490f4cb904 in QEventLoop::exec (this=0x7f48f8d25050, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f490f3e36cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x2cf9820) at thread/qthread_unix.cpp:188
#8  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 14 (Thread 0x7f48f3fff910 (LWP 8467)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f48f3ffed80 in ?? ()
#2  0x00007ffff25ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently c".

Thread 13 (Thread 0x7f48f37fe910 (LWP 8468)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f490f3e74fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2d0c288, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2d0c288, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4912d57f42 in Digikam::LoadSaveThread::run (this=0x2d0c270) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x2d0c270) at thread/qthread_unix.cpp:188
#5  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f48ef99e910 (LWP 8469)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f48f16e5c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 11 (Thread 0x7f48ed43f910 (LWP 8470)):
#0  0x00007f490e946412 in select () from /lib/libc.so.6
#1  0x00007f48f170e725 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f48f16f37e9 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f48ecc3e910 (LWP 8471)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f48ecc3dd30 in ?? ()
#2  0x00007ffff25ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently c".

Thread 9 (Thread 0x7f48e802b910 (LWP 8477)):
#0  0x00007f490e9413c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f48ec239cbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f48ebe26910 (LWP 8478)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f48f16f6983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f48e5826910 (LWP 8488)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f490f3e74fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3580c98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3580c98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4912d57f42 in Digikam::LoadSaveThread::run (this=0x3580c80) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x3580c80) at thread/qthread_unix.cpp:188
#5  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7f48e93bd910 (LWP 8495)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f490f3e74fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3821ee8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3821ee8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4912d57f42 in Digikam::LoadSaveThread::run (this=0x3821ed0) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x3821ed0) at thread/qthread_unix.cpp:188
#5  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f48eb625910 (LWP 8496)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f490f3e74fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3b0efe8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3b0efe8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4912d57f42 in Digikam::LoadSaveThread::run (this=0x3b0efd0) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x3b0efd0) at thread/qthread_unix.cpp:188
#5  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f48cffff910 (LWP 8517)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f490f3e74fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x5afc3a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5afc3a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4912d57f42 in Digikam::LoadSaveThread::run (this=0x5afc390) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x5afc390) at thread/qthread_unix.cpp:188
#5  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f48e7029910 (LWP 8518)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f490f3e74fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x5c6d098, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5c6d098, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4912d57f42 in Digikam::LoadSaveThread::run (this=0x5c6d080) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:136
#4  0x00007f490f3e6445 in QThreadPrivate::start (arg=0x5c6d080) at thread/qthread_unix.cpp:188
#5  0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f48be9c2910 (LWP 8525)):
[KCrash Handler]
#5  0x00007f4913f86bf0 in ?? () from /usr/lib/libkdcraw.so.7
#6  0x00007f4913f8c079 in ?? () from /usr/lib/libkdcraw.so.7
#7  0x00007f4913f56400 in KDcrawIface::KDcraw::loadFromDcraw(QString const&, QByteArray&, int&, int&, int&) () from /usr/lib/libkdcraw.so.7
#8  0x00007f4912caffb0 in Digikam::RAWLoader::load (this=0x7f48be9c1830, filePath=..., observer=0x6087900) at /build/buildd/digikam-1.0.0~beta5/libs/dimg/loaders/rawloader.cpp:103
#9  0x00007f4912c9a28e in Digikam::DImg::load (this=0x7f48be9c1ff0, filePath=..., loadFlagsInt=31, observer=<value optimized out>, rawDecodingSettings=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/dimg/dimg.cpp:437
#10 0x00007f4912c9a6d0 in Digikam::DImg::load (this=0x7f48be9c1ff0, filePath=..., observer=0x6087900, rawDecodingSettings=) at /build/buildd/digikam-1.0.0~beta5/libs/dimg/dimg.cpp:338
#11 0x00007f4912c9a9d8 in DImg (this=0x7f48be9c1ff0, filePath=..., observer=0x6087900, rawDecodingSettings=...) at /build/buildd/digikam-1.0.0~beta5/libs/dimg/dimg.cpp:100
#12 0x00007f4912d69cb5 in Digikam::LoadingTask::execute (this=0x60878f0) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavetask.cpp:51
#13 0x00007f4912d57f0c in Digikam::LoadSaveThread::run (this=0x5d00a50) at /build/buildd/digikam-1.0.0~beta5/libs/threadimageio/loadsavethread.cpp:139
#14 0x00007f490f3e6445 in QThreadPrivate::start (arg=0x5d00a50) at thread/qthread_unix.cpp:188
#15 0x00007f490d6e7a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#16 0x00007f490e94d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4915a99750 (LWP 8460)):
#0  0x00007f490e9413c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4907f0229a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f4907f027d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f4907f02a85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f490dcf2d4a in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f490dcf3271 in _XEventsQueued () from /usr/lib/libX11.so.6
#6  0x00007f490dcdc01b in XEventsQueued () from /usr/lib/libX11.so.6
#7  0x00007f49100f26e7 in x11EventSourcePrepare (s=0x277cb20, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#8  0x00007f4908dc8dba in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f4908dc9191 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f4908dc96c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f490f4f51a6 in QEventDispatcherGlib::processEvents (this=0x2746590, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#12 0x00007f49100f24be in QGuiEventDispatcherGlib::processEvents (this=0x7ffff24da9a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#13 0x00007f490f4cb532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#14 0x00007f490f4cb904 in QEventLoop::exec (this=0x7ffff24dad20, flags=) at kernel/qeventloop.cpp:201
#15 0x00007f490f4cdab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#16 0x000000000075fda2 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/digikam/main.cpp:186
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 caulier.gilles 2010-04-25 09:06:02 UTC
Amol

This file is invalid. Do not use digiKam 1.0.0-beta5 which is an old beta release. Use last 1.2.0 stable instead.

Warning : Due to incompatible license code from dcraw, X3F support have been removed from libraw to current implementation from svn.

Please report this problem to libraw team, not digiKam. It's indeep a libraw code problem.

Alex, 

I CC you just for info. I'm sure that this user run digiKam with an old libkdcraw, not code from trunk (#5  0x00007f4913f86bf0 in ?? () from /usr/lib/libkdcraw.so.7 ==> KDE 4.2.0)

I hope that new libraw code do not crash when X3F file try to be loaded...

Gilles Caulier
Comment 2 Alex Tutubalin 2010-04-25 09:39:25 UTC
Current LibRaw  0.9-Beta5 rejects Foveon files (I've tried with SD9, SD14 and DP2 files). Return code is LIBRAW_FILE_UNSUPPORTED.

I'll test in mode details and more samples before 0.9-Release.

Unfortunately for Sigma users, we're unable to support three different LibRaw versions (LibRaw-GPL with Foveon support and -Lite/-Commercial without this format), so all GPLed code (i.e. Foveon processing code) has beend dropped from LibRaw.
Comment 3 Amol 2010-04-25 19:09:27 UTC
Alex,

Thanks for the info. So what should I do now? Please suggest any
alternatives?

Thanks,
Amol


On Sun, Apr 25, 2010 at 12:39 AM, Alex Tutubalin <lexa@lexa.ru> wrote:

> https://bugs.kde.org/show_bug.cgi?id=235321
>
>
>
>
>
> --- Comment #2 from Alex Tutubalin <lexa lexa ru>  2010-04-25 09:39:25 ---
> Current LibRaw  0.9-Beta5 rejects Foveon files (I've tried with SD9, SD14
> and
> DP2 files). Return code is LIBRAW_FILE_UNSUPPORTED.
>
> I'll test in mode details and more samples before 0.9-Release.
>
> Unfortunately for Sigma users, we're unable to support three different
> LibRaw
> versions (LibRaw-GPL with Foveon support and -Lite/-Commercial without this
> format), so all GPLed code (i.e. Foveon processing code) has beend dropped
> from
> LibRaw.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 4 caulier.gilles 2010-04-25 20:58:24 UTC
Alex,

Why not to use Conditional compilation in libraw to comment X3F implementation if the library must be published without this code. We use this way in Exiv2 library which as exactly the same license problem than you about Nikon lens Database code (if i remember). Look the compilation configuration panel generated by CMake in Exiv2 project :

-- ------------------------------------------------------------------
-- exiv2 0.19.1 configure results      <http://www.exiv2.org>
-- Building PNG support:               YES
-- Building shared library:            YES
-- XMP metadata support:               YES
-- Building static libxmp:             NO
-- Native language support:            YES
-- Conversion of Windows XP tags:      YES
-- Nikon lens database:                YES
-- Commercial build:                   NO
-- Build the unit tests:               NO
-- Building translations files:        YES
-- ------------------------------------------------------------------

Note these "Nikon lens database" and "Commercial build" annotations there...

I CC Andreas (Exiv2 author) for more info there, if necessary...

Gilles Caulier
Comment 5 Alex Tutubalin 2010-04-26 07:12:16 UTC
1) The first problem is licensing.  The *possibility* of GPL will stop some LibRaw users from using it. So, no GPL code, thanks. All other code may be triple licensed (LGPL, CCDL, LibRaw own license) and it is licensed this way.

2) Another problem is Foveon's color quality. I have not tested latest Sigma software (4.0?), but all older programs (previous Sigma Pro Photo, Adobe ACR and LR, and, sure, LibRaw/dcraw code) are unable to produce consistent color (look red tones on  this screenshot: http://blog.lexa.ru/sites/blog.lexa.ru/files/images/foveons_0.jpg, this is Adobe Camera Raw results for two Sigma cameras and one Canon, only Canon's one is near CC24 standard rendering).


So, we're just saying 'Sorry' to Sigma users. The possible alternatives are
 * Raw Therapee (have not used it, but source contains all foveon code from dcraw)
 * digiKam or other software which uses LibRaw with old LibRaw version, prior to 0.9
Comment 6 caulier.gilles 2019-12-23 17:36:53 UTC
Not reproducible with digiKam 7.0.0-beta1.