Re: [dev] [libixp/wmii] getpagesize.c: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.

From: Kris Maglione <maglione.k_AT_gmail.com>
Date: Wed, 2 Jun 2010 15:56:32 -0400

On Wed, Jun 02, 2010 at 09:13:22PM +0200, Jonas H. wrote:
>I am getting assertion errors for a few days now, for example if I
>run
>
> $ wmiir namespace
> wmiir: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize:
>Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
>
>
>gdb stack trace:
>
> [snip]
> #4 0xb7f48fef in getpagesize () from /lib/libc.so.6
> [snip]
> #13 0x0807968f in getpwuid ()
> #14 0x0804cd0b in _user ()
> #15 0x0804ce5c in ns_display ()
> #16 0x0804cf77 in ixp_namespace ()
> #17 0x080493ed in xnamespace (argc=0, argv=0xbffff82c) at wmiir.c:327
> path = 0xc <Address 0xc out of bounds>
> _argtmp = 0
> _inargv = 0
> _argv = 0x0
> #18 0x08049987 in main (argc=1, argv=0xbffff828) at wmiir.c:444
> address = 0xbffffa84 "unix!/tmp/ns.jonas.:0/wmii"
> tab = 0x80e0c20
> ret = 134575095
> _argtmp = 0
> _inargv = 0
> _argv = 0x0
>
>
>I'm using libixp rev tip-1 on Arch Linux (libixp packages from AUR,
>kernel 2.6.33-4) with glibc 2.12.
>
>For me, this seems not to be a problem with libixp itself -- but I
>appreciate any tips on what's going wrong here ;-)

Since glibc 2.2 on Arch x86_64, wmiir doesn't work if it's
statically linked. I don't know why. Just add STATIC= to
config.local.mk or to your make commandline.

-- 
Kris Maglione
The easy confidence with which I know another man's religion is folly
teaches me to suspect that my own is also.
	--Mark Twain
Received on Wed Jun 02 2010 - 19:56:32 UTC

This archive was generated by hypermail 2.2.0 : Wed Jun 02 2010 - 20:00:03 UTC