Sometimes different applications crash, and the system notifies me that the crashed application uses a third party library (libz
) and suggests trying without it.
I can always reproduce it by exporting PNG file to JPEG format in Gimp:
When I first experienced the issue I had libz 1.2.5 installed in the system, then I updated it to 1.2.7, but the issue persists.
I don't know when and what this library was installed for.
===========UPDATE 7.04.2013===========
After looking into strace output I don't think that my issue is related to zlib. So I'm changing the question title
Here is strace gimp output (launcher icons size = 36, "Radiance" Gnome theme)
futex(0x15b3434, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x15b3430, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x15b0fb0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x1c4a560, FUTEX_WAKE_PRIVATE, 1) = 1
lstat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/share/icons/Humanity/devices/16/drive-harddisk.svg", {st_mode=S_IFREG|0644, st_size=7338, ...}) = 0
open("/usr/share/icons/Humanity/devices/16/drive-harddisk.svg", O_RDONLY) = 19
fstat(19, {st_mode=S_IFREG|0644, st_size=7338, ...}) = 0
read(19, "<?xml version=\"1.0\" encoding=\"UT"..., 65536) = 7338
read(19, "", 65536) = 0
close(19) = 0
write(2, "\n(gimp:19027): Gtk-CRITICAL **: "..., 106
(gimp:19027): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
) = 106
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
(script-fu:19034): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
I tried reinstalling the packages, but that didn't help.
$ file /usr/local/lib/libz.so.1.2.7
/usr/local/lib/libz.so.1.2.7: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x4b579c2bcc6eb41c0dc9c473e8298e5249fedbe1, not stripped
$ md5sum /usr/local/lib/libz.so.1.2.7
65ffc4f5f7b943cd569ba2136cd49f7b /usr/local/lib/libz.so.1.2.7
$ ls -lh /usr/local/lib/libz.so.1.2.7
-rwxr-xr-x 1 root root 99K лют 9 19:54 /usr/local/lib/libz.so.1.2.7
System: Ubuntu 12.04 x64_86
Gimp 2.6.12
/usr/lib{32}
and not in/usr/local/lib
. Didn't you installed it manually? If you don't need a specific recent version, there is available on the repos an older version of zlib (v1.2.3.4).