Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2012 13:47:07 -0400
From:      Etienne Robillard <animelovin@gmail.com>
To:        Oliver Pinter <oliver.pntr@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: gdb coredump on 9-STABLE
Message-ID:  <4FBE741B.8020906@gthcfoundation.org>
In-Reply-To: <CAPjTQNGwPnK%2BcOa%2BrGWvsedeEn4Hj=5dYpLXnJurXr8sdaLgWA@mail.gmail.com>
References:  <CAPjTQNGwPnK%2BcOa%2BrGWvsedeEn4Hj=5dYpLXnJurXr8sdaLgWA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/24/2012 01:28 PM, Oliver Pinter wrote:
> Script started on Thu May 24 19:25:44 2012
>
> op has logged on :0 from local.
> root has logged on ttyv1 from local.
> ESC[1mopESC[m@ESC[4mopnESC[24m ~>  gdb sleep ^M
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 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 "amd64-marcel-freebsd"...(no debugging
> symbols found)...
> (gdb) run 100
> Starting program: /bin/sleep 100
> (no debugging symbols found)...(no debugging symbols found)...^C
> Program received signal SIGINT, Interrupt.
> 0x00000008012211fc in nanosleep () from /lib/libc.so.7
> (gdb) q
> The program is running.  Exit anyway? (y or n) a
> Please answer y or n.
> Segmentation fault (core dumped)
> ESC[1mopESC[m@ESC[4mopnESC[24m ~>  exit
>
> Script done on Thu May 24 19:26:11 2012
>
> --------------------
>
>
> op@opn ~>  gdb gdb gdb.core
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 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 "amd64-marcel-freebsd"...(no debugging
> symbols found)...
> Core was generated by `gdb'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
> Loaded symbols for /lib/libm.so.5
> Reading symbols from /lib/libreadline.so.8...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/libreadline.so.8
> Reading symbols from /lib/libncurses.so.8...(no debugging symbols found)...done.
> Loaded symbols for /lib/libncurses.so.8
> Reading symbols from /usr/lib/libgnuregex.so.5...(no debugging symbols
> found)...done.
> Loaded symbols for /usr/lib/libgnuregex.so.5
> Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /usr/lib/libthread_db.so...(no debugging symbols
> found)...done.
> Loaded symbols for /usr/lib/libthread_db.so
> Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x0000000800d26887 in strlen () from /lib/libc.so.7
> (gdb) bt full
> #0  0x0000000800d26887 in strlen () from /lib/libc.so.7
> No symbol table info available.
> #1  0x0000000800d1f662 in open () from /lib/libc.so.7
> No symbol table info available.
> #2  0x0000000800cd0af4 in vasprintf () from /lib/libc.so.7
> No symbol table info available.
> #3  0x0000000000486fe9 in xvasprintf ()
> No symbol table info available.
> #4  0x00000000004884c3 in warning ()
> No symbol table info available.
> #5  0x0000000000488d0b in query ()
> No symbol table info available.
> #6  0x00000000004953bb in quit_confirm ()
> No symbol table info available.
> #7  0x0000000000466018 in quit_command ()
> No symbol table info available.
> #8  0x00000000004960f5 in execute_command ()
> No symbol table info available.
> #9  0x0000000000452b63 in push_prompt ()
> No symbol table info available.
> #10 0x0000000000453797 in display_gdb_prompt ()
> No symbol table info available.
> #11 0x000000080d26ff87 in rl_callback_read_char () from /lib/libreadline.so.8
> No symbol table info available.
> #12 0x0000000000452d29 in push_prompt ()
> No symbol table info available.
> #13 0x0000000000453d9f in delete_async_signal_handler ()
> No symbol table info available.
> #14 0x0000000000454686 in gdb_do_one_event ()
> No symbol table info available.
> #15 0x000000000049665e in throw_exception ()
> No symbol table info available.
> #16 0x00000000004966b3 in catch_errors ()
> No symbol table info available.
> #17 0x000000000052ddba in _initialize_tui_interp ()
> No symbol table info available.
> #18 0x0000000000439869 in gdb_main ()
> No symbol table info available.
> #19 0x000000000049665e in throw_exception ()
> No symbol table info available.
> #20 0x00000000004966b3 in catch_errors ()
> No symbol table info available.
> ---Type<return>  to continue, or q<return>  to quit---
> #21 0x000000000043924d in gdb_main ()
> No symbol table info available.
> #22 0x000000000049665e in throw_exception ()
> No symbol table info available.
> #23 0x00000000004966b3 in catch_errors ()
> No symbol table info available.
> #24 0x0000000000438bc4 in gdb_main ()
> No symbol table info available.
> #25 0x0000000000438b96 in main ()
> No symbol table info available.
> (gdb) q
>
> ------------------
>
> FreeBSD opn 9.0-STABLE FreeBSD 9.0-STABLE #59 r235633+a40b20b: Sat May
> 19 16:23:04 CEST 2012     root@opn:/usr/obj/usr/src/sys/stable  amd64
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>

Hi Oliver,

sound like your fault. I cannot reproduce it from yesterday snapshot.  I 
recommend either you double check your kernel config values and possibly 
your gcc configuration which may be faulty on your host. If all else 
fails, try again using GENERIC.

Cheers,

E

-- 
Etienne Robillard
Occupation: Software Developer
Company:    Green Tea Hackers Club
Email:      erob@gthcfoundation.org
Website:    gthcfoundation.org
Skype ID:   incidah



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FBE741B.8020906>