google-code-export / photivo

Automatically exported from code.google.com/p/photivo
GNU General Public License v3.0
3 stars 0 forks source link

Unblocking a*b* curves crushes photivo #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit Lab EyeCandy a*b* curves
2. Block them
3. Allow them before done sign has disappeared
4. Application freezes

What is the expected output? What do you see instead?
Pipe line re-processing and new preview picture

What version of the product are you using? On what operating system?
2011-02-11 (rev 550ae9efc4fa) version, compiled/installed in February 13th

Please provide any additional information below.
attachment contains command line output on Ubuntu 10.10

Original issue reported on code.google.com by giannisl...@yahoo.com on 13 Feb 2011 at 11:46

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, 
sorry Brother John and I cannot reproduce it. Can you reproduce it several 
times? Is it a 32bit version? Could you elaborate a bit more?
greets mike

Original comment by m...@mm-log.com on 13 Feb 2011 at 7:36

GoogleCodeExporter commented 9 years ago
Yes I can reproduce it many times, actually it happens more than not. It's 
32bit on 32bit Ubuntu 10.10. It happened on a relatively slow computer an Asus 
1000h Netbook (1gb ram, atom n270).

It first happened with a minimal set of settings, I later tried it with the 
default set of settings and the same thing happened.

After some further testing it seems that gui hangs after the un-block action of 
the a*b*. No further gui redraw is possible even after some minutes time. 
Changing values in curves while pipe is running won't introduce any problem, 
reseting curves won't introduce any problem too. I block the a*b* curves, 
everything seems ok, the preview gets refreshed. Un-blocking the a*b* curves 
will introduce the crash no matter pipe running or not. I also tried with 
manual pipe, un-blocking the a*b* curves will also result the same crush.

Finally I tried ptClear in case of messed up settings but terminal could not 
find it.

See the crash in the screencast in the attachment

Original comment by giannisl...@yahoo.com on 14 Feb 2011 at 8:14

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for your reply. I still don't get the problem. Could you answer a few 
more questions please? 
Could you check if other curves give this behaviour?
Could you check if other tools in the same tab give this behaviour?
Could you delete (or rename) the .photivo folder in your home directory and 
retest?

greets mike

Original comment by m...@mm-log.com on 14 Feb 2011 at 9:11

GoogleCodeExporter commented 9 years ago
I tried most if not all curves (including curves with the spectrum as the x 
axis) everything worked: adjusting, blocking, unblocking, reseting, everything 
was normal.

Other tools in Lab EyeCandy tab work, beyond other I tried L* curves and tools 
with sliders, they work as expected.

Renaming .photivo in home folder won't affect the a*b* problem.

I did copied the terminal output after compiling graphicsmagick and photivo 
just in case. It is attached below.

Greetings

John

Original comment by giannisl...@yahoo.com on 15 Feb 2011 at 7:56

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I still don't see the problem. Could you please try revision a294c465c1 
from 2nd February?

greets mike

Original comment by m...@mm-log.com on 15 Feb 2011 at 12:34

GoogleCodeExporter commented 9 years ago
You don't understand what causes the crash in source code or how I replicate it?

I tried to recompile lcms2, graphicsmagick in new, clean folders and 
clone/compile photivo in a new folder and I still get the same behavior. 

In order to try revision a294c465c1 do I have to do something other than that?

Original comment by giannisl...@yahoo.com on 15 Feb 2011 at 4:35

GoogleCodeExporter commented 9 years ago
I get what you are doing, just don't know yet what's the problem in the code. 
And since I cannot replicate the crash, it's very hard to debug since I have to 
ask you everything...

For testing that revision, go to the folder containing the full photivo trunk 
and enter: 
hg update a294c465c14b
qmake
make
sudo make install

You can make sure that it is the right version, when the texture overlay and 
the hue curve are missing in Photivo. Still the same problem with this version?

greets mike

Original comment by m...@mm-log.com on 15 Feb 2011 at 6:45

GoogleCodeExporter commented 9 years ago
I runned some tests and they show some interesting results.

On Asus 1000h I updated photivo to revision a294c465c1 and retried exactly what 
I did in the screencast, I got the same crash every time. I noticed that when I 
block a tool (in this case a*b*) it gets minimized. If I maximize the a*b* 
curves and then unblock, everything is working as expected no matter how hard I 
try.

I compiled the last official release of photivo in another laptop (core 2 duo, 
3GB ram) in ubuntu 32bit and it works without any problem including the 
screencast procedure. So as you previously mentioned it seems to be somewhat 
hardware dependent.

Greetings

John

Original comment by giannisl...@yahoo.com on 16 Feb 2011 at 2:20

GoogleCodeExporter commented 9 years ago
Hi John, 

thank you for your efforts. Maybe it's not the hardware but the QT version 
installed on the computers? Could you test this?

greets mike

Original comment by m...@mm-log.com on 16 Feb 2011 at 3:23

GoogleCodeExporter commented 9 years ago
Sure, post anything you want me to test.

Greetings

John

Original comment by giannisl...@yahoo.com on 16 Feb 2011 at 4:35

GoogleCodeExporter commented 9 years ago
I have crashes with this problem as well.  I am using a 32-bit binary, on linux

Linux laminaria 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48
UTC 2011 i686 GNU/Linux

The first run was a standard run, display a photo.  I blocked a*b*,
then unblocked it, resulting in a crash and the following output.

In the second run, I ran photivo under valgrind.  I did not display a
photo here, but blocked a*b*, then unblocked it.  Note that this
resulted in a valgrind internal error.  However, before the valgrind
crash, valgrind noticed a number of uses of uninitialized memory,
invalid writes,

kevin@laminaria:~$ photivo
Photivo version 2011-01-29 (rev 1f11b4f74bcf)
Existing settingsfile '/home/kevin/.photivo/photivo.ini'
User directory: '/home/kevin/.photivo/';
Share directory: '/usr/local/share/photivo/';
Initializing/Updating user profile...
Language 'en_US'; Translation enabled: 0
Lensfun database: '/home/kevin/.photivo/LensfunDatabase';
(../Sources/ptMain.cpp,1353) void UpdatePreviewImage(const ptImage*, short int)
Progress : Loading curves (CurveRGB)
Progress : Loading curves (CurveR)
Progress : Loading curves (CurveG)
Progress : Loading curves (CurveB)
Progress : Loading curves (CurveL)
Progress : Loading curves (CurveLa)
Progress : Loading curves (CurveLb)
Progress : Loading curves (CurveSaturation)
Progress : Loading curves (BaseCurve)
Progress : Loading curves (BaseCurve2)
Progress : Loading curves (CurveLByHue)
Progress : Loading curves (CurveTexture)
Progress : Loading curves (CurveShadowsHighlights)
Progress : Loading curves (CurveDenoise)
Progress : Loading curves (CurveHue)
Progress : Ready
Progress : Loading channelmixers
Progress : Ready
Progress : Reading file
(../Sources/ptDcRaw.cpp,62) 'DcRaw::DcRaw()'
(../Sources/ptProcessor.cpp,141) void ptProcessor::Run(short int,
short int, short int, short int)
(../Sources/ptProcessor.cpp,  233): Starting DcRaw at 2 ms.
Progress : Reading RAW file
(../Sources/ptDcRaw.cpp   , 8058): PreMult[0]          : 1.000000
(../Sources/ptDcRaw.cpp   , 8059): PreMult[1]          : 1.000000
(../Sources/ptDcRaw.cpp   , 8060): PreMult[2]          : 1.000000
(../Sources/ptDcRaw.cpp   , 8061): PreMult[3]          : 0.000000
(../Sources/ptDcRaw.cpp   , 8066): D65Mult[0]          : 2.064893
(../Sources/ptDcRaw.cpp   , 8067): D65Mult[1]          : 0.932275
(../Sources/ptDcRaw.cpp   , 8068): D65Mult[2]          : 1.112176
(../Sources/ptDcRaw.cpp   , 8069): D65Mult[3]          : 0.000000
(../Sources/ptDcRaw.cpp   , 8075): RawWidth            : 4288
(../Sources/ptDcRaw.cpp   , 8076): RawHeight           : 2844
(../Sources/ptDcRaw.cpp   , 8077): TopMargin           : 0
(../Sources/ptDcRaw.cpp   , 8078): LeftMargin          : 2
(../Sources/ptDcRaw.cpp   , 8079): BlackLevel          : 0
(../Sources/ptDcRaw.cpp   , 8090): OutWidth            : 4284
(../Sources/ptDcRaw.cpp   , 8091): Width               : 4284
(../Sources/ptDcRaw.cpp   , 8097): US_CameraWB         : 1
(../Sources/ptDcRaw.cpp   , 8098): US_CameraMatr       : -1
(../Sources/ptDcRaw.cpp   , 8099): CameraMatrix        : 1
(../Sources/ptDcRaw.cpp   , 8100): m_cmatrix[0][0      : 0.000000
(../Sources/ptDcRaw.cpp   , 8118): CameraMake          : NIKON
(../Sources/ptDcRaw.cpp   , 8119): CameraModel         : D700
(../Sources/ptDcRaw.cpp   , 8120): InputFile           :
/home/kevin/Nikon/DCIM/100ND700/DSC_0966.NEF
(../Sources/ptDcRaw.cpp   , 8121): Filters             : b4b4b4b4
(../Sources/ptDcRaw.cpp   , 8157): m_Width             : 4284
(../Sources/ptDcRaw.cpp   , 8158): m_Height            : 2844
(../Sources/ptDcRaw.cpp   , 8159): m_ReportedWidth     : 4284
(../Sources/ptDcRaw.cpp   , 8160): m_ReportedHeight    : 2844
(../Sources/ptDcRaw.cpp   , 8162): PreMult[0]          : 1.000000
(../Sources/ptDcRaw.cpp   , 8163): PreMult[1]          : 1.000000
(../Sources/ptDcRaw.cpp   , 8164): PreMult[2]          : 1.000000
(../Sources/ptDcRaw.cpp   , 8165): PreMult[3]          : 0.000000
(../Sources/ptDcRaw.cpp   , 8170): D65Mult[0]          : 2.064893
(../Sources/ptDcRaw.cpp   , 8171): D65Mult[1]          : 0.932275
(../Sources/ptDcRaw.cpp   , 8172): D65Mult[2]          : 1.112176
(../Sources/ptDcRaw.cpp   , 8173): D65Mult[3]          : 0.000000
(../Sources/ptDcRaw.cpp   , 8178): Colors              : 3
(../Sources/ptDcRaw.cpp   , 8179): Filters             : b4b4b4b4
(../Sources/ptProcessor.cpp,  249): ImageW              : 4284
(../Sources/ptProcessor.cpp,  250): ImageH              : 2844
Progress : Reading exif info
Warning: Exif tag Exif.NikonPreview.JPEGInterchangeFormatLength not encoded
Warning: Exif IFD NikonPreview not encoded
Warning: Exif tag Exif.NikonPreview.JPEGInterchangeFormatLength not encoded
Warning: Exif IFD NikonPreview not encoded
(../Sources/ptProcessor.cpp,  259): Opened RAW at 3343 ms.
Progress : Demosaicing
(../Sources/ptDcRaw.cpp   , 8245): Shrink              : 1
(../Sources/ptDcRaw.cpp   , 8247): BlackLevel          : 0
(../Sources/ptDcRaw.cpp   , 8248): WhiteLevel          : 4095
(../Sources/ptDcRaw.cpp   , 8249): Colors              : 3
(../Sources/ptDcRaw.cpp   , 8251): Phase2 begin Width  : 4284
(../Sources/ptDcRaw.cpp   , 8252): Phase2 begin Height : 2844
(../Sources/ptDcRaw.cpp   , 8253): Phase2 begin OutWidth: 4284
(../Sources/ptDcRaw.cpp   , 8254): Phase2 begin OutHeight: 2844
(../Sources/ptDcRaw.cpp   , 3747): Setting PreMultipliers due to
CameraMultipliers:
(../Sources/ptDcRaw.cpp   , 3769): PreMult[0]          : 2.335938
(../Sources/ptDcRaw.cpp   , 3770): PreMult[1]          : 1.000000
(../Sources/ptDcRaw.cpp   , 3771): PreMult[2]          : 1.054688
(../Sources/ptDcRaw.cpp   , 3772): PreMult[3]          : 1.000000
(../Sources/ptDcRaw.cpp   , 3791): dmax                : 2.335938
(../Sources/ptDcRaw.cpp   , 3792): dmin                : 1.000000
(../Sources/ptDcRaw.cpp   , 3793): m_MinPreMulti       : 0.428094
(../Sources/ptDcRaw.cpp   , 3794): PreMult[0]          : 1.000000
(../Sources/ptDcRaw.cpp   , 3795): PreMult[1]          : 0.428094
(../Sources/ptDcRaw.cpp   , 3796): PreMult[2]          : 0.451505
(../Sources/ptDcRaw.cpp   , 3797): PreMult[3]          : 0.428094
(../Sources/ptDcRaw.cpp   , 3802): Mult[0]             : 16.003662
(../Sources/ptDcRaw.cpp   , 3803): Mult[1]             : 6.851067
(../Sources/ptDcRaw.cpp   , 3804): Mult[2]             : 7.225734
(../Sources/ptDcRaw.cpp   , 3805): Mult[3]             : 6.851067
(../Sources/ptDcRaw.cpp   , 3811): Scaling colors      :
(../Sources/ptDcRaw.cpp   , 8297): Colors              : 3
(../Sources/ptDcRaw.cpp   , 4042): pre_interpolate     :
(../Sources/ptDcRaw.cpp   , 8320): Colors              : 4
(../Sources/ptDcRaw.cpp   , 8364): Interpolation type  : 5
(../Sources/ptDcRaw.cpp   , 8444): BlackLevel          : 0
(../Sources/ptDcRaw.cpp   , 8445): WhiteLevel          : 4095
(../Sources/ptDcRaw.cpp   , 8446): Colors              : 3
(../Sources/ptDcRaw.cpp   , 8447): Filters             : 0
(../Sources/ptDcRaw.cpp   , 8449): Phase2 end Width    : 1071
(../Sources/ptDcRaw.cpp   , 8450): Phase2 end Height   : 711
(../Sources/ptDcRaw.cpp   , 8451): Phase2 end OutWidth : 1071
(../Sources/ptDcRaw.cpp   , 8452): Phase2 end OutHeight: 711
(../Sources/ptProcessor.cpp,  269): Done Color Scaling and
Interpolation at 3894 ms.
Progress : Recovering highlights
(../Sources/ptDcRaw.cpp   , 8480): CamMult[0]          : 2.335938
(../Sources/ptDcRaw.cpp   , 8481): CamMult[1]          : 1.000000
(../Sources/ptDcRaw.cpp   , 8482): CamMult[2]          : 1.054688
(../Sources/ptDcRaw.cpp   , 8483): CamMult[3]          : 0.000000
(../Sources/ptDcRaw.cpp   , 3841): ClipMode            : 4
(../Sources/ptDcRaw.cpp   , 3842): ClipParameter       : 0
(../Sources/ptDcRaw.cpp   , 3844): m_Multi[0]          : 16.003662
(../Sources/ptDcRaw.cpp   , 3845): m_Multi[1]          : 6.851067
(../Sources/ptDcRaw.cpp   , 3846): m_Multi[2]          : 7.225734
(../Sources/ptDcRaw.cpp   , 3847): m_Multi[3]          : 6.851067
(../Sources/ptDcRaw.cpp   , 3853): m_MinPreMulti       : 0.428094
(../Sources/ptProcessor.cpp,  278): Done Highlights at 4001 ms.
(../Sources/ptProcessor.cpp,  304): Found adobe profile :
/home/kevin/.photivo/Profiles/Camera/Standard/NIKON_D700.icc
(../Sources/ptProcessor.cpp,  305): Found profile at 4001 ms.
(../Sources/ptSettings.cpp, 1507): EOSExposureNorm     : 1.000000
(../Sources/ptSettings.cpp, 1513): ExposureNorm(EV)    : 1.224002
(../Sources/ptProcessor.cpp,  363): Done m_Image_AfterDcRaw transfer
to GUI at 4245 ms.
(../Sources/ptProcessor.cpp,  412): Done lensfun corrections at 4257 ms.
Progress : RGB to RGB
(../Sources/ptProcessor.cpp,  475): RotateW             : 4284
(../Sources/ptProcessor.cpp,  476): RotateH             : 2844
(../Sources/ptProcessor.cpp,  508): CropW               : 4284
(../Sources/ptProcessor.cpp,  509): CropH               : 2844
Progress : Next
Progress : Vibrance
Progress : Correcting Exposure
(../Sources/ptProcessor.cpp,  732): ExposureFactor      : 2.335938
Progress : Texture contrast 1
(../Sources/ptProcessor.cpp, 1042): Done conversion to LAB at 4461 ms.
(../Sources/ptProcessor.cpp, 1051): Done texture contrast 1 at 4991 ms.
Progress : Texture contrast 2
(../Sources/ptProcessor.cpp, 1072): Done texture contrast 2 at 5381 ms.
Progress : Wiener Filter
(../Sources/ptProcessor.cpp, 1607): Done Wiener Filter at 6837 ms.
Progress : Lab to RGB
(../Sources/ptProcessor.cpp, 2134): Done conversion to RGB at 6892 ms.
(../Sources/ptProcessor.cpp, 2474): Done pipe processing at 6894 ms.
Progress : Ready
Progress : Updating preview image
Progress : Converting to screen space
Progress : Applying RGB Contrast
Progress : Ready
*** glibc detected *** photivo: free(): corrupted unsorted chunks:
0x09ee26b0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6c501)[0xe5c501]
/lib/libc.so.6(+0x6dd70)[0xe5dd70]
/lib/libc.so.6(cfree+0x6d)[0xe60e5d]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x520441]
/usr/lib/libQtGui.so.4(_ZN14QX11PixmapDataD0Ev+0x61)[0x486b0f1]
/usr/lib/libQtGui.so.4(_ZN7QPixmapD0Ev+0x46)[0x4856096]
photivo[0x8281a3b]
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x17e)[0x47b8a5e]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent
+0xac)[0x475afdc]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x219)[0x47610
e9]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+
0x7b)[0x17edb3b]
/usr/lib/libQtGui.so.4(_ZN16QCoreApplication9sendEventEP7QObjectP6QEvent+0x3e)[0
x47696ce]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate17setEnabled_helperEb+0x1d7)[0x47ba137
]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate17setEnabled_helperEb+0x12e)[0x47ba08e
]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate17setEnabled_helperEb+0x12e)[0x47ba08e
]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate17setEnabled_helperEb+0x12e)[0x47ba08e
]
/usr/lib/libQtGui.so.4(_ZN7QWidget10setEnabledEb+0x52)[0x47ba2c2]
photivo[0x82daa93]
photivo[0x82de9e8]
photivo[0x82f7113]
/usr/lib/libQtCore.so.4(_ZN11QMetaObject8metacallEP7QObjectNS_4CallEiPPv+0x3a)[0
x17f38ca]
/usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x29d)[0x180
66ad]
/usr/lib/libQtGui.so.4(_ZN7QAction9triggeredEb+0x49)[0x4752f99]
/usr/lib/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0x7c)[0x47548dc]
/usr/lib/libQtGui.so.4(+0x5f17ef)[0x4c207ef]
/usr/lib/libQtGui.so.4(+0x5f7a4b)[0x4c26a4b]
/usr/lib/libQtGui.so.4(_ZN5QMenu17mouseReleaseEventEP11QMouseEvent+0x100)[0x4c27
5e0]
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x528)[0x47b8e08]
/usr/lib/libQtGui.so.4(_ZN5QMenu5eventEP6QEvent+0x6f)[0x4c2902f]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent
+0xac)[0x475afdc]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xd5e)[0x4761c
2e]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+
0x7b)[0x17edb3b]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMou
seEventS1_S1_PS1_R8QPointerIS0_Eb+0xf4)[0x4760094]
/usr/lib/libQtGui.so.4(+0x1c0261)[0x47ef261]
/usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x1791)[0x47
ee151]
/usr/lib/libQtGui.so.4(+0x1ee36a)[0x481d36a]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d5)[0x4252855]
/lib/libglib-2.0.so.0(+0x41668)[0x4256668]
/lib/libglib-2.0.so.0(g_main_context_iteration+0x68)[0x4256848]
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEve
ntLoop17ProcessEventsFlagEE+0x65)[0x181c565]
/usr/lib/libQtGui.so.4(+0x1edbe5)[0x481cbe5]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEvent
sFlagEE+0x49)[0x17ec609]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x
fa)[0x17eca8a]
/usr/lib/libQtGui.so.4(_ZN5QMenu4execERK6QPointP7QAction+0x7e)[0x4c23efe]
photivo[0x82dad51]
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x50c)[0x47b8dec]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent
+0xac)[0x475afdc]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xd5e)[0x4761c
2e]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+
0x7b)[0x17edb3b]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMou
seEventS1_S1_PS1_R8QPointerIS0_Eb+0xf4)[0x4760094]
/usr/lib/libQtGui.so.4(+0x1bfd10)[0x47eed10]
/usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x1791)[0x47
ee151]
/usr/lib/libQtGui.so.4(+0x1ee36a)[0x481d36a]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d5)[0x4252855]
/lib/libglib-2.0.so.0(+0x41668)[0x4256668]
/lib/libglib-2.0.so.0(g_main_context_iteration+0x68)[0x4256848]
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEve
ntLoop17ProcessEventsFlagEE+0x65)[0x181c565]
/usr/lib/libQtGui.so.4(+0x1edbe5)[0x481cbe5]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEvent
sFlagEE+0x49)[0x17ec609]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x
fa)[0x17eca8a]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xaf)[0x17f100f]
/usr/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x27)[0x4759e07]
photivo[0x81c98b0]
======= Memory map: ========
00110000-00133000 r-xp 00000000 08:06 13182026   /lib/libpng12.so.0.44.0
00133000-00134000 r--p 00022000 08:06 13182026   /lib/libpng12.so.0.44.0
00134000-00135000 rw-p 00023000 08:06 13182026   /lib/libpng12.so.0.44.0
00135000-0013c000 r-xp 00000000 08:06 15747401   /usr/lib/libSM.so.6.0.1
0013c000-0013d000 r--p 00006000 08:06 15747401   /usr/lib/libSM.so.6.0.1
0013d000-0013e000 rw-p 00007000 08:06 15747401   /usr/lib/libSM.so.6.0.1
00141000-00142000 r-xp 00000000 00:00 0          [vdso]
00142000-002d3000 r-xp 00000000 08:06 4333891    /usr/lib/libexiv2.so.6.0.0
002d3000-002e3000 r--p 00190000 08:06 4333891    /usr/lib/libexiv2.so.6.0.0
002e3000-002e4000 rw-p 001a0000 08:06 4333891    /usr/lib/libexiv2.so.6.0.0
002e4000-002ef000 rw-p 00000000 00:00 0
002ef000-00346000 r-xp 00000000 08:06 14703260   /usr/lib/libtiff.so.4.3.3
00346000-00347000 ---p 00057000 08:06 14703260   /usr/lib/libtiff.so.4.3.3
00347000-00349000 r--p 00057000 08:06 14703260   /usr/lib/libtiff.so.4.3.3
00349000-0034a000 rw-p 00059000 08:06 14703260   /usr/lib/libtiff.so.4.3.3
0034a000-0035a000 r-xp 00000000 08:06 13212787   /lib/libbz2.so.1.0.4
0035a000-0035b000 r--p 0000f000 08:06 13212787   /lib/libbz2.so.1.0.4
0035b000-0035c000 rw-p 00010000 08:06 13212787   /lib/libbz2.so.1.0.4
0035c000-0035f000 r-xp 00000000 08:06 13181988   /lib/libuuid.so.1.3.0
0035f000-00360000 r--p 00002000 08:06 13181988   /lib/libuuid.so.1.3.0
00360000-00361000 rw-p 00003000 08:06 13181988   /lib/libuuid.so.1.3.0
00362000-00391000 r-xp 00000000 08:06 4332594    /usr/lib/liblcms.so.1.0.18
00391000-00392000 r--p 0002e000 08:06 4332594    /usr/lib/liblcms.so.1.0.18
00392000-00393000 rw-p 0002f000 08:06 4332594    /usr/lib/liblcms.so.1.0.18
00393000-00395000 rw-p 00000000 00:00 0
00395000-00407000 r-xp 00000000 08:06 14700731   /usr/lib/libfreetype.so.6.6.0
00407000-0040b000 r--p 00071000 08:06 14700731   /usr/lib/libfreetype.so.6.6.0
0040b000-0040c000 rw-p 00075000 08:06 14700731   /usr/lib/libfreetype.so.6.6.0
0040c000-0041f000 r-xp 00000000 08:06 3667045    /lib/libz.so.1.2.3.4
0041f000-00420000 r--p 00012000 08:06 3667045    /lib/libz.so.1.2.3.4
00420000-00421000 rw-p 00013000 08:06 3667045    /lib/libz.so.1.2.3.4
00421000-0042c000 r-xp 00000000 08:06 14702619   /usr/lib/libgomp.so.1.0.0
0042c000-0042d000 r--p 0000a000 08:06 14702619   /usr/lib/libgomp.so.1.0.0
0042d000-0042e000 rw-p 0000b000 08:06 14702619   /usr/lib/libgomp.so.1.0.0
0042e000-00430000 r-xp 00000000 08:06 14703429   /usr/lib/libXau.so.6.0.0
00430000-00431000 r--p 00001000 08:06 14703429   /usr/lib/libXau.so.6.0.0
00431000-00432000 rw-p 00002000 08:06 14703429   /usr/lib/libXau.so.6.0.0
00435000-00471000 r-xp 00000000 08:06 4203102
/usr/local/lib/liblcms2.so.2.0.1
00471000-00472000 r--p 0003b000 08:06 4203102
/usr/local/lib/liblcms2.so.2.0.1
00472000-00476000 rw-p 0003c000 08:06 4203102
/usr/local/lib/liblcms2.so.2.0.1
00476000-00555000 r-xp 00000000 08:06 14701139   /usr/lib/libstdc++.so.6.0.14
00555000-00559000 r--p 000de000 08:06 14701139   /usr/lib/libstdc++.so.6.0.14
00559000-0055a000 rw-p 000e2000 08:06 14701139   /usr/lib/libstdc++.so.6.0.14
0055a000-00561000 rw-p 00000000 00:00 0
00561000-0057b000 r-xp 00000000 08:06 13212786   /lib/libgcc_s.so.1
0057b000-0057c000 r--p 00019000 08:06 13212786   /lib/libgcc_s.so.1
0057c000-0057d000 rw-p 0001a000 08:06 13212786   /lib/libgcc_s.so.1
0057d000-00596000 r-xp 00000000 08:06 14703166   /usr/lib/liblensfun.so.0.2.5
00596000-00597000 r--p 00018000 08:06 14703166   /usr/lib/liblensfun.so.0.2.5
00597000-00598000 rw-p 00019000 08:06 14703166   /usr/lib/liblensfun.so.0.2.5
00598000-006b1000 r-xp 00000000 08:06 14700650   /usr/lib/libX11.so.6.3.0
006b1000-006b2000 r--p 00118000 08:06 14700650   /usr/lib/libX11.so.6.3.0
006b2000-006b4000 rw-p 00119000 08:06 14700650   /usr/lib/libX11.so.6.3.0
006b4000-006b5000 rw-p 00000000 00:00 0
006b5000-007d7000 r-xp 00000000 08:06 14703169   /usr/lib/libxml2.so.2.7.7
007d7000-007db000 r--p 00121000 08:06 14703169   /usr/lib/libxml2.so.2.7.7
007db000-007dc000 rw-p 00125000 08:06 14703169   /usr/lib/libxml2.so.2.7.7
007dc000-007dd000 rw-p 00000000 00:00 0
007dd000-00801000 r-xp 00000000 08:06 13182114   /lib/libexpat.so.1.5.2
00801000-00803000 r--p 00024000 08:06 13182114   /lib/libexpat.so.1.5.2
00803000-00804000 rw-p 00026000 08:06 13182114   /lib/libexpat.so.1.5.2
00804000-0081c000 r-xp 00000000 08:06 14703436   /usr/lib/libxcb.so.1.1.0
0081c000-0081d000 r--p 00017000 08:06 14703436   /usr/lib/libxcb.so.1.1.0
0081d000-0081e000 rw-p 00018000 08:06 14703436   /usr/lib/libxcb.so.1.1.0
0081e000-00825000 r-xp 00000000 08:06 13181973   /lib/librt-2.12.1.so
00825000-00826000 r--p 00006000 08:06 13181973   /lib/librt-2.12.1.so
00826000-00827000 rw-p 00007000 08:06 13181973   /lib/librt-2.12.1.so
00827000-0082f000 r-xp 00000000 08:06 14702690   /usr/lib/libXrender.so.1.3.0
0082f000-00830000 r--p 00007000 08:06 14702690   /usr/lib/libXrender.so.1.3.0
00830000-00831000 rw-p 00008000 08:06 14702690   /usr/lib/libXrender.so.1.3.0
00831000-00835000 r-xp 00000000 08:06 14700648   /usr/lib/libXdmcp.so.6.0.0
00835000-00836000 r--p 00003000 08:06 14700648   /usr/lib/libXdmcp.so.6.0.0
00836000-00837000 rw-p 00004000 08:06 14700648   /usr/lib/libXdmcp.so.6.0.0
00837000-00839000 r-xp 00000000 08:06 4546162    /usr/lib/gconv/UTF-16.so
00839000-0083a000 r--p 00001000 08:06 4546162    /usr/lib/gconv/UTF-16.so
0083a000-0083b000 rw-p 00002000 08:06 4546162    /usr/lib/gconv/UTF-16.so
0083d000-0083f000 r-xp 00000000 08:06 13181960   /lib/libdl-2.12.1.so
0083f000-00840000 r--p 00001000 08:06 13181960   /lib/libdl-2.12.1.so
00840000-00841000 rw-p 00002000 08:06 13181960   /lib/libdl-2.12.1.so
00841000-0086f000 r-xp 00000000 08:06 14700613   /usr/lib/libfontconfig.so.1.4.4
0086f000-00870000 r--p 0002d000 08:06 14700613   /usr/lib/libfontconfig.so.1.4.4
00870000-00871000 rw-p 0002e000 08:06 14700613   /usr/lib/libfontconfig.so.1.4.4
00871000-00886000 r-xp 00000000 08:06 14703231   /usr/lib/libaudio.so.2.4
00886000-00887000 r--p 00015000 08:06 14703231   /usr/lib/libaudio.so.2.4
00887000-00888000 rw-p 00016000 08:06 14703231   /usr/lib/libaudio.so.2.4
00888000-0088e000 r-xp 00000000 08:06 15747126   /usr/lib/libXrandr.so.2.2.0
0088e000-0088f000 r--p 00005000 08:06 15747126   /usr/lib/libXrandr.so.2.2.0
0088f000-00890000 rw-p 00006000 08:06 15747126   /usr/lib/libXrandr.so.2.2.0
00890000-00894000 r-xp 00000000 08:06 14701404   /usr/lib/libXfixes.so.3.1.0
00894000-00895000 r--p 00003000 08:06 14701404   /usr/lib/libXfixes.so.3.1.0
00895000-00896000 rw-p 00004000 08:06 14701404   /usr/lib/libXfixes.so.3.1.0
00896000-00898000 r-xp 00000000 08:06 14701375   /usr/lib/libXinerama.so.1.0.0
00898000-00899000 r--p 00001000 08:06 14701375   /usr/lib/libXinerama.so.1.0.0
00899000-0089a000 rw-p 00002000 08:06 14701375   /usr/lib/libXinerama.so.1.0.0
0089a000-008be000 r-xp 00000000 08:06 13181961   /lib/libm-2.12.1.so
008be000-008bf000 r--p 00023000 08:06 13181961   /lib/libm-2.12.1.so
008bf000-008c0000 rw-p 00024000 08:06 13181961   /lib/libm-2.12.1.so
008c0000-008c2000 r-xp 00000000 08:06 15747109
/usr/lib/libgmodule-2.0.so.0.2600.0
008c2000-008c3000 r--p 00002000 08:06 15747109
/usr/lib/libgmodule-2.0.so.0.2600.0
008c3000-008c4000 rw-p 00003000 08:06 15747109
/usr/lib/libgmodule-2.0.so.0.2600.0
008c5000-008d3000 r-xp 00000000 08:06 14701206   /usr/lib/libXext.so.6.4.0
008d3000-008d4000 r--p 0000d000 08:06 14701206   /usr/lib/libXext.so.6.4.0
008d4000-008d5000 rw-p 0000e000 08:06 14701206   /usr/lib/libXext.so.6.4.0
008d5000-0094e000 r-xp 00000000 08:06 14700923   /usr/lib/libQtDBus.so.4.7.0
0094e000-0094f000 r--p 00079000 08:06 14700923   /usr/lib/libQtDBus.so.4.7.0
0094f000-00950000 rw-p 0007a000 08:06 14700923   /usr/lib/libQtDBus.so.4.7.0
00950000-00990000 r-xp 00000000 08:06 4333068
/usr/lib/libgobject-2.0.so.0.2600.0
00990000-00991000 r--p 00040000 08:06 4333068
/usr/lib/libgobject-2.0.so.0.2600.0
00991000-00992000 rw-p 00041000 08:06 4333068
/usr/lib/libgobject-2.0.so.0.2600.0
00993000-009a8000 r-xp 00000000 08:06 13181971   /lib/libpthread-2.12.1.so
009a8000-009a9000 ---p 00015000 08:06 13181971   /lib/libpthread-2.12.1.so
009a9000-009aa000 r--p 00015000 08:06 13181971   /lib/libpthread-2.12.1.so
009aa000-009ab000 rw-p 00016000 08:06 13181971   /lib/libpthread-2.12.1.so
009ab000-009ad000 rw-p 00000000 00:00 0
009ad000-009e0000 r-xp 00000000 08:06 3667038    /lib/libpcre.so.3.12.1
009e0000-009e1000 r--p 00032000 08:06 3667038    /lib/libpcre.so.3.12.1
009e1000-009e2000 rw-p 00033000 08:06 3667038    /lib/libpcre.so.3.12.1
009e2000-00a23000 r-xp 00000000 08:06 14701293   /usr/lib/libQtXml.so.4.7.0
00a23000-00a24000 r--p 00041000 08:06 14701293   /usr/lib/libQtXml.so.4.7.0
00a24000-00a25000 rw-p 00042000 08:06 14701293   /usr/lib/libQtXml.so.4.7.0
00a25000-00a2d000 r-xp 00000000 08:06 14701415   /usr/lib/libXcursor.so.1.0.2
00a2d000-00a2e000 r--p 00007000 08:06 14701415   /usr/lib/libXcursor.so.1.0.2
00a2e000-00a2f000 rw-p 00008000 08:06 14701415   /usr/lib/libXcursor.so.1.0.2
00a2f000-00a3b000 r-xp 00000000 08:06 14701383   /usr/lib/libXi.so.6.1.0
00a3b000-00a3c000 r--p 0000b000 08:06 14701383   /usr/lib/libXi.so.6.1.0
00a3c000-00a3d000 rw-p 0000c000 08:06 14701383   /usr/lib/libXi.so.6.1.0
00a3d000-00a43000 r-xp 00000000 08:06 13181964   /lib/libnss_compat-2.12.1.so
00a43000-00a44000 r--p 00006000 08:06 13181964   /lib/libnss_compat-2.12.1.so
00a44000-00a45000 rw-p 00007000 08:06 13181964   /lib/libnss_compat-2.12.1.so
00a45000-00a47000 r-xp 00000000 08:06 14701429   /usr/lib/libXcomposite.so.1.0.0
00a47000-00a48000 r--p 00001000 08:06 14701429   /usr/lib/libXcomposite.so.1.0.0
00a48000-00a49000 rw-p 00002000 08:06 14701429   /usr/lib/libXcomposite.so.1.0.0
00a4b000-00a52000 r-xp 00000000 08:06 18893151   /usr/lib/libltdl.so.7.2.1
00a52000-00a53000 r--p 00006000 08:06 18893151   /usr/lib/libltdl.so.7.2.1
00a53000-00a54000 rw-p 00007000 08:06 18893151   /usr/lib/libltdl.so.7.2.1
00a55000-00ad5000 r-xp 00000000 08:06 13557777
/usr/local/lib/libGraphicsMagick++.so.3.3.0
00ad5000-00ad7000 r--p 0007f000 08:06 13557777
/usr/local/lib/libGraphicsMagick++.so.3.3.0
00ad7000-00ad9000 rw-p 00081000 08:06 13557777
/usr/local/lib/libGraphicsMagick++.so.3.3.0
00ad9000-00b06000 r-xp 00000000 08:06 14703474   /usr/lib/libgconf-2.so.4.1.5
00b06000-00b07000 ---p 0002d000 08:06 14703474   /usr/lib/libgconf-2.so.4.1.5
00b07000-00b08000 r--p 0002d000 08:06 14703474   /usr/lib/libgconf-2.so.4.1.5
00b08000-00b0a000 rw-p 0002e000 08:06 14703474   /usr/lib/libgconf-2.so.4.1.5
00b0a000-00b13000 r-xp 00000000 08:06 13181968   /lib/libnss_nis-2.12.1.so
00b13000-00b14000 r--p 00008000 08:06 13181968   /lib/libnss_nis-2.12.1.so
00b14000-00b15000 rw-p 00009000 08:06 13181968   /lib/libnss_nis-2.12.1.so

kevin@laminaria:~$ valgrind photivo
==3885== Memcheck, a memory error detector
==3885== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==3885== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==3885== Command: photivo
==3885==
Photivo version 2011-01-29 (rev 1f11b4f74bcf)
Existing settingsfile '/home/kevin/.photivo/photivo.ini'
User directory: '/home/kevin/.photivo/';
Share directory: '/usr/local/share/photivo/';
Initializing/Updating user profile...
Language 'en_US'; Translation enabled: 0
Lensfun database: '/home/kevin/.photivo/LensfunDatabase';
==3885== Conditional jump or move depends on uninitialised value(s)
==3885==    at 0x47D5611: inflateReset2 (in /lib/libz.so.1.2.3.4)
==3885==    by 0x47D56EC: inflateInit2_ (in /lib/libz.so.1.2.3.4)
==3885==    by 0x47D5762: inflateInit_ (in /lib/libz.so.1.2.3.4)
==3885==    by 0x4513F13: png_create_read_struct_2 (in /lib/libpng12.so.0.44.0)
==3885==    by 0x45140F9: png_create_read_struct (in /lib/libpng12.so.0.44.0)
==3885==    by 0x4E00A53: QPngHandlerPrivate::readPngHeader()
(qpnghandler.cpp:356)
==3885==    by 0x4E0148A: QPngHandlerPrivate::readPngImage(QImage*)
(qpnghandler.cpp:427)
==3885==    by 0x4DC923B: QImageReader::read(QImage*) (qimagereader.cpp:1205)
==3885==    by 0x4DC9876: QImageReader::read() (qimagereader.cpp:1155)
==3885==    by 0x4DE0CFA: QPixmapData::fromFile(QString const&, char
const*, QFlags<Qt::ImageConversionFlag>) (qpixmapdata.cpp:137)
==3885==    by 0x4DDB8F3: QPixmap::load(QString const&, char const*,
QFlags<Qt::ImageConversionFlag>) (qpixmap.cpp:846)
==3885==    by 0x4DDBCEC: QPixmap::QPixmap(QString const&, char
const*, QFlags<Qt::ImageConversionFlag>) (qpixmap.cpp:260)
==3885==
==3885== Conditional jump or move depends on uninitialised value(s)
==3885==    at 0x510FBD2: QAbstractSlider::setRange(int, int)
(qabstractslider.cpp:249)
==3885==    by 0x828F5D8: ??? (in /usr/local/bin/photivo)
==3885==    by 0x51FD4D4:
QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*)
(qabstractscrollarea_p.h:100)
==3885==    by 0x57DF299:
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*,
QEvent*) (qcoreapplication.cpp:847)
==3885==    by 0x4CDDFB8: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4392)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4D3ADF8:
QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool)
(qcoreapplication.h:215)
==3885==    by 0x4D40528: QWidgetPrivate::show_helper() (qwidget.cpp:7308)
==3885==    by 0x4D41E9A: QWidget::setVisible(bool) (qwidget.cpp:7589)
==3885==    by 0x4D40A1F: QWidgetPrivate::showChildren(bool) (qwidget.h:487)
==3885==    by 0x4D40550: QWidgetPrivate::show_helper() (qwidget.cpp:7314)
==3885==
==3885== Conditional jump or move depends on uninitialised value(s)
==3885==    at 0x510FBD2: QAbstractSlider::setRange(int, int)
(qabstractslider.cpp:249)
==3885==    by 0x828F615: ??? (in /usr/local/bin/photivo)
==3885==    by 0x51FD4D4:
QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*)
(qabstractscrollarea_p.h:100)
==3885==    by 0x57DF299:
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*,
QEvent*) (qcoreapplication.cpp:847)
==3885==    by 0x4CDDFB8: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4392)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4D3ADF8:
QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool)
(qcoreapplication.h:215)
==3885==    by 0x4D40528: QWidgetPrivate::show_helper() (qwidget.cpp:7308)
==3885==    by 0x4D41E9A: QWidget::setVisible(bool) (qwidget.cpp:7589)
==3885==    by 0x4D40A1F: QWidgetPrivate::showChildren(bool) (qwidget.h:487)
==3885==    by 0x4D40550: QWidgetPrivate::show_helper() (qwidget.cpp:7314)
==3885==
(../Sources/ptMain.cpp,1353) void UpdatePreviewImage(const ptImage*, short int)
==3885== Conditional jump or move depends on uninitialised value(s)
==3885==    at 0x510FBD2: QAbstractSlider::setRange(int, int)
(qabstractslider.cpp:249)
==3885==    by 0x82957EA: ??? (in /usr/local/bin/photivo)
==3885==    by 0x816CA72: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8177D7B: ??? (in /usr/local/bin/photivo)
==3885==    by 0x81C97CF: ??? (in /usr/local/bin/photivo)
==3885==    by 0x81CB48B: ??? (in /usr/local/bin/photivo)
==3885==    by 0x5A86CE6: (below main) (libc-start.c:226)
==3885==
==3885== Conditional jump or move depends on uninitialised value(s)
==3885==    at 0x510FBD2: QAbstractSlider::setRange(int, int)
(qabstractslider.cpp:249)
==3885==    by 0x829582B: ??? (in /usr/local/bin/photivo)
==3885==    by 0x816CA72: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8177D7B: ??? (in /usr/local/bin/photivo)
==3885==    by 0x81C97CF: ??? (in /usr/local/bin/photivo)
==3885==    by 0x81CB48B: ??? (in /usr/local/bin/photivo)
==3885==    by 0x5A86CE6: (below main) (libc-start.c:226)
==3885==
Progress : Loading curves (CurveRGB)
Progress : Loading curves (CurveR)
Progress : Loading curves (CurveG)
Progress : Loading curves (CurveB)
Progress : Loading curves (CurveL)
Progress : Loading curves (CurveLa)
Progress : Loading curves (CurveLb)
Progress : Loading curves (CurveSaturation)
Progress : Loading curves (BaseCurve)
Progress : Loading curves (BaseCurve2)
Progress : Loading curves (CurveLByHue)
Progress : Loading curves (CurveTexture)
Progress : Loading curves (CurveShadowsHighlights)
Progress : Loading curves (CurveDenoise)
Progress : Loading curves (CurveHue)
Progress : Ready
Progress : Loading channelmixers
Progress : Ready
==3885== Invalid write of size 1
==3885==    at 0x8280C55: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8281961: ??? (in /usr/local/bin/photivo)
==3885==    by 0x4D3BA5D: QWidget::event(QEvent*) (qwidget.cpp:8477)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CEC6CD: QCoreApplication::sendEvent(QObject*,
QEvent*) (qcoreapplication.h:215)
==3885==    by 0x4D3D136: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3268)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D2C1: QWidget::setEnabled(bool) (qwidget.cpp:3216)
==3885==  Address 0xe1b2554 is 4 bytes after a block of size 32,208 alloc'd
==3885==    at 0x4024F12: calloc (vg_replace_malloc.c:467)
==3885==    by 0x815FBF3: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8280431: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8281961: ??? (in /usr/local/bin/photivo)
==3885==    by 0x4D3BA5D: QWidget::event(QEvent*) (qwidget.cpp:8477)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CEC6CD: QCoreApplication::sendEvent(QObject*,
QEvent*) (qcoreapplication.h:215)
==3885==    by 0x4D3D136: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3268)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==
==3885== Invalid write of size 1
==3885==    at 0x8280C5E: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8281961: ??? (in /usr/local/bin/photivo)
==3885==    by 0x4D3BA5D: QWidget::event(QEvent*) (qwidget.cpp:8477)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CEC6CD: QCoreApplication::sendEvent(QObject*,
QEvent*) (qcoreapplication.h:215)
==3885==    by 0x4D3D136: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3268)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D2C1: QWidget::setEnabled(bool) (qwidget.cpp:3216)
==3885==  Address 0xe1b2555 is 5 bytes after a block of size 32,208 alloc'd
==3885==    at 0x4024F12: calloc (vg_replace_malloc.c:467)
==3885==    by 0x815FBF3: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8280431: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8281961: ??? (in /usr/local/bin/photivo)
==3885==    by 0x4D3BA5D: QWidget::event(QEvent*) (qwidget.cpp:8477)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CEC6CD: QCoreApplication::sendEvent(QObject*,
QEvent*) (qcoreapplication.h:215)
==3885==    by 0x4D3D136: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3268)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==
==3885== Invalid write of size 1
==3885==    at 0x8280C68: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8281961: ??? (in /usr/local/bin/photivo)
==3885==    by 0x4D3BA5D: QWidget::event(QEvent*) (qwidget.cpp:8477)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CEC6CD: QCoreApplication::sendEvent(QObject*,
QEvent*) (qcoreapplication.h:215)
==3885==    by 0x4D3D136: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3268)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D2C1: QWidget::setEnabled(bool) (qwidget.cpp:3216)
==3885==  Address 0xe1b2556 is 6 bytes after a block of size 32,208 alloc'd
==3885==    at 0x4024F12: calloc (vg_replace_malloc.c:467)
==3885==    by 0x815FBF3: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8280431: ??? (in /usr/local/bin/photivo)
==3885==    by 0x8281961: ??? (in /usr/local/bin/photivo)
==3885==    by 0x4D3BA5D: QWidget::event(QEvent*) (qwidget.cpp:8477)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CEC6CD: QCoreApplication::sendEvent(QObject*,
QEvent*) (qcoreapplication.h:215)
==3885==    by 0x4D3D136: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3268)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==
--3885-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11
(SIGSEGV) - exiting
--3885-- si_code=1;  Faulting address: 0x61687420;  sp: 0x629e0a18

valgrind: the 'impossible' happened:
   Killed by fatal signal
==3885==    at 0x380A00FA: local_strlen (m_debuglog.c:530)
==3885==    by 0x380A0185: myvprintf_str (m_debuglog.c:586)
==3885==    by 0x380A096B: vgPlain_debugLog_vprintf (m_debuglog.c:877)
==3885==    by 0x380288B1: vprintf_WRK (m_libcprint.c:111)
==3885==    by 0x38028933: vgPlain_vprintf (m_libcprint.c:135)
==3885==    by 0x3802894D: vgPlain_printf (m_libcprint.c:143)
==3885==    by 0x38026C30: vgPlain_assert_fail (m_libcassert.c:259)
==3885==    by 0x61206F66: ???

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==3885==    at 0x4025BD3: malloc (vg_replace_malloc.c:236)
==3885==    by 0x4DF20AB: QX11PixmapData::fromImage(QImage const&,
QFlags<Qt::ImageConversionFlag>) (qpixmap_x11.cpp:654)
==3885==    by 0x4DDA82B: QPixmap::fromImage(QImage const&,
QFlags<Qt::ImageConversionFlag>) (qpixmap.cpp:2031)
==3885==    by 0x8281A8E: ??? (in /usr/local/bin/photivo)
==3885==    by 0x4D3BA5D: QWidget::event(QEvent*) (qwidget.cpp:8477)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE40E8: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:4361)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CEC6CD: QCoreApplication::sendEvent(QObject*,
QEvent*) (qcoreapplication.h:215)
==3885==    by 0x4D3D136: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3268)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D08D: QWidgetPrivate::setEnabled_helper(bool)
(qwidget.cpp:3242)
==3885==    by 0x4D3D2C1: QWidget::setEnabled(bool) (qwidget.cpp:3216)
==3885==    by 0x82DAA92: ??? (in /usr/local/bin/photivo)
==3885==    by 0x82DE9E7: ??? (in /usr/local/bin/photivo)
==3885==    by 0x82F7112: ??? (in /usr/local/bin/photivo)
==3885==    by 0x57E58C9: QMetaObject::metacall(QObject*,
QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==3885==    by 0x57F86AC: QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) (qobject.cpp:3280)
==3885==    by 0x4CD5F98: QAction::triggered(bool) (moc_qaction.cpp:263)
==3885==    by 0x4CD78DB: QAction::activate(QAction::ActionEvent)
(qaction.cpp:1256)
==3885==    by 0x51A37EE:
QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&,
QAction*, QAction::ActionEvent, bool) (qmenu.cpp:993)
==3885==    by 0x51A9A4A: QMenuPrivate::activateAction(QAction*,
QAction::ActionEvent, bool) (qmenu.cpp:1085)
==3885==    by 0x51AA5DF: QMenu::mouseReleaseEvent(QMouseEvent*)
(qmenu.cpp:2301)
==3885==    by 0x4D3BE07: QWidget::event(QEvent*) (qwidget.cpp:8187)
==3885==    by 0x51AC02E: QMenu::event(QEvent*) (qmenu.cpp:2410)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE4C2D: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:3959)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CE3093:
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
QWidget*, QWidget**, QPointer<QWidget>&, bool)
(qcoreapplication.h:215)
==3885==    by 0x4D72260: QETWidget::translateMouseEvent(_XEvent
const*) (qapplication_x11.cpp:4337)
==3885==    by 0x4D71150: QApplication::x11ProcessEvent(_XEvent*)
(qapplication_x11.cpp:3414)
==3885==    by 0x4DA0369: x11EventSourceDispatch(_GSource*, int
(*)(void*), void*) (qguieventdispatcher_glib.cpp:146)
==3885==    by 0x5C32854: g_main_context_dispatch (in
/lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x5C36667: ??? (in /lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x5C36847: g_main_context_iteration (in
/lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x580E564:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventdispatcher_glib.cpp:415)
==3885==    by 0x4D9FBE4:
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qguieventdispatcher_glib.cpp:204)
==3885==    by 0x57DE608:
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventloop.cpp:149)
==3885==    by 0x57DEA89:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventloop.cpp:201)
==3885==    by 0x51A6EFD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2054)
==3885==    by 0x82DAD50: ??? (in /usr/local/bin/photivo)
==3885==    by 0x4D3BDEB: QWidget::event(QEvent*) (qwidget.cpp:8183)
==3885==    by 0x4CDDFDB: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (qapplication.cpp:4396)
==3885==    by 0x4CE4C2D: QApplication::notify(QObject*, QEvent*)
(qapplication.cpp:3959)
==3885==    by 0x57DFB3A: QCoreApplication::notifyInternal(QObject*,
QEvent*) (qcoreapplication.cpp:732)
==3885==    by 0x4CE3093:
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
QWidget*, QWidget**, QPointer<QWidget>&, bool)
(qcoreapplication.h:215)
==3885==    by 0x4D71D0F: QETWidget::translateMouseEvent(_XEvent
const*) (qapplication_x11.cpp:4403)
==3885==    by 0x4D71150: QApplication::x11ProcessEvent(_XEvent*)
(qapplication_x11.cpp:3414)
==3885==    by 0x4DA0369: x11EventSourceDispatch(_GSource*, int
(*)(void*), void*) (qguieventdispatcher_glib.cpp:146)
==3885==    by 0x5C32854: g_main_context_dispatch (in
/lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x5C36667: ??? (in /lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x5C36847: g_main_context_iteration (in
/lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x580E564:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventdispatcher_glib.cpp:415)
==3885==    by 0x4D9FBE4:
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qguieventdispatcher_glib.cpp:204)
==3885==    by 0x57DE608:
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventloop.cpp:149)
==3885==    by 0x57DEA89:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(qeventloop.cpp:201)
==3885==    by 0x57E300E: QCoreApplication::exec() (qcoreapplication.cpp:1009)
==3885==    by 0x4CDCE06: QApplication::exec() (qapplication.cpp:3672)
==3885==    by 0x81C98AF: ??? (in /usr/local/bin/photivo)
==3885==    by 0x81CB48B: ??? (in /usr/local/bin/photivo)
==3885==    by 0x5A86CE6: (below main) (libc-start.c:226)

Thread 2: status = VgTs_WaitSys
==3885==    at 0x5B31DF6: poll (poll.c:87)
==3885==    by 0x5C43A1A: g_poll (in /lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x5C3643B: ??? (in /lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x5C36BA6: g_main_loop_run (in /lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x66BC6B3: ??? (in /usr/lib/libgio-2.0.so.0.2600.0)
==3885==    by 0x5C5D48E: ??? (in /lib/libglib-2.0.so.0.2600.0)
==3885==    by 0x5919CC8: start_thread (pthread_create.c:304)
==3885==    by 0x5B4069D: clone (clone.S:130)

Thread 3: status = VgTs_WaitSys
==3885==    at 0x47EA8FE: ??? (in /usr/lib/libgomp.so.1.0.0)
==3885==    by 0x47EA9B0: ??? (in /usr/lib/libgomp.so.1.0.0)
==3885==    by 0x47E9244: ??? (in /usr/lib/libgomp.so.1.0.0)
==3885==    by 0x5919CC8: start_thread (pthread_create.c:304)
==3885==    by 0x5B4069D: clone (clone.S:130)

Note: see also the FAQ in the source distribution.
It contains workarounds to several common problems.
In particular, if Valgrind aborted or crashed after
identifying problems in your program, there's a good chance
that fixing those problems will prevent Valgrind aborting or
crashing, especially if it happened in m_mallocfree.c.

If that doesn't help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind
version, and what OS and version you are using.  Thanks.

kevin@laminaria:~$

Original comment by nereocys...@gmail.com on 17 Feb 2011 at 1:54

GoogleCodeExporter commented 9 years ago
After some more tests I now think this is an issue of screen resolution. I have 
a Laptop and a Netbook both with Ubuntu 10.10 32bit fully updated. The Netbook 
crashes in a*b* curves unblock by default, Laptop doesen't. If I change 
resolution in the laptop into something smaller than 1024x768 say 960x600 then 
I end to have the same result as I did with the Netbook. Could you try to 
verify this?

Greetings

John

Original comment by giannisl...@yahoo.com on 17 Feb 2011 at 9:06

GoogleCodeExporter commented 9 years ago
Thank you both for your investigations. I could now reproduce it on my netbook.
After some changes in trunk it works on my netbook, please verify.

greets mike

Original comment by m...@mm-log.com on 17 Feb 2011 at 10:14

GoogleCodeExporter commented 9 years ago
I tried Photivo version 2011-02-17 (rev 8041135880ce), it still crashes in 
resolution 1024x600 (photivo maximized) of the netbook, in an external screen 
driven by the same netbook it crashes only when photivo window is small enough. 
I recompiled only photivo I guess this isn't a problem.

Greetings

John

Original comment by giannisl...@yahoo.com on 17 Feb 2011 at 12:22

GoogleCodeExporter commented 9 years ago
Recompiling only photivo is enough, as long as you make sure you really got the 
new version. You can also read the version on the info tab.

I tried on my netbook (32 bit Ubuntu 10.04) maximized and small windows, it 
never crashes (although it did before the change...)

Currently I have no clue, sorry. 

Greets mike

Original comment by m...@mm-log.com on 17 Feb 2011 at 10:07

GoogleCodeExporter commented 9 years ago
Another new compile of Lcms2, GraphicsMagick 16 bit and photivo in new folders 
as in http://photivo.org/photivo/download_and_setup/linux, before first run I 
deleted .photivo from home folder. In info tab I get Photivo version 2011-02-17 
(rev 8041135880ce). Still I get the crash in a*b*, windowed and maximized.

Anyway, it has been a long week, thank you for all your efforts and interest, 
this a wonderful and powerful program! It's not a big deal for me to bypass the 
crash by expanding the a*b* curves so it's ok.

Greetings

John

Original comment by giannisl...@yahoo.com on 19 Feb 2011 at 7:53

GoogleCodeExporter commented 9 years ago
We finally managed to reproduce the crash on my Win 7 64bit machine, so now we 
can test ourselfs. I just pushed a possible fix. It seems to work on my machine 
but we’re still not really sure what exactly the problem is. So this might or 
might not be a final solution.

cu
Brother John

Original comment by brother.john.gm@googlemail.com on 19 Feb 2011 at 1:11

GoogleCodeExporter commented 9 years ago
Can we close this? Does it work now?

greets mike

Original comment by m...@mm-log.com on 22 Feb 2011 at 9:58

GoogleCodeExporter commented 9 years ago
Good news!

Photivo version 2011-02-19 (rev e4bbea4603ad) works flawlessly in my Netbook 
both windowed and maximized, I could not crash it. Good job!

Greetings

John

Original comment by giannisl...@yahoo.com on 23 Feb 2011 at 12:18

GoogleCodeExporter commented 9 years ago
I finally tested the new release.  Unblocking works fine.
 On Feb 22, 2011 4:19 PM, <photivo@googlecode.com> wrote:

Original comment by nereocys...@gmail.com on 28 Feb 2011 at 3:59

GoogleCodeExporter commented 9 years ago
Perfect.

Original comment by m...@mm-log.com on 28 Feb 2011 at 4:22