• Bug#265678: fakeroot gdb segfaults on mips

    From Thiemo Seufer@1:229/2 to All on Sat Aug 14 14:30:10 2004
    From: [email protected]

    Package: fakeroot
    Version: 1.0.7
    Severity: important

    Fakeroot appears to be broken on mips for every command depending on
    libdl. A simple example:

    hattusa:~$ fakeroot gdb
    /usr/bin/fakeroot: line 148: 9506 Segmentation fault FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"

    This happens at least with fakeroot versions 1.0.5, 1.0.6 and 1.0.7.


    Thiemo

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (500, 'testing')
    Architecture: mips
    Kernel: Linux 2.4.26-sb1-swarm-bn
    Locale: LANG=C, LC_CTYPE=de_DE@euro

    Versions of packages fakeroot depends on:
    ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Clint Adams@1:229/2 to All on Sat Aug 14 17:30:16 2004
    From: [email protected]

    Fakeroot appears to be broken on mips for every command depending on
    libdl. A simple example:

    I can reproduce this with gdb, but not with bash or zsh, which are also
    both linked against libdl. file also segfaults, though it is not linked against libdl.

    hattusa:~$ fakeroot gdb
    /usr/bin/fakeroot: line 148: 9506 Segmentation fault FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"

    This happens at least with fakeroot versions 1.0.5, 1.0.6 and 1.0.7.

    Both the segfault in gdb and file appear to be in _dl_unload_cache:

    #0 0x2aab1564 in _dl_unload_cache () from /lib/ld.so.1
    Cannot access memory at address 0x7f7f7fec



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Thiemo Seufer@1:229/2 to Clint Adams on Sat Aug 14 20:30:09 2004
    From: [email protected]

    Clint Adams wrote:
    Fakeroot appears to be broken on mips for every command depending on
    libdl. A simple example:

    I can reproduce this with gdb, but not with bash or zsh, which are also
    both linked against libdl. file also segfaults, though it is not linked against libdl.

    The program where I noticed the problem was gconftool-2. I tried to
    debug it with gdb...

    I can confirm "fakeroot bash" works here as well.

    hattusa:~$ fakeroot gdb
    /usr/bin/fakeroot: line 148: 9506 Segmentation fault FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"

    This happens at least with fakeroot versions 1.0.5, 1.0.6 and 1.0.7.

    Both the segfault in gdb and file appear to be in _dl_unload_cache:

    #0 0x2aab1564 in _dl_unload_cache () from /lib/ld.so.1
    Cannot access memory at address 0x7f7f7fec

    So it appears to be a libc problem.


    Thiemo


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Martin Michlmayr@1:229/2 to All on Sat Aug 14 20:50:04 2004
    From: [email protected]

    Just for reference, this was also reported as #264920
    --
    Martin Michlmayr
    [email protected]


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Thiemo Seufer@1:229/2 to Thiemo Seufer on Sat Aug 14 22:40:09 2004
    From: [email protected]

    Thiemo Seufer wrote:
    Clint Adams wrote:
    Fakeroot appears to be broken on mips for every command depending on libdl. A simple example:

    I can reproduce this with gdb, but not with bash or zsh, which are also both linked against libdl. file also segfaults, though it is not linked against libdl.

    The program where I noticed the problem was gconftool-2. I tried to
    debug it with gdb...

    I can confirm "fakeroot bash" works here as well.

    file, however, does not segfault here but uses up to 1.4 GB per call.
    This slowes compilations down quite a bit. :-)


    Thiemo


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)