<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">Am 29.04.2013 17:31, schrieb Miika Turkia:</span></p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Apr 29, 2013 at 2:16 PM, Manfred Usselmann <span><<a href="mailto:usselmann.m@icg-online.de">usselmann.m@icg-online.de</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div style="font-family: Verdana,Geneva,sans-serif;">
<p>Hi Miika,</p>
<p><span>am <a href="tel:27.04.2013%2006">27.04.2013 06</a>:24, schrieb Miika Turkia:</span></p>
<div class="im">
<blockquote style="padding-left: 5px; border-left: #1010ff  2px  solid; margin-left: 5px; width: 100%;">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Apr 24, 2013 at 10:50 PM, Manfred Usselmann <span><<a href="mailto:usselmann.m@icg-online.de">usselmann.m@icg-online.de</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0px  0px  0px  0.8ex; border-left: 1px  solid rgb; padding-left: 1ex;">
<div style="font-family: Verdana,Geneva,sans-serif;">
<p>I have about 30000 images and with an earlier version of kphotoalbum I could use the application but 4.4 crashes every time after a while during the generation of the preview images. Last time it happened when 26% was done.</p>
</div>
</blockquote>
<div>To me it looks like the crash occurs at raw decoding (kdcraw is a library we use for that and seems to be the culprit). However, if that is the case the upgrade from older version of KPA to 4.4 should not start crashing (or actually the older version should crash the same). Of course the trouble could also be how we use the library...</div>
</div>
</div>
</div>
</blockquote>
</div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">Indeed, I found some files in a subfolder (none image files with misc. extensions) which had been there for years without causing issues. After deleting those files KPA no longer abended. </div>
</div>
</div>
</div>
</blockquote>
<div> </div>
<div>Can you send me some file that causes a crash so I can try to see what the problem is with that/them? Generally we should only handle image files and extra stuff under image root should not cause problems. But as you discovered, we do still have bugs...</div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>It was the folder 'Image-ExifTool-5.72'. I deleted it since I didn't use it since years. I have now restored it from backup, good opportunity to test my backup solution. ;-)   </div>
<div> </div>
<div>I will send it to you directly.</div>
<div> </div>
</div>
</div>
</div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div style="font-family: Verdana,Geneva,sans-serif;">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">But then KPA was very slow. Especially opening the detail window from a thumbnail did take for ever. I tried to solve this by reextracting the exif information. Didn't help. After a while KPA did crash again with my data file with segmentation fault. I noticed that the demo database did work so I concluded that it must have something to do with my index.xml. I did rebuild my index.xml which took nearly a day.</div>
</div>
</div>
</div>
</blockquote>
<div>For me KPA works faster than the previous version. However, when you first start using 4.4 generating thumbnails will take quite a long time. And until the thumbnails are generated it is very slow - unusable.</div>
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div style="font-family: Verdana,Geneva,sans-serif;">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">Now KPA is running again but still unusably slow. And all my categorizations / tags are in the old file which I can't open any more. :-(</div>
</div>
</div>
</div>
</blockquote>
<div> </div>
<div>You should still be able to open the old index.xml (if you did not loose it completely).  KPA supports command line option -c that takes the index file as parameter and should allow you to open it up. However, the file name must be index.xml, differently named file is "sanitized" to index.xml.</div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Yes, I still have it as index.xml.old. What happened is that I deleted a file .DS_Store in the root directory of my images tree. Afaik this file is created when the share is accessed by a Mac and of no use at all. But after the removal of this file KPA startet crashing again with segmentation fault immediately after start of the program: </div>
<div><span style="font-family: 'courier new', courier; font-size: x-small;"> </span></div>
<div><span style="font-family: 'courier new', courier; font-size: x-small;">Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault</span></div>
<div>
<p><span style="font-family: 'courier new', courier; font-size: x-small;">Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">[Current thread is 1 (Thread 0x7f7f41464800 (LWP 11962))]</span></p>
<p><span style="font-family: 'courier new', courier; font-size: x-small;">Thread 3 (Thread 0x7f7f2a5bc700 (LWP 11964)):</span></p>
<p><span style="font-family: 'courier new', courier; font-size: x-small;">#0 0x00007f7f3ce4d05e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#1 0x00007f7f39646935 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#2 0x00007f7f395dcb81 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#3 0x00007f7f395dd1ca in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#4 0x00007f7f3962b6b2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#5 0x00007f7f3962aeb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#6 0x00007f7f3ce48f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#7 0x00007f7f3d157e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6</span></p>
<p><span style="font-family: 'courier new', courier; font-size: x-small;">Thread 2 (Thread 0x7f7f29dbb700 (LWP 11965)):</span></p>
<p><span style="font-family: 'courier new', courier; font-size: x-small;">#0 0x00007f7f3d14b3cd in poll () from /lib/x86_64-linux-gnu/libc.so.6<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#1 0x00007f7f396071dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#2 0x00007f7f396076ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#3 0x00007f7f3180a4f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#4 0x00007f7f3962aeb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#5 0x00007f7f3ce48f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#6 0x00007f7f3d157e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6</span></p>
<p><span style="font-family: 'courier new', courier; font-size: x-small;">Thread 1 (Thread 0x7f7f41464800 (LWP 11962)):</span></p>
<p><span style="font-family: 'courier new', courier; font-size: x-small;">[KCrash Handler]</span></p>
<p><span style="font-family: 'courier new', courier; font-size: x-small;">#5 0x0000000000474da0 in ?? ()<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#6 0x000000000047c4f6 in ?? ()<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#7 0x000000000047ceb5 in ?? ()<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#8 0x000000000046f072 in ?? ()<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#9 0x00000000005102df in ?? ()<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#10 0x00000000004decb0 in ?? ()<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#11 0x00000000004df8b0 in ?? ()<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#12 0x000000000043b0ea in ?? ()<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#13 0x00007f7f3d07fea5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6<br /></span><span style="font-family: 'courier new', courier; font-size: x-small;">#14 0x0000000000444d71 in _start ()</span></p>
<p>This is why I renamed index.xml to index.xml.old so that KPA had to create a new index.  With this new index file it is no longer crashing. Just extremely slow. When I rename the old file to index.xml the crash occurs again.<span style="font-family: 'courier new', courier; font-size: xx-small;"><!--EndFragment--></span></p>
</div>
<div>Strange...</div>
<div> </div>
</div>
</div>
</div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div style="font-family: Verdana,Geneva,sans-serif;">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">I still have some none image files in subfolders (e.g. html, css from html slideshows) and also some raw files which may be not well supported (xf3). I will try to clean this up to see if this solves my issues.</div>
</div>
</div>
</div>
</blockquote>
<div> </div>
<div>I do not know about the xf3 but NEF, CR2 and ORF are working fine for me. (I use the option to use embedded JPG or half sized raw, thus I only load the embedded thumbnail that is in higher resolution than my display.) <br /><br /></div>
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div style="font-family: Verdana,Geneva,sans-serif;">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">Do you have any other suggestions? O<span>lder versions of KPA did work fine... Should I try going back to 4.3?</span></div>
</div>
</div>
</div>
</blockquote>
<div> </div>
<div>Whatever you do, take backup of the index.xml first.<br /><br /></div>
<div>There is a new "ball" at the bottom of KPA now. Hovering on top of it should show active and pending jobs and clicking it gives you a run queue that shows if and what is happening on the back ground. When you are running KPA, do you have anything on this queue. Once thumbnails and video length stuff is done, this queue should be empty.</div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Yes, I already noticed that.</div>
<div> </div>
</div>
</div>
</div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">And if you still have very slow KPA when the queue is empty,</span></div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">Yes, this is the case. Completely unusable.</span></div>
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"> </span></div>
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"> </span></div>
</div>
</div>
</div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">then there is something wrong somewhere. Naturally I would like to fix any bugs related to performance and crashes, but this will require us to be able to see the problem...</span></div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">Sure. All I can say is that I didn't have such issues with previous versions of KPA with the same files...</span></div>
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"> </span></div>
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">Manfred</span></div>
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"> </span></div>
<div><span style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"> </span></div>
</div>
</div>
</div>
</body></html>