GDB: Cannot access memory at address 0x40017df0
Hi,
this morning, I did the upgrade of bind, and because of that, my
libc6 was upgraded. After that, I've been unable to run gdb
on my favorite little program. Does this soudn familiar to
anyone? (ie, the error: `Cannot access memory at address 0x40017df0').
After that, I upgraded my whole system (apt-get upgrade), so now
all libraries are up-to-date (as wel as the .dev packages), but
the error message stays.
(Yes, I can put a breakpoint at the first line of the program, and
still I get the same error message).
$ gdb q
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /home/users/r+d/central2/joost/config/q
Cannot access memory at address 0x40017df0
$ ldd q
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40021000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4004e000)
libldap.so.2 => /usr/lib/libldap.so.2 (0x4005f000)
liblber.so.2 => /usr/lib/liblber.so.2 (0x40085000)
libc.so.6 => /lib/libc.so.6 (0x4008f000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4019b000)
libsasl.so.7 => /usr/lib/libsasl.so.7 (0x401b0000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libdb2.so.2 => /usr/lib/libdb2.so.2 (0x401bc000)
libdl.so.2 => /lib/libdl.so.2 (0x40200000)
libpam.so.0 => /lib/libpam.so.0 (0x40203000)
Thanks,
joostje
Reply to: