gdb75 dumps core on startup

Hans Ottevanger hans at
Mon Aug 27 15:00:02 UTC 2012

On 08/27/12 16:03, Andriy Gapon wrote:
> Program terminated with signal 11, Segmentation fault
> ...
> #0  0x00000000004777e2 in i386_use_watchpoints ()
> #1  0x0000000000476bbd in _initialize_amd64fbsd_nat ()
> #2  0x000000000060deea in initialize_all_files ()
> #3  0x00000000005e710f in gdb_init ()
> #4  0x0000000000549086 in relocate_gdb_directory ()
> #5  0x0000000000547aa4 in catch_errors ()
> #6  0x0000000000548bb4 in gdb_main ()
> #7  0x0000000000457ea9 in main ()
> This is on amd64 head.

I can confirm that this happens on my not so recent 10-CURRENT 
(r239353), also amd64.

I see a similar issue on 8.3-STABLE (r239646) on amd64:

$ gdb75 ./a.out
[GDB will not be able to debug user-mode threads: 
/usr/lib/ Undefined symbol "ps_pglobal_lookup"]
Segmentation fault: 11 (core dumped)

while on i386 gcc75 works OK, but I see:

$ gdb75 ./a.out
[GDB will not be able to debug user-mode threads: 
/usr/lib/ Undefined symbol "ps_pglobal_lookup"]
GNU gdb (GDB) 7.5 [GDB v7.5 for FreeBSD]
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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 "i386-portbld-freebsd8.3".
For bug reporting instructions, please see:
Reading symbols from /home/hans/a.out...done.

I do not know if the message about the undefined symbol is related to 
the issue at hand. The previous version (gcc741) did not show this 
message and functioned perfectly, also on amd64.

Kind regards,


More information about the freebsd-ports mailing list