[Reportbug-maint] Bug#862152: crash when $DISPLAY is defined

Nis Martensen nis.martensen at web.de
Mon May 29 19:55:28 UTC 2017

On Tue, 09 May 2017 07:55:20 +0200 Erwan David <erwan at rail.eu.org> wrote:
> Package: reportbug
> Version: 7.1.6
> Severity: important
> When launching reportbug with $DISPLAY defined I get errors :
> @erdavid-dt:~ 8m34s % reportbug emacs
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> zsh: segmentation fault  reportbug emacs

Searching the web for the libGL errors suggests that this could be a
problem with the NVIDIA driver. Are you using this graphics driver?

This only manages to crash reportbug because we try to load all its UIs
to detect which ones are available, but I think this is a minor bug
only. The crash itself does not seem to be caused by the reportbug code.

To work around the problem, Sandro already suggested you could try:

  DISPLAY= reportbug emacs

If that does not help, you could try unsetting DISPLAY in a subshell:

  (unset DISPLAY; reportbug emacs)

More information about the Reportbug-maint mailing list