gnu/95691: GDB segfaults on my programme in both FreeBSD 6 and 5

Vaclav Haisman v.haisman at
Thu Apr 13 13:20:12 UTC 2006

>Number:         95691
>Category:       gnu
>Synopsis:       GDB segfaults on my programme in both FreeBSD 6 and 5
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 13 13:20:07 GMT 2006
>Originator:     Vaclav Haisman
>Release:        FreeBSD 6
FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan  3 01:20:59 CET 2006     root at  i386
This is my programme:

This executable (linked against math/fftw3 and graphics/gd) crashes GDB with segmentation fault when it is loading it:

logout::wilx:~/imgcmp> gdb ./imgcmp
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 "i386-marcel-freebsd"...zsh: segmentation fault (core dumped)  gdb ./imgcmp

When I compile the source on FreeBSD 5 I get the same segfault. This is pretty bad problem for me because I cannot debug the programme (I know it is buggy.).

I can attach the source code if it shows to be necessary to find out the root cause and to fix it.




More information about the freebsd-bugs mailing list