Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2005 09:10:18 -0800
From:      Clint Olsen <clint@0lsen.net>
To:        Volker Stolz <vs@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mail/glbiff dumps core on 5.3-RELEASE-p2
Message-ID:  <20050110171018.GB49395@0lsen.net>
In-Reply-To: <20050110093542.GA60982@i2.informatik.rwth-aachen.de>
References:  <20050107231614.GA80877@0lsen.net> <20050110093542.GA60982@i2.informatik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 10, Volker Stolz wrote:
> If you have to software installed and build it (again) from source,
> usually the binary in the port's working directory still has its
> debugging symbols since they're only stripped on installation. So you
> should be able to run the binary from this directory and get a meaningful
> backtrace.

I had to enable debugging in the Makefile:

#0  0x0804ab08 in make_rgb_db_window (dpy=0x0, x=0, y=0, width=100, height=100)
    at glbiff.cc:452
452       scrnum = DefaultScreen(dpy);
(gdb) bt
#0  0x0804ab08 in make_rgb_db_window (dpy=0x0, x=0, y=0, width=100, height=100)
    at glbiff.cc:452
#1  0x0804b09a in main (argc=1, argv=0xbfbfed3c) at glbiff.cc:604
(gdb) 

I ran this as root in this case.

Running as an average user now actually doesn't result in a core:

Xlib:  extension "GLX" missing on display ":1.0".
Error: couldn't get an RGB, Double-buffered visual

Program exited with code 01.

I have no idea what this means.

-Clint



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