Comment 11 for bug 1768855

Revision history for this message
Romano Giannetti (romano-giannetti) wrote :

I compiled ufraw-batch with -g, and this is the result:

tarting program: /home/romano/tmp/src/ufraw-0.22/ufraw-batch --embedded-image --out-type=png --size=64 p1040069.rw2 --overwrite --silent --output=uffa.png
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff71acb64 in lfModifier::~lfModifier() ()
   from /usr/lib/x86_64-linux-gnu/liblensfun.so.1
(gdb) RuntimeError: object at 0x7ff6cee868c0 of type ColumnExtension is not initialized
bt
#0 0x00007ffff71acb64 in lfModifier::~lfModifier() ()
   from /usr/lib/x86_64-linux-gnu/liblensfun.so.1
#1 0x00007ffff71acb89 in lfModifier::Destroy() ()
   from /usr/lib/x86_64-linux-gnu/liblensfun.so.1
#2 0x00005555555f5a62 in ufraw_close (uf=0x5555559ed940) at ufraw_ufraw.c:770
#3 0x00005555555f266f in main (argc=8, argv=0x7fffffffe338)
    at ufraw-batch.c:107
(gdb) quit
A debugging session is active.

So I tried to recompile it with

/* have the lensfun library */
/* #define HAVE_LENSFUN 1 */
#undef HAVE_LENSFUN

(I was unable to find a configure option to disable lensfun) and now the resulting ufraw-batch is not segfaulting any more. Unfortunately, still I can't generate thumbnails for raw files... I'm stuck.