Results 1 to 2 of 2

Thread: SEGFAULT on 32bit ELDK

  1. #1

    Default SEGFAULT on 32bit ELDK

    I used to run the quite old ELDK-3.1 on my box with no trouble.
    I have OpenSuse Factory installed, and everything worked fine until 2012-05-30.

    Since then, I did an update that replaced "glibc-2.15-19.1" by "glibc-2.15-21.1" and I started to see a SEGFAULT on any GCC power-pc executable ("ppc-linux-*").

    From "/var/log/messages":
    Code:
    Jun 19 09:48:36 linux-8666 kernel: [40167.765187] ppc-linux-gcc[14437]: segfault at 74706f3b ip 00000000f765c5ee sp 00000000ffbfe470 error 4 in libc-2.15.so[f75e9000+1a0000]
    From "/var/log/zypp/history":
    Code:
    2012-05-15  09:58:26|install|glibc|2.15-19.1|x86_64||openSUSE-Factory-Oss|7a8e425e69530d6dee8d384d043bf9c9d5b18ecae4a60f07e437cddfd867d2e4
    2012-05-30  12:22:55|install|glibc|2.15-21.1|x86_64||openSUSE-Factory-Oss|55a44cb57252ef338583fa62756e72e8500bb105186049b95dc3806c8737d01a
    GDB backtrace:
    Code:
    $ gdb `which ppc-linux-gcc`
    GNU gdb (GDB) SUSE (7.4.50.20120603-1.1)
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-suse-linux".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /opt/ELDK-3.1/usr/bin/ppc-linux-gcc...(no debugging symbols found)...done.
    (gdb) r
    Starting program: /opt/ELDK-3.1/usr/bin/ppc-linux-gcc 
    
    Program received signal SIGSEGV, Segmentation fault.
    0xf7e7b5ee in _int_free (av=0xf7faa440 <main_arena>, p=0x8063640, have_lock=1) at malloc.c:4085
    4085            unlink(nextchunk, bck, fwd);
    (gdb) backtrace
    #0  0xf7e7b5ee in _int_free (av=0xf7faa440 <main_arena>, p=0x8063640, have_lock=1) at malloc.c:4085
    #1  0xf7e7d8d4 in free_check (mem=0x8064650, caller=0x80547a0) at hooks.c:257
    #2  0xf7e7f00b in __GI___libc_free (mem=0x8064650) at malloc.c:2959
    #3  0x080547a0 in ?? ()
    #4  0x080522d9 in ?? ()
    #5  0xf7e213d5 in __libc_start_main (main=0x8051c40, argc=1, ubp_av=0xffffce74, init=0x8048d78, fini=0x8056250, rtld_fini=0xf7fea840 <_dl_fini>, 
        stack_end=0xffffce6c) at libc-start.c:226
    #6  0x080491c1 in ?? ()
    (gdb) backtrace full
    #0  0xf7e7b5ee in _int_free (av=0xf7faa440 <main_arena>, p=0x8063640, have_lock=1) at malloc.c:4085
            size = 8208
            fb = <optimized out>
            nextchunk = 0x8065650
            nextsize = <optimized out>
            nextinuse = 0
            prevsize = <optimized out>
            bck = 0x444c452f
            fwd = 0x74706f2f
            errstr = 0x0
            locked = 0
            __func__ = "_int_free"
    #1  0xf7e7d8d4 in free_check (mem=0x8064650, caller=0x80547a0) at hooks.c:257
            p = <optimized out>
    #2  0xf7e7f00b in __GI___libc_free (mem=0x8064650) at malloc.c:2959
            ar_ptr = <optimized out>
            p = <optimized out>
            hook = <optimized out>
    #3  0x080547a0 in ?? ()
    No symbol table info available.
    #4  0x080522d9 in ?? ()
    No symbol table info available.
    #5  0xf7e213d5 in __libc_start_main (main=0x8051c40, argc=1, ubp_av=0xffffce74, init=0x8048d78, fini=0x8056250, rtld_fini=0xf7fea840 <_dl_fini>, 
        stack_end=0xffffce6c) at libc-start.c:226
            result = <optimized out>
            unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-134569996, 0, 0, 0, -434506036, -576384292}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
                  0x1, 0x80491a0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}}
            not_first_call = <optimized out>
    #6  0x080491c1 in ?? ()
    No symbol table info available.
    (gdb)

    Other 32bit binaries like Skype are still running.

    I considered a downgrade of "glibc" but "glibc-2.15-19.1" is no longer available and zypper frightened me about one thousand dependent downgrades and arch changes (to i586) that led me to think it was not a good solution.

    Could anyone please help me to find a fix for this?
    Any help will be very wellcome.

    Thanks a lot.
    Last edited by J_arantes; 19-Jun-2012 at 06:22. Reason: Added full backtrace.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: SEGFAULT on 32bit ELDK

    On 2012-06-19 15:16, J arantes wrote:
    > I have OpenSuse Factory installed, and everything worked fine until


    factory related questions should go to the beta forum.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •