Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 13:18:46 GMT
From:      Vaclav Haisman <v.haisman@sh.cvut.cz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   gnu/95691: GDB segfaults on my programme in both FreeBSD 6 and 5
Message-ID:  <200604131318.k3DDIkxZ009267@www.freebsd.org>
Resent-Message-ID: <200604131320.k3DDK7RY050044@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 13 13:20:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Vaclav Haisman
>Release:        FreeBSD 6
>Organization:
SU SH
>Environment:
FreeBSD logout.sh.cvut.cz 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan  3 01:20:59 CET 2006     root@logout.sh.cvut.cz:/usr/obj/usr/src/sys/LOGOUT  i386
>Description:
This is my programme: http://logout.sh.cvut.cz/~wilx/imgcmp

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.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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