You are not logged in.

#1 2004-08-05 17:15:37

mxcl
Member
From: MK; UK
Registered: 2004-05-26
Posts: 39
Website

libpng1.2.6rc1 - segfaults in newly launched apps

I had issues with amaroK, gdb informed me that there was a segmentation fault due to libpng. So I assumed it was an issue with the upgrade to 1.2.6rc1-1 I had only just done. I tried make clean && make, but the rebuilt amaroK has the same segfault issues.

(gdb) bt
#0  0x419ccd9c in memcpy () from /lib/libc.so.6
#1  0x415d050e in png_combine_row () from /usr/lib/libpng.so.3
#2  0x415db460 in png_read_row () from /usr/lib/libpng.so.3
#3  0x415dbcef in png_read_image () from /usr/lib/libpng.so.3
#4  0x4130fcc2 in QPtrVector<QValueVector<QVariant> >::deleteItem () from /opt/qt/lib/libqt-mt.so.3
#5  0x41055de8 in QImageIO::read () from /opt/qt/lib/libqt-mt.so.3
#6  0x410985de in QPixmap::load () from /opt/qt/lib/libqt-mt.so.3
#7  0x4109867e in QPixmap::load () from /opt/qt/lib/libqt-mt.so.3
#8  0x4109875b in QPixmap::QPixmap () from /opt/qt/lib/libqt-mt.so.3
#9  0xbffff460 in ?? ()
#10 0x0817657c in PlayerWidget::PlayerWidget(QWidget*, char const*, bool)::__PRETTY_FUNCTION__ ()

The problem is no program that depends on libpng will start/run for any length of time without seg-faulting. This could be due to me having the previous libpng still loaded in shared memory. I don't understand all the specifics of dynamic library handling.

Nonetheless I am nervous about restarting X11 and thus using the new library because no new applications will launch!

Can I obtain the previous package from somewhere (it is not in my cache)? In future should I report this kind of issue here, another forum or to the bugtracker?

Offline

#2 2004-08-05 17:37:19

mxcl
Member
From: MK; UK
Registered: 2004-05-26
Posts: 39
Website

Re: libpng1.2.6rc1 - segfaults in newly launched apps

I obtained 1.2.5-2 from a mirror. Now everything is launching successfully again.

I am interested in writing a patch for pacman to allow searching for older packages on the mirrors located in pacman.conf. This would work for a limited time only of course, but generally bad packages are new packages and this would be a useful fall back for people.

Any interest in such an extension?

And with regard to the libpng issue. Can it be resolved? Was it all my fault somehow?

Offline

#3 2004-08-05 20:39:40

mak
Member
Registered: 2004-03-08
Posts: 47
Website

Re: libpng1.2.6rc1 - segfaults in newly launched apps

hiho.

seems like libpng-1.2.6rc1-1 has BIG probs ... i'm experiencing the same problems.

i did rebuiild the pkg, 'cause i haven't updated glibc yet,so maybe thats the reason[?]
but qiv[also rebuild !!!] still doesn't work.

...
libpng warning: Ignoring bad adaptive filter type
libpng warning: Ignoring bad adaptive filter type
libpng warning: Ignoring bad adaptive filter type
libpng error: incorrect data check

so i guess something _really_ has been changed in the new libpng ...
maybe someone could give some pointers ?

mak.


$ wget -c -r -l inf -i what_the_hel.l

Offline

#4 2004-08-05 23:26:36

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: libpng1.2.6rc1 - segfaults in newly launched apps

libpng 1.2.6rc1-1 killed ksplash and the task bar (!) for me, I went back to 1.2.5 too.

Offline

#5 2004-08-06 10:14:57

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: libpng1.2.6rc1 - segfaults in newly launched apps

so has the rc1 now been removed from the server?  i just did pacman -Syu and i had libpng 1.2.6rc1-1 but now it is "updating" to libpng-1.2.5-3

if this is so i am very impressed big_smile and will be much more happy if it works big_smile

ohhhhh - i got it working now!  ohhhh baby! i have not even tried kde since mandrake 8.  my eyes are melting!

Offline

#6 2004-08-06 11:30:48

mak
Member
Registered: 2004-03-08
Posts: 47
Website

Re: libpng1.2.6rc1 - segfaults in newly launched apps

very nice solution, simply ADDing the patches ... instead of 1.2.6rc1[unstable ?]
-
big thx to the maintainer for the quick fix.

mak.


$ wget -c -r -l inf -i what_the_hel.l

Offline

Board footer

Powered by FluxBB