Main index > Usage problems > adesklets crashing after fontconfig update [SOLVED]

By junlitsu (User), on Wed Sep 27 18:35:00 2006: adesklets crashing after fontconfig update [SOLVED].

Hi all,

I've been using adesklets for several months now and it's been working flawlessly (with a few tweaks) so far. However (I run gentoo) I did an emerge world (systems update) and now it crashes. Specifically, it seems to crash on initialization:

Code:


Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/adesklets/__init__.py", line 43, in ?
    raise e 


But I don't really know much beyond that. Unfortunately I don't know which packages got updated, though I know, adesklets hasn 't changed.

If relevant, I am running x86_64 gentoo, with xgl/compiz and xfce4.

Thanks in advance for your help.
Error message as follows:

Code:

Python 2.4.3 (#1, Sep 27 2006, 13:47:08)
[GCC 4.1.1 (Gentoo 4.1.1-r1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import adesklets
Do you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================
*** glibc detected *** adesklets: munmap_chunk(): invalid pointer: 0x0000000000577070 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b3eaf16249d]
/usr/local/lib/libfontconfig.so.1[0x2b3eaeebbdda]
/usr/local/lib/libfontconfig.so.1(FcPatternDestroy+0x7c)[0x2b3eaeebbf8c]
/usr/local/lib/libfontconfig.so.1(FcFontSetDestroy+0x26)[0x2b3eaeeb5fe6]
adesklets[0x40f7e8]
adesklets[0x407a45]
adesklets[0x4064c1]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b3eaf116134]
adesklets[0x4063f9]
======= Memory map: ========
00400000-0041e000 r-xp 00000000 09:02 6503687                            /usr/bin/adesklets
0051d000-0051f000 rw-p 0001d000 09:02 6503687                            /usr/bin/adesklets
0051f000-0057e000 rw-p 0051f000 00:00 0                                  [heap]
2b3eae3e6000-2b3eae401000 r-xp 00000000 09:02 6307818                    /lib64/ld-2.4.so
2b3eae401000-2b3eae402000 rw-p 2b3eae401000 00:00 0
2b3eae41f000-2b3eae420000 rw-p 2b3eae41f000 00:00 0
2b3eae420000-2b3eae451000 r--s 00000000 09:02 6908721                    /var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-x86-64.cache-2
2b3eae451000-2b3eae482000 r--s 00000000 09:02 6908722                    /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86-64.cache-2
2b3eae482000-2b3eae486000 r--s 00000000 09:02 6908723                    /var/cache/fontconfig/d62e99ef547d1d24cdb1bd22ec1a2976-x86-64.cache-2
2b3eae486000-2b3eae488000 r--s 00000000 09:02 6908724                    /var/cache/fontconfig/0d18838e2eb2d05c78885ab659ed50db-x86-64.cache-2
2b3eae488000-2b3eae490000 r--s 00000000 09:02 6908725                    /var/cache/fontconfig/f73c51d6200a78c2054c26a5b2398976-x86-64.cache-2
2b3eae490000-2b3eae496000 r--s 00000000 09:02 6908727                    /var/cache/fontconfig/61c91b4f4892ffae4bc0efef540a1e5d-x86-64.cache-2
2b3eae496000-2b3eae4a7000 r--s 00000000 09:02 6908728                    /var/cache/fontconfig/4b5cf4386f1cde02a336ba961b4ac82d-x86-64.cache-2
2b3eae4a7000-2b3eae4b9000 r--s 00000000 09:02 6908734                    /var/cache/fontconfig/221fd1126b80b777db535aea535e87ba-x86-64.cache-2
2b3eae4b9000-2b3eae4bb000 r--s 00000000 09:02 6908735                    /var/cache/fontconfig/1a21276ee10c19eef148b044d48c5704-x86-64.cache-2
2b3eae4bb000-2b3eae4ce000 r--s 00000000 09:02 6908736                    /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-x86-64.cache-2
2b3eae4ce000-2b3eae4d1000 r--s 00000000 09:02 6908737                    /var/cache/fontconfig/76fa4b957c916922374347f144bde9da-x86-64.cache-2
2b3eae4d1000-2b3eae4d2000 r--s 00000000 09:02 6908738                    /var/cache/fontconfig/8ab8d4a834b49967ba0ffff9f663e449-x86-64.cache-2
2b3eae4d2000-2b3eae4d3000 r--s 00000000 09:02 6908740                    /var/cache/fontconfig/692af0bf11e9290cd8a6670f5aead647-x86-64.cache-2
2b3eae4d3000-2b3eae4db000 r--s 00000000 09:02 6908731                    /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86-64.cache-2
2b3eae500000-2b3eae501000 r--p 0001a000 09:02 6307818                    /lib64/ld-2.4.so
2b3eae501000-2b3eae502000 rw-p 0001b000 09:02 6307818                    /lib64/ld-2.4.so
2b3eae502000-2b3eae604000 r-xp 00000000 09:02 6480322                    /usr/lib64/libX11.so.6.2.0
2b3eae604000-2b3eae704000 ---p 00102000 09:02 6480322                    /usr/lib64/libX11.so.6.2.0
2b3eae704000-2b3eae70b000 rw-p 00102000 09:02 6480322                    /usr/lib64/libX11.so.6.2.0
2b3eae70b000-2b3eae75d000 r-xp 00000000 09:02 6334995                    /usr/lib64/libImlib2.so.1.2.1
2b3eae75d000-2b3eae85c000 ---p 00052000 09:02 6334995                    /usr/lib64/libImlib2.so.1.2.1
2b3eae85c000-2b3eae85e000 rw-p 00051000 09:02 6334995                    /usr/lib64/libImlib2.so.1.2.1
2b3eae85e000-2b3eae872000 rw-p 2b3eae85e000 00:00 0
2b3eae872000-2b3eae8be000 r-xp 00000000 09:02 6444397                    /lib64/libncurses.so.5.5
2b3eae8be000-2b3eae9be000 ---p 0004c000 09:02 6444397                    /lib64/libncurses.so.5.5
2b3eae9be000-2b3eae9cc000 rw-p 0004c000 09:02 6444397                    /lib64/libncurses.so.5.5
2b3eae9cc000-2b3eae9ce000 rw-p 2b3eae9cc000 00:00 0
2b3eae9ce000-2b3eaea02000 r-xp 00000000 09:02 6128624                    /lib64/libreadline.so.5.1
2b3eaea02000-2b3eaeb02000 ---p 00034000 09:02 6128624                    /lib64/libreadline.so.5.1
2b3eaeb02000-2b3eaeb0a000 rw-p 00034000 09:02 6128624                    /lib64/libreadline.so.5.1
2b3eaeb0a000-2b3eaeb0b000 rw-p 2b3eaeb0a000 00:00 0
2b3eaeb0b000-2b3eaeb12000 r-xp 00000000 09:02 6128621                    /lib64/libhistory.so.5.1
2b3eaeb12000-2b3eaec12000 ---p 00007000 09:02 6128621                    /lib64/libhistory.so.5.1
2b3eaec12000-2b3eaec13000 rw-p 00007000 09:02 6128621                    /lib64/libhistory.so.5.1
2b3eaec13000-2b3eaec89000 r-xp 00000000 09:02 6004270                    /usr/lib64/libfreetype.so.6.3.8
2b3eaec89000-2b3eaed88000 ---p 00076000 09:02 6004270                    /usr/lib64/libfreetype.so.6.3.8
2b3eaed88000-2b3eaed8d000 rw-p 00075000 09:02 6004270                    /usr/lib64/libfreetype.so.6.3.8
2b3eaed8d000-2b3eaed8e000 rw-p 2b3eaed8d000 00:00 0
2b3eaed8e000-2b3eaeda2000 r-xp 00000000 09:02 5890363                    /lib64/libz.so.1.2.3
2b3eaeda2000-2b3eaeea1000 ---p 00014000 09:02 5890363                    /lib64/libz.so.1.2.3
2b3eaeea1000-2b3eaeea2000 rw-p 00013000 09:02 5890363                    /lib64/libz.so.1.2.3
2b3eaeea2000-2b3eaeecb000 r-xp 00000000 09:02 6908619                    /usr/lib64/libfontconfig.so.1.1.0
2b3eaeecb000-2b3eaefca000 ---p 00029000 09:02 6908619                    /usr/lib64/libfontconfig.so.1.1.0
2b3eaefca000-2b3eaefd5000 rw-p 00028000 09:02 6908619                    /usr/lib64/libfontconfig.so.1.1.0
2b3eaefd5000-2b3eaeff6000 r-xp 00000000 09:02 5995828                    /usr/lib64/libexpat.so.1.5.0
2b3eaeff6000-2b3eaf0f5000 ---p 00021000 09:02 5995828                    /usr/lib64/libexpat.so.1.5.0
2b3eaf0f5000-2b3eaf0f8000 rw-p 00020000 09:02 5995828                    /usr/lib64/libexpat.so.1.5.0
2b3eaf0f8000-2b3eaf0f9000 rw-p 2b3eaf0f8000 00:00 0
2b3eaf0f9000-2b3eaf21b000 r-xp 00000000 09:02 6307354                    /lib64/libc-2.4.so
2b3eaf21b000-2b3eaf31b000 ---p 00122000 09:02 6307354                    /lib64/libc-2.4.so
2b3eaf31b000-2b3eaf31e000 r--p 00122000 09:02 6307354                    /lib64/libc-2.4.so
2b3eaf31e000-2b3eaf320000 rw-p 00125000 09:02 6307354                    /lib64/libc-2.4.so
2b3eaf320000-2b3eaf325000 rw-p 2b3eaf320000 00:00 0
2b3eaf325000-2b3eaf378000 r-xp 00000000 09:02 6307654                    /lib64/libm-2.4.so
2b3eaf378000-2b3eaf478000 ---p 00053000 09:02 6307654                    /lib64/libm-2.4.so
2b3eaf478000-2b3eaf47a000 rw-p 00053000 09:02 6307654                    /lib64/libm-2.4.so
2b3eaf47a000-2b3eaf47c000 r-xp 00000000 09:02 6686204                    /usr/lib64/libXau.so.6.0.0
2b3eaf47c000-2b3eaf57c000 ---p 00002000 09:02 6686204                    /usr/lib64/libXau.so.6.0.0
2b3eaf57c000-2b3eaf57d000 rw-p 00002000 09:02 6686204                    /usr/lib64/libXau.so.6.0.0
2b3eaf57d000-2b3eaf57e000 rw-p 2b3eaf57d000 00:00 0
2b3eaf57e000-2b3eaf583000 r-xp 00000000 09:02 6693163                    /usr/lib64/libXdmcp.so.6.0.0
2b3eaf583000-2b3eaf682000 ---p 00005000 09:02 6693163                    /usr/lib64/libXdmcp.so.6.0.0
2b3eaf682000-2b3eaf683000 rw-p 00004000 09:02 6693163                    /usr/lib64/libXdmcp.so.6.0.0
2b3eaf683000-2b3eaf685000 r-xp 00000000 09:02 6307644                    /lib64/libdl-2.4.so
2b3eaf685000-2b3eaf785000 ---p 00002000 09:02 6307644                    /lib64/libdl-2.4.so
2b3eaf785000-2b3eaf787000 rw-p 00002000 09:02 6307644                    /lib64/libdl-2.4.so
2b3eaf787000-2b3eaf797000 r-xp 00000000 09:02 5742006                    /usr/lib64/libXext.so.6.4.0
2b3eaf797000-2b3eaf897000 ---p 00010000 09:02 5742006                    /usr/lib64/libXext.so.6.4.0
2b3eaf897000-2b3eaf898000 rw-p 00010000 09:02 5742006                    /usr/lib64/libXext.so.6.4.0
2b3eaf898000-2b3eaf89a000 rw-p 2b3eaf898000 00:00 0
2b3eaf89a000-2b3eaf8a1000 r-xp 00000000 09:02 6307406                    /lib64/libnss_compat-2.4.so
2b3eaf8a1000-2b3eaf9a0000 ---p 00007000 09:02 6307406                    /lib64/libnss_compat-2.4.so
2b3eaf9a0000-2b3eaf9a2000 rw-p 00006000 09:02 6307406                    /lib64/libnss_compat-2.4.so
2b3eaf9a2000-2b3eaf9b4000 r-xp 00000000 09:02 6306859                    /lib64/libnsl-2.4.so
2b3eaf9b4000-2b3eafab4000 ---p 00012000 09:02 6306859                    /lib64/libnsl-2.4.so
2b3eafab4000-2b3eafab6000 rw-p 00012000 09:02 6306859                    /lib64/libnsl-2.4.so
2b3eafab6000-2b3eafab8000 rw-p 2b3eafab6000 00:00 0
2b3eafab8000-2b3eafac1000 r-xp 00000000 09:02 6307677                    /lib64/libnss_nis-2.4.so
2b3eafac1000-2b3eafbc1000 ---p 00009000 09:02 6307677                    /lib64/libnss_nis-2.4.so
2b3eafbc1000-2b3eafbc3000 rw-p 00009000 09:02 6307677                    /lib64/libnss_nis-2.4.so
2b3eafbc3000-2b3eafbcd000 r-xp 00000000 09:02 6307052                    /lib64/libnss_files-2.4.so
2b3eafbcd000-2b3eafccc000 ---p 0000a000 09:02 6307052                    /lib64/libnss_files-2.4.so
2b3eafccc000-2b3eafcce000 rw-p 00009000 09:02 6307052                    /lib64/libnss_files-2.4.so
2b3eafcce000-2b3eafcda000 r-xp 00000000 09:02 6040322                    /lib64/libgcc_s.so.1
2b3eafcda000-2b3eafdda000 ---p 0000c000 09:02 6040322                    /lib64/libgcc_s.so.1
2b3eafdda000-2b3eafddb000 rw-p 0000c000 09:02 6040322                    /lib64/libgcc_s.so.1
7ffffc6ae000-7ffffc6c4000 rw-p 7ffffc6ae000 00:00 0                      [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/adesklets/__init__.py", line 43, in ?
    raise e
adesklets.error_handler.ADESKLETSError: adesklets process exited -

By syfou (Core Developer & Desklet Author), on Wed Sep 27 23:16:12 2006.

Hi junlitsu,

this is due to the new fontconfig 2.4 branch released on on september de 9th; it is supposed to be fully API compatible with 2.3, but it's not (well, at least in respect to this corner case I am using). For now, you can either downgrade fontconfig (probably not the best way), or manually apply this patch (don't forget to autoreconf).

I will release a new adesklets 0.6.2 soon (in a two weeks time frame) that will incorporate the change. Yours,

By junlitsu (User), on Thu Sep 28 01:25:09 2006.

Wow, that was very fast response. Thank you so much.

By mbokil (Desklet Author), on Sat Nov 18 21:26:32 2006.

Quote:

I will release a new adesklets 0.6.2 soon (in a two weeks time frame) that will incorporate the change. Yours


Thanks for the patch. I applied it also and it worked. How's the 0.6.2 release coming along?

By syfou (Core Developer & Desklet Author), on Sun Nov 19 01:18:32 2006.

mbokil wrote:


Thanks for the patch. I applied it also and it worked. How's the 0.6.2 release coming along?

I would have liked to release it a few weeks ago already. :-( Unfortunately, if it seems to work on most (if not all) GNU/Linux-based systems, the patch creates new problems on other supported platforms such as OpenBSD, and since my current OpenBSD 3.8 test host (an old sparc) died on me, I need to build and install a new environment somewhere else before releasing adesklets 0.6.2... I still hope to release it before adesklets' second birthday next month though.


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.