FS#8257 - Libpng 1.2.21 memory corruption

Attached to Project: Arch Linux
Opened by Darwin Bautista (djclue917) - Monday, 08 October 2007, 15:56 GMT
Last edited by Travis Willard (Cerebral) - Wednesday, 10 October 2007, 14:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Travis Willard (Cerebral)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
KSysGuard crashes on startup after upgrading libpng from 1.2.20-1 to 1.2.21-1. KSysGuard works again if I revert back to libpng 1.2.20-1.

Additional info:
* kdebase 3.5.7-3
* libpng 1.2.21-1


Steps to reproduce:
1. Open KSysGuard.
This task depends upon

Closed by  Travis Willard (Cerebral)
Wednesday, 10 October 2007, 14:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed with libpng-1.2.22rc1
Comment by Jan de Groot (JGC) - Tuesday, 09 October 2007, 08:41 GMT
Solution is to downgrade to 1.2.20 or to upgrade to 1.2.22rc1, which had 4 beta releases to fix this bug.
Comment by Travis Willard (Cerebral) - Tuesday, 09 October 2007, 12:17 GMT
Try out http://www.archlinux.org/~travis/pkg/libpng-1.2.22rc1-1-i686.pkg.tar.gz and ensure it fixes your problem - if it works, I'll move it to the repos.
Comment by Darwin Bautista (djclue917) - Tuesday, 09 October 2007, 12:39 GMT
Works here (KSysGuard).
Comment by Jason Carr (jason2) - Tuesday, 09 October 2007, 13:40 GMT
Pidgin works now with Travis' package.
Comment by Dincer Celik (roadboy) - Tuesday, 09 October 2007, 21:49 GMT
Pidgin crash problem fixed but there's still problem with Liferea's tray icon.
Comment by Travis Willard (Cerebral) - Tuesday, 09 October 2007, 22:24 GMT
what problem? How do you use the tray icon? Can you run it from console and get some output?
Comment by Dincer Celik (roadboy) - Tuesday, 09 October 2007, 22:42 GMT
[roadboy@bozhane:~]$ liferea
libnm_glib_nm_state_cb: dbus returned an error.
(org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files

(liferea-bin:32488): Gdk-WARNING **: Mask is 0 in visual. Server bug ?

(liferea-bin:32488): Gdk-WARNING **: Mask is 0 in visual. Server bug ?

(liferea-bin:32488): Gdk-WARNING **: Mask is 0 in visual. Server bug ?

(liferea-bin:32488): Gdk-WARNING **: Mask is 0 in visual. Server bug ?

(liferea-bin:32488): Gdk-WARNING **: Mask is 0 in visual. Server bug ?

(liferea-bin:32488): Gdk-WARNING **: Mask is 0 in visual. Server bug ?
*** glibc detected *** /usr/bin/liferea-bin: free(): invalid pointer: 0x080fa2d8 ***
Comment by Travis Willard (Cerebral) - Wednesday, 10 October 2007, 00:20 GMT
This seems to be unrelated to libpng - I've tried liferea with 3 different libpng versions (1.2.18, 1.2.20, 1.2.22rc1) and I get your same error each time. So, I rebuilt liferea with debug symbols, and got this stack trace:

*** glibc detected *** /usr/bin/liferea-bin: free(): invalid pointer: 0x084a1748 ***
======= Backtrace: =========
/lib/libc.so.6[0xb73d5c06]
/lib/libc.so.6(cfree+0x89)[0xb73d78c9]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb75b49f1]
/usr/bin/liferea-bin(db_view_create+0x9e)[0x806339e]
/usr/bin/liferea-bin(rules_to_view+0x2c)[0x807121c]
/usr/bin/liferea-bin(vfolder_refresh+0x29)[0x8075819]
/usr/bin/liferea-bin(import_parse_outline+0x22e)[0x806512e]
/usr/bin/liferea-bin(import_OPML_feedlist+0x180)[0x80655a0]
/usr/bin/liferea-bin[0x808292e]
/usr/bin/liferea-bin(node_source_setup_root+0x6c)[0x80825ec]
/usr/bin/liferea-bin(feedlist_init+0xb4)[0x8068494]
/usr/bin/liferea-bin(ui_mainwindow_init+0x261)[0x808b6f1]
/usr/bin/liferea-bin(main+0x212)[0x8074af2]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7385f90]
/usr/bin/liferea-bin[0x805d2c1]

Open a new bugreport with this information please
Comment by patrice (pfdm) - Wednesday, 10 October 2007, 07:54 GMT
Hi,
this come with the last version of sqlite3 !!
i've the last lipng ,but downgrade sqlite.
Comment by patrice (pfdm) - Wednesday, 10 October 2007, 08:40 GMT
Hi,
this come with the last version of sqlite3 !!
i've the last lipng ,but downgrade sqlite.
Comment by Andreas Radke (AndyRTR) - Wednesday, 10 October 2007, 09:36 GMT
please file a new bug for sqlite3/liferea. seems to be different.
Comment by Roman Kyrylych (Romashka) - Wednesday, 10 October 2007, 09:54 GMT
already reported in  FS#8277 

Loading...