Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148988 - x11-misc/adesklets imlib2 problem
Summary: x11-misc/adesklets imlib2 problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 13:46 UTC by Peter Avramucz
Modified: 2007-01-26 09:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for fontconfig 2.4 compability (adesklets-fontconfig-2.4.patch,1.45 KB, patch)
2006-11-14 08:38 UTC, Andrey K.
Details | Diff
Modified ebuild with patch for fontconfig-2.4 compability (adesklets-0.6.1-r1.ebuild,2.93 KB, text/plain)
2006-11-14 12:57 UTC, Andrey K.
Details
adesklets log and emerge info (adesklets.log,11.68 KB, text/plain)
2007-01-26 08:55 UTC, Botykai Zsolt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Avramucz 2006-09-24 13:46:00 UTC
I'm using ~x86 arch, and adeslets segfaults in gdb:

adesklets 0.6.1 (Sun Sep 24 22:36:12 CEST 2006), on Linux 2.6.18-ck11-r1)]
[i686-pc-linux-gnu-gcc 686-pc-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)]
Press TAB for hints.** adesklets: munmap_chunk(): invalid pointer: 0x08088188 ** *** glibc detected *** adesklets: munmap_chunk(): invalid pointer: 0x08088188 ***

adeslets_installer has problem too:

Retrieving data online... OK                                                                                                            Checking locally installed desklets... OK                                                                                               Downloading weatherforecast desklet...                                                                                                  !!! An error occured during the operation !!!                                                                                           Traceback (most recent call last):                                                                                                        File "/usr/bin/adesklets_installer", line 223, in run                                                                                     getattr(self, '_'+op)(**kw)                                                                                                          File "/usr/bin/adesklets_installer", line 244, in _install
Comment 1 S.Fourmanoit 2006-09-28 07:28:50 UTC
> adeslets segfaults in gdb: [...]

this is a problem with fontconfig new allocation scheme... A patch already exists upstream: 

http://adesklets.sourceforge.net/cgi-bin/gitweb.cgi?p=adesklets.git;a=commit;h=bcff137f866fcb05141cc07c82c2e2be3b671213

There are two ways to solve this: either compile adesklets against a pre-FcFini() fontconfig version (I didn't try everything in portage, but Fontconfig 2.2.3 works), or patch adesklets 0.6.1 accordingly.

Either way, a new adesklets 0.6.2 release incorporating the changes will be produced in the next days and submitted for portage inclusion: watch gentoo's bugzilla.
Comment 2 Andrey K. 2006-11-14 08:38:27 UTC
Created attachment 101922 [details, diff]
patch for fontconfig 2.4 compability

Patch for adesklets-0.6.1 to fix fontconfig-2.4 incompability, until new version released.
Comment 3 Andrey K. 2006-11-14 12:57:12 UTC
Created attachment 101947 [details]
Modified ebuild with patch for fontconfig-2.4 compability
Comment 4 Michele Noberasco (RETIRED) gentoo-dev 2006-11-20 06:10:37 UTC
Fixed (as new revision). Thanks for the submission!
Comment 5 Botykai Zsolt 2007-01-26 08:55:25 UTC
Created attachment 108176 [details]
adesklets log and emerge info

Sorry but it's still an error on my system (with brand new adesklets-0.6.1-r1) and newest fontconfig (2.4.2). So I assume it should be reopened or should I open a new entry?
Log attached.
Comment 6 Michele Noberasco (RETIRED) gentoo-dev 2007-01-26 09:48:32 UTC
I got wrong my test for detection of fontconfig >= 2.4... re-fixed (as same revision) :-)