On Tue, 05 Dec 2006, jamhed wrote:
> > Well, it worked for me, and seemingly for most other people. I'm not sure
> > what makes your configuration special, though :-)
> 
> I was suspecting my 'special config', because of upgrade, so
> I've installed fresh etch on another clean machine, it crashed there too.
> 
> That makes me think there is something wrong.
> 
> It was netinst from this mirror: http://ftp.kulnet.kuleuven.ac.be/debian

I could reproduce the bug. It's locale-dependent. Using ru_RU.KOI8-R or
ru_RU.UTF-8 allowed me to reproduce the bug.

How to reproduce:
- dpkg-reconfigure locales and activate ru_RU.KOI8-R
- if you never used windowmaker start it in your current locale and create
  a second desktop (I don't understand russian)
  this is done with right click on the desktop and then follow the menu
  Workspace/Workspaces/New
- kill wmaker and restart it with: 
  $ export LC_ALL=ru_RU.KOI8-R
  $ wmaker
  (I also unset the various other LANG* env variables just for safety)

Valgrind didn't give any useful information because /usr/bin/wmaker is
just a shell script. Running it on WindowMaker gives something more
interesting:
$ LC_ALL=ru_RU.KOI8-R valgrind WindowMaker
==21367== Memcheck, a memory error detector.
==21367== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==21367== Using LibVEX rev 1658, a library for dynamic binary translation.
==21367== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==21367== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation 
framework.
==21367== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==21367== For more details, rerun with: -v
==21367==
==21367== Invalid read of size 4
==21367==    at 0x4010E00: (within /lib/ld-2.3.6.so)
==21367==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==21367==    by 0x4006792: (within /lib/ld-2.3.6.so)
==21367==    by 0x428A2AF: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==21367==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==21367==    by 0x4289D1E: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==21367==    by 0x4186D8D: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==21367==    by 0x418742C: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x4186D20: dlopen (in /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x40B3448: (within /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B3756: _XNoticeCreateBitmap (in /usr/lib/libX11.so.6.2.0)
==21367==  Address 0x44D8780 is 24 bytes inside a block of size 25 alloc'd
==21367==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==21367==    by 0x4006B83: (within /lib/ld-2.3.6.so)
==21367==    by 0x428A2AF: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==21367==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==21367==    by 0x4289D1E: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==21367==    by 0x4186D8D: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==21367==    by 0x418742C: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x4186D20: dlopen (in /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x40B3448: (within /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B3756: _XNoticeCreateBitmap (in /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B3B3C: XCreatePixmap (in /usr/lib/libX11.so.6.2.0)
==21367==
==21367== Conditional jump or move depends on uninitialised value(s)
==21367==    at 0x4008ED5: (within /lib/ld-2.3.6.so)
==21367==    by 0x428A704: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==21367==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==21367==    by 0x4289D1E: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==21367==    by 0x4186D8D: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==21367==    by 0x418742C: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x4186D20: dlopen (in /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x40B3448: (within /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B3756: _XNoticeCreateBitmap (in /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B3B3C: XCreatePixmap (in /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B29BF: XCreateBitmapFromData (in /usr/lib/libX11.so.6.2.0)
==21367==
==21367== Conditional jump or move depends on uninitialised value(s)
==21367==    at 0x4008B2E: (within /lib/ld-2.3.6.so)
==21367==    by 0x428A704: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==21367==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==21367==    by 0x4289D1E: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==21367==    by 0x4186D8D: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==21367==    by 0x418742C: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x4186D20: dlopen (in /lib/tls/i686/cmov/libdl-2.3.6.so)
==21367==    by 0x40B3448: (within /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B3756: _XNoticeCreateBitmap (in /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B3B3C: XCreatePixmap (in /usr/lib/libX11.so.6.2.0)
==21367==    by 0x40B29BF: XCreateBitmapFromData (in /usr/lib/libX11.so.6.2.0)
==21367==
==21367== ERROR SUMMARY: 5 errors from 3 contexts (suppressed: 49 from 1)
==21367== malloc/free: in use at exit: 131,375 bytes in 2,481 blocks.
==21367== malloc/free: 8,057 allocs, 5,576 frees, 1,721,078 bytes allocated.
==21367== For counts of detected errors, rerun with: -v
==21367== searching for pointers to 2,481 not-freed blocks.
==21367== checked 361,424 bytes.
==21367==
==21367== LEAK SUMMARY:
==21367==    definitely lost: 2,571 bytes in 78 blocks.
==21367==      possibly lost: 0 bytes in 0 blocks.
==21367==    still reachable: 128,804 bytes in 2,403 blocks.
==21367==         suppressed: 0 bytes in 0 blocks.
==21367== Use --leak-check=full to see details of leaked memory.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to