On 16/07/10 08:42, Torsten Stets wrote:
Hello, for some reason gthumb 2.11.5 crashes for me, everytime I try to assign a tag. I first tried with exiv2 0.19, then upgraded to 0.20, with no change. I compiled gthumb 2.11.5 with: ./configure --prefix=/usr --disable-clutter --disable-gnome-keyring --disable-libbrasero --disable-libsoup --enable-debug CFLAGS="-ggdb" but the only thing I get out of gdb is: [New Thread 0x7fffe58f4710 (LWP 21700)] Warning: Directory Thumbnail, entry 0x0201: Data area exceeds data buffer, ignoring it. [Thread 0x7fffe58f4710 (LWP 21700) exited] Program received signal SIGSEGV, Segmentation fault. 0x0000000000490534 in gth_string_list_append (list1=0x985ec0, list2=0x0) at gth-string-list.c:193 193 for (scan = list2->priv->list; scan; scan = scan->next) I right-click on the image, choose Keywords, select the keyword, click OK et voila -> it crashes. Can anyone reproduce this or is it only my machine which shows this annoying behaviour? Regards, Torsten
As a matter of coincidence I just noticed this problem too, and was working on a patch. The attached patch fixes the problem.
The problem lies in gth-tag-task.c:106, where the code tries to append both the old and the new keywords to a new list. But if there are no old keywords, it results in a NULL pointer dereference.
Attachment:
gthumb_keywords_crash.patch
Description: Text Data