Discussion:
[Bug 1768855] Re: ufraw-batch in bionic segfault
Robert Strube
2018-05-26 19:16:03 UTC
Permalink
** Also affects: lensfun (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lensfun/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ku
Kyle Fazzari
2018-06-21 03:19:55 UTC
Permalink
I'm hitting this in 18.04 as well, trying to use ufraw-batch for my .CR2
thumbnails.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lensfun/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/list
Launchpad Bug Tracker
2018-06-21 03:20:04 UTC
Permalink
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: lensfun (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lensfun/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ku
Brian Cohoe
2018-07-29 23:03:59 UTC
Permalink
** Also affects: ufraw
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.u
Kristiyan Tachev
2018-08-03 13:15:23 UTC
Permalink
I have faced the same issue with latest 18.04.1 version of ubuntu.


I understand that even if it says that "core is dumped" the file is converted correctly so i decided to just iterate over my files and even if status for command is 1 all files will be converted according to the for statement.

```
for d in ./* ; do ( ufraw-batch $d --out-type=jpeg ); done;
```
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
h
Eugene Romanenko
2018-08-03 13:32:31 UTC
Permalink
Kristiyan, yes, it converts one file correctly, then crash.

But I mostly use ufraw-batch as thumbnail generator (Ex.
https://gist.github.com/h4cc/7a7938d774a50b421922 ) and in this mode
return status prevents thumbnails from creation.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubu
Kristiyan Tachev
2018-08-03 15:41:24 UTC
Permalink
@Eugene Romanenko the strange thing was before doing this somehow i was
able to convert more than 60 files without problem then it appears "core
is dumped".hmm....


How is this even possible ?
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
ht
steve davis
2018-09-09 10:40:47 UTC
Permalink
I think this may be the same problem I am having: see bug #1791138
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.u
Romano Giannetti
2018-09-26 06:40:57 UTC
Permalink
Probably is as big in lensfun, but the sad thing is that even calling it
with --lensfun=none still give the core dump...
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubun
Romano Giannetti
2018-09-30 14:49:50 UTC
Permalink
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.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mai
Eugene Romanenko
2018-09-30 15:15:32 UTC
Permalink
Romano,

"Unfortunately, still I can't generate thumbnails for raw files..." - to workaround this I installed old ufraw-batch package from ubuntu 16.04 - https://ubuntu.pkgs.org/16.04/ubuntu-universe-amd64/ufraw-batch_0.20-3build1_amd64.deb.html - also needs liblensfun0 and libpng12-0 - listed in Requires.
Download debs, install using dpkg -i, and mark packages hold to prevent update.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/lis
Romano Giannetti
2018-09-30 15:24:55 UTC
Permalink
Thanks Eugene. I found the problem, was a typo in my MIME type (so it
was really unrelated).

Your solution is probably better than mine, but if someone wants the
ufraw-batch binary compiled without lensfun (you shouldn't trust
binaries from internet) just tell me --- or I can post instructions on
how to compile it.

BTW, I still think that if ufraw-batch is called with --nolensfun it
should not fails in this case. I tried to follow the option handling,
but I got lost.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https:/
Lauro Moura
2018-10-16 00:13:25 UTC
Permalink
This seems to be the same problem as debian bug 898297. Attached is a
patch that fixed the issue for me (already submitted it to the debian
bug).

** Patch added: "Tentative patch"
https://bugs.launchpad.net/ubuntu/+source/ufraw/+bug/1768855/+attachment/5201431/+files/05_lensfun_destroy_cleanup.patch
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https
Ubuntu Foundations Team Bug Bot
2018-10-16 00:19:41 UTC
Permalink
The attachment "Tentative patch" seems to be a patch. If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://
Nick Smolinske
2018-10-23 23:39:20 UTC
Permalink
I'm running 18.04 and I have this error. However, I was able to get
thumbnails working in Thunar. Ufraw is still segfaulting, but it creates
the thumbnail first. So it seems it might be incidental and this bug is
not causing the thumbnail issue.

The fix for me to get thumbnails was to run:

sudo update-mime-database

Then thunar -q, then restart Thunar.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to lensfun in Ubuntu.
https://bugs.launchpad.net/bugs/1768855

Title:
ufraw-batch in bionic segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufraw/+bug/1768855/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://li
Loading...