Bug#784259: lgc-pg segfaults when run headless

2015-05-05 Thread Markus Koschany
Control: tags -1 confirmed

On 04.05.2015 18:30, Alexandre Detiste wrote:
 Package: lgc-pg
 Version: 1.2.6-1
 Severity: normal
 
 Dear Maintainer,
 
 I see that lgc-pg uses libSDL for it's imager manipulation.
 
 If run headless, it will segfault;
 I see that when run normally it opens a window
 for a fraction of a second.
 
 I guess somewhere there is an unchecked SDL return code.
 
 This behaviour could also be documented.

Hi,

thanks for your report. Indeed this a bug in lgc-pg which should not
segfault under these circumstances. The error handling should be
improved and I can document the requirements for running lgc-pg in its
manual page.

Regards,

Markus



signature.asc
Description: OpenPGP digital signature


Bug#784259: lgc-pg segfaults when run headless

2015-05-04 Thread Alexandre Detiste
Package: lgc-pg
Version: 1.2.6-1
Severity: normal

Dear Maintainer,

I see that lgc-pg uses libSDL for it's imager manipulation.

If run headless, it will segfault;
I see that when run normally it opens a window
for a fraction of a second.

I guess somewhere there is an unchecked SDL return code.

This behaviour could also be documented.

Alexandre Detiste

/tmp $ lgc-pg -s raw/ -d result/
LGeneral Converter for Panzer General (DOS version) v1.2.6
Copyright 2002-2012 Michael Speck
Released under GNU GPL
---
Settings:
  Source: raw/
  Destination: result/
  Target: pg
  Full Campaign
  Use Individual Palettes
  Apply PG unit modifications
Segmentation fault



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-trunk-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lgc-pg depends on:
ii  libc62.19-18
ii  libsdl1.2debian  1.2.15-11

lgc-pg recommends no packages.

Versions of packages lgc-pg suggests:
pn  lgeneral  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org