[Digikam-devel] [Bug 301528] New: In-painting enhance effect crashes digikam image editor.

Philip Johnsson philip.johnsson at gmail.com
Sat Jun 9 20:21:20 BST 2012


https://bugs.kde.org/show_bug.cgi?id=301528

            Bug ID: 301528
          Severity: normal
           Version: 2.6.0
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: In-painting enhance effect crashes digikam image
                    editor.
    Classification: Unclassified
                OS: Linux
          Reporter: philip.johnsson at gmail.com
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: Inpainting
           Product: digikamimageplugins

This bug might be related to my other reported bug with the restoration effect
as crashes happens about in the same way and both use CIMG backend or something
else in common.

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa6ba8700 (LWP 3793)]
malloc_consolidate (av=0x7fff9c000020) at malloc.c:4240
4240    malloc.c: No such file or directory.
(gdb) bt
#0  malloc_consolidate (av=0x7fff9c000020) at malloc.c:4240
#1  0x00007ffff15c7ec6 in malloc_consolidate (av=0x7fff9c000020)
    at malloc.c:4215
#2  _int_malloc (av=0x7fff9c000020, bytes=2208) at malloc.c:3532
#3  0x00007ffff15caa45 in __GI___libc_malloc (bytes=2208) at malloc.c:2924
#4  0x00007ffff1ecaded in operator new(unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff5738007 in greycstoration_run (nb_threads=2, tile_border=4, 
    tile=256, fast_approx=true, interpolation=0, gauss_prec=2, da=30, 
    dl=0.800000012, gfact=1, sigma=2, alpha=0.800000012, anisotropy=1, 
    sharpness=0.300000012, amplitude=20, mask=..., this=0x4565618)
    at /tmp/buildd/digikam-2.6.0/core/libs/3rdparty/cimg/greycstoration.h:178
#6  Digikam::GreycstorationFilter::inpainting (this=0x3d6bd50)
    at
/tmp/buildd/digikam-2.6.0/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:398
#7  0x00007ffff573a3b0 in Digikam::GreycstorationFilter::filterImage (
    this=0x3d6bd50)
    at
/tmp/buildd/digikam-2.6.0/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:252
#8  0x00007ffff565b8bc in Digikam::DImgThreadedFilter::startFilterDirectly (
    this=0x3d6bd50)
    at
/tmp/buildd/digikam-2.6.0/core/libs/dimg/filters/dimgthreadedfilter.cpp:189
#9  0x00007ffff58239ce in Digikam::DynamicThread::DynamicThreadPriv::run (
    this=0x453ae70)
    at /tmp/buildd/digikam-2.6.0/core/libs/threads/dynamicthread.cpp:186
#10 0x00007ffff24014f2 in QThreadPoolThread::run (this=0x25ff9d0)
    at concurrent/qthreadpool.cpp:107
#11 0x00007ffff240dfcb in QThreadPrivate::start (arg=0x25ff9d0)
    at thread/qthread_unix.cpp:298
#12 0x00007fffece30e9a in start_thread (arg=0x7fffa6ba8700)
    at pthread_create.c:308
#13 0x00007ffff163a4bd in clone ()
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()
(gdb) 


Reproducible: Always

Steps to Reproduce:
1.open an image in image editor
2.select a region of the image with the selection tool.
3.open Enhance > In-painting effect in Digikam Image Editor.
4. Make sure that the effect starts to get calculated.
5. Digikam crashes.
Actual Results:  
In-painting enhance effect applys without crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list