Bug#849750: Crashes the (LXDE) desktop

James Cowgill jcowgill at debian.org
Fri Dec 30 18:55:21 UTC 2016


Control: reassign libsfml-window2.4 2.4.1+dfsg-1
Control: tags -1 pending

Hi,

On 30/12/16 17:24, Markus Koschany wrote:
> Control: severity -1 serious
> 
> On 30.12.2016 15:27, Julien Puydt wrote:
>> Package: marsshooter
>> Version: 0.7.6-1+b1
>> Severity: critical
>>
>> Hi,
>>
>> I installed the package, clicked on the menu entry and my lxde panel
>> just disappeared. I restarted lxdm and retried : same effect!
>>
>> Restarting lxdm and launching in a terminal, I get :
>>
>> Cannot connect to server socket err = No such file or directory
>> Cannot connect to server request channel
>> jack server is not running or cannot be started
>> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for
>> 4294967295, skipping unlock
>> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for
>> 4294967295, skipping unlock
>> Searching for configuration file... Found
>> /home/jpuydt/.marsshooter/mars.cfg
>> Searching for data files... Found /usr/share/games/marsshooter/
>> Happy Gaming...
>>
>> (comment: it doesn't find jackd which isn't a problem, but
>>
>> but the game doesn't display anything (it runs though: I have to ctrl+C
>> to get the prompt back), and it looks like both the panel and the window
>> manager are dead : all the running apps' windows turn borderless. I can
>> still launch new apps by clicking on the desktop icons.
>>
>> I didn't know if I should set the severity to grave or critical, but
>> since the game is both not usable and trying to run it breaks something
>> else, I settled for critical.
>>
>> Hope that helps,
> 
> Hello,
> 
> please help us by providing more information about your system next
> time. The reportbug tool is quite convenient for this matter because it
> automatically detects which Debian distribution you run, the
> architecture, and the versions of all installed package dependencies.
> Without those information I can only guess what went wrong. Also please
> always try to confirm or not confirm the bug with other games that use
> the same graphic stack. Very often the underlying issue is in SDL or
> SFML or even lower in the X or driver stack.
> 
> So for the record the game currently works fine on amd64, testing with
> GNOME 3. It doesn't work for me on i386, sid, Openbox, LXDE, Xfce4 and
> Enlightenment. The game just segfaults the moment when the window is
> normally created.
> 
> I am attaching a debug log with the relevant information. I am not sure
> if this is a bug in libsfml-window2.4 or marsshooter itself because I
> can't reproduce it with Extremetuxracer. I only know that the game
> worked fine a couple of months ago when I tried it on i386 and the code
> has not changed.

From the stacktrace, this bug is definitely this one related to the
sf::Window::setIcon function:
https://github.com/SFML/SFML/pull/1171

This would explain why it only crashes with marsshooter -
extremetuxracer doesn't try to change the application icon.

I can also reproduce LXDE crashing (specifically openbox crashes). It
seems to be random which of marsshooter or openbox crashes. GDB says
that openbox crashes in a function related to icons so it's probably
related to the above PR.

I will upload the fix from the above PR and hopefully that will fix both
segfaults here.

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20161230/f4dfcf52/attachment-0001.sig>


More information about the Pkg-games-devel mailing list