[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Memory access error in Qt
From:       Erik <esigra () gmail ! com>
Date:       2008-02-27 9:14:51
Message-ID: 47C52A0B.8010609 () gmail ! com
[Download RAW message or body]

Erik skrev:
> Thiago Macieira skrev:
>> The bug is in your glibc. (libdl and ld, to be specific)
>
> OK, I was able to reproduce the bug without Qt:
> #include <dlfcn.h>
> int main () {
>    dlopen ("Q", RTLD_LAZY);
>    return 0;
> }
>
> Invalid read of size 4
>   at 0x4015463: (within /lib/ld-2.6.1.so)
>   by 0x4048C4C: (within /lib/libdl-2.6.1.so)
>   by 0x400D8C1: (within /lib/ld-2.6.1.so)
>   by 0x40490EB: (within /lib/libdl-2.6.1.so)
>   by 0x4048B80: dlopen (in /lib/libdl-2.6.1.so)
>   by 0x8048438: main (main.c:3)
> Address 0x417d048 is 32 bytes inside a block of size 33 alloc'd
>   at 0x4023E2F: malloc (in 
> /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
>   by 0x400D9D6: (within /lib/ld-2.6.1.so)
>   by 0x4008A20: (within /lib/ld-2.6.1.so)
>   by 0x4011933: (within /lib/ld-2.6.1.so)
>   by 0x400D8C1: (within /lib/ld-2.6.1.so)
>   by 0x401131D: (within /lib/ld-2.6.1.so)
>   by 0x4048C4C: (within /lib/libdl-2.6.1.so)
>   by 0x400D8C1: (within /lib/ld-2.6.1.so)
>   by 0x40490EB: (within /lib/libdl-2.6.1.so)
>   by 0x4048B80: dlopen (in /lib/libdl-2.6.1.so)
>   by 0x8048438: main (main.c:3)

I upgraded to glibc-2.7 and the bug is gone!
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic