Debian Bug report logs - #768572
megaglest_editor and megaglest_g3dviewer fail to start due to wxwidgets assertion

version graph

Package: megaglest; Maintainer for megaglest is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>; Source for megaglest is src:megaglest (PTS, buildd, popcon).

Reported by: Markus Koschany <apo@gambaru.de>

Date: Sat, 8 Nov 2014 13:48:01 UTC

Severity: important

Found in version megaglest/3.9.1-1

Fixed in version megaglest/3.9.1-2

Done: Markus Koschany <apo@gambaru.de>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/MegaGlest/megaglest-source/issues/28

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, apo@gambaru.de, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#768572; Package megaglest. (Sat, 08 Nov 2014 13:48:06 GMT) (full text, mbox, link).


Acknowledgement sent to Markus Koschany <apo@gambaru.de>:
New Bug report received and forwarded. Copy sent to apo@gambaru.de, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sat, 08 Nov 2014 13:48:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@gambaru.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: megaglest_editor and megaglest_g3dviewer fail to start due to wxwidgets assertion
Date: Sat, 08 Nov 2014 14:45:36 +0100
Package: megaglest
Version: 3.9.1-1+b1
Severity: important


When I run »megaglest_editor« I get an assertion, which makes
megaglest_editor and megaglest_g3dviewer sometimes unusable. Compiling
Megaglest with -DNDEBUG does not help in this case.

.../src/unix/glx11.cpp(86): assert "xid" failed in SetCurrent(): window
must be shown

ASSERT INFO:
.../src/unix/glx11.cpp(86): assert "xid" failed in SetCurrent(): window
must be shown

BACKTRACE:
[1] wxGLContext::SetCurrent(wxGLCanvas const&) const
[2] MapEditor::MainWindow::init(std::string)
[3] MapEditor::App::OnInit()
[4] wxEntry(int&, wchar_t**)
[5] main
[6] __libc_start_main
[7] _start


After more investigation I found out that the error is caused by
source/glest_map_editor/main.cpp line 141. Apparently setCurrent()
must be called after the window is shown but I don't know a solution
yet.

For megaglest_g3dviewer I see

Using wxWidgets version [3.0.2.0]
14:39:06: Debug: Unsupported OpenGL attribute 41205688
.../src/unix/glx11.cpp(86): assert "xid" failed in SetCurrent(): window
must be shown

Error [main]: glewInit failed: Missing GL version

I have reported this issue upstream as

https://github.com/MegaGlest/megaglest-source/issues/29

https://github.com/MegaGlest/megaglest-source/issues/28

Markus


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages megaglest depends on:
ii  famfamfam-flag-png                 0.1-3
ii  fonts-liberation                   1.07.4-1
ii  fonts-uralic                       0.0.20040829-5
ii  fonts-wqy-zenhei [ttf-wqy-zenhei]  0.9.45-6
ii  libc6                              2.19-12
ii  libcurl3-gnutls                    7.38.0-2
ii  libfontconfig1                     2.11.0-6.1
ii  libfribidi0                        0.19.6-3
ii  libftgl2                           2.1.3~rc5-4+nmu1
ii  libgcc1                            1:4.9.1-19
ii  libgl1-mesa-glx [libgl1]           10.3.2-1
ii  libglew1.10                        1.10.0-3
ii  libglu1-mesa [libglu1]             9.0.0-2
ii  libircclient1                      1.8-2
ii  libjpeg62-turbo                    1:1.3.1-10
ii  liblua5.1-0                        5.1.5-7.1
ii  libminiupnpc10                     1.9.20140610-2
ii  libopenal1                         1:1.15.1-5
ii  libpng12-0                         1.2.50-2
ii  libsdl1.2debian                    1.2.15-10
ii  libstdc++6                         4.9.1-19
ii  libvorbisfile3                     1.3.4-1
ii  libwxbase3.0-0                     3.0.2-1+b1
ii  libwxgtk3.0-0                      3.0.2-1+b1
ii  libx11-6                           2:1.6.2-3
ii  libxerces-c3.1                     3.1.1-5
ii  megaglest-data                     3.9.1-1
ii  p7zip-full                         9.20.1~dfsg.1-4.1
ii  ttf-dejavu-core                    2.34-1
ii  ttf-wqy-zenhei                     0.9.45-6

megaglest recommends no packages.

megaglest suggests no packages.

-- no debconf information



Set Bug forwarded-to-address to 'https://github.com/MegaGlest/megaglest-source/issues/28'. Request was from Markus Koschany <apo@gambaru.de> to control@bugs.debian.org. (Sat, 08 Nov 2014 13:57:19 GMT) (full text, mbox, link).


Reply sent to Markus Koschany <apo@gambaru.de>:
You have taken responsibility. (Mon, 01 Dec 2014 19:51:12 GMT) (full text, mbox, link).


Notification sent to Markus Koschany <apo@gambaru.de>:
Bug acknowledged by developer. (Mon, 01 Dec 2014 19:51:12 GMT) (full text, mbox, link).


Message #12 received at 768572-close@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@gambaru.de>
To: 768572-close@bugs.debian.org
Subject: Bug#768572: fixed in megaglest 3.9.1-2
Date: Mon, 01 Dec 2014 19:48:51 +0000
Source: megaglest
Source-Version: 3.9.1-2

We believe that the bug you reported is fixed in the latest version of
megaglest, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 768572@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@gambaru.de> (supplier of updated megaglest package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 01 Dec 2014 19:19:07 +0100
Source: megaglest
Binary: megaglest megaglest-dbg
Architecture: source
Version: 3.9.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@gambaru.de>
Description:
 megaglest  - 3D multi-player real time strategy game
 megaglest-dbg - debug files for MegaGlest
Closes: 768572
Changes:
 megaglest (3.9.1-2) unstable; urgency=medium
 .
   * Add wxWidgets-assertions.patch.
     Fix megaglest_editor and megaglest_g3dviewer assertions with newer versions
     of wxWidgets that made the tools unusable. (Closes: #768572)
     Cherry-picked from upstream master branch. Commits c21317a5f, ad0b65272,
     6faa3dc72. Thanks to Mark Vejvoda for the patch.
   * debian/rules: Export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG and disable
     wxWidgets assertions.
Checksums-Sha1:
 2b29ea9bd2059ee4c7cfe4ad2d776c8eee00c739 2670 megaglest_3.9.1-2.dsc
 53cc87c837a1d1ffd79098449b1889d5cc7bd801 19560 megaglest_3.9.1-2.debian.tar.xz
Checksums-Sha256:
 155aa45a5e9a32b1684c0dedad8d6ab3cb7752426ef460cb3de6380b16a47991 2670 megaglest_3.9.1-2.dsc
 8cc64704b4ad7909b7d9d43dde6950130b605df4037d1b4966c5a520ff7774c7 19560 megaglest_3.9.1-2.debian.tar.xz
Files:
 fa8c3bcff346ab913bd19a61bbd56103 2670 games extra megaglest_3.9.1-2.dsc
 01ff3afd417fab8151069379e4ca2c53 19560 games extra megaglest_3.9.1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJUfLxAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQ0YzRDA4OEVGMzJFREVGNkExQTgzNUZE
OUFEMTRCOTUxM0I1MUU0AAoJENmtFLlRO1HkqQcP/2kyauwyhcTSTjXDk+sTIGyp
jDQ+3m81gsj7R+JN9acwdZX1henXszEqW9rBVL7wkvF6wG34RISmrFHayZZJRoTK
JvmBkOUxOCVxesBZILNTtdzzoKDYCl1nwf/TvfrDKI6YcmcFxsGg+EALCioDvjyO
k+e1StzoPyKBQGA3YIT/sUuT4jpZyR6l4Mrt01bPaVLmdCzpPsrr0y4aB1UnoykX
uwJKINsV3GqWXrkLYuY8pqe61b6KDviJlZrafg4TG775WfkFKcNUCZsv+1JMz9RA
JXNcBi1Kqo8+aGo0/XZNZ//2UFIfEYzLIqfm58VWCHF3zV8dSbSWIf1SeYdCiLfN
K9GOGM/73ZNxe0ro0fTgLMupbY9Cz+CHWBEMfS9z4ktQUg4hhS0QHEE2JKPB9WEQ
F+GoXCgLC0GprDWMQFM5pWclYb5JNSEbNvO+ANWzropkpVj46gANFof2lxKnUYnP
zH7T8B3OpM55yAdBvyIkcysSmq13xtwa5Rtv3+mvkN7oc8Bs0rSbB1P3IvLz1pCJ
39W1Wlyqloz+6bTKsz/jYr3OUabdUIeb58GGL/01v4i2dVzCAEvVkxfyyS0ae5ja
8524LRwxSk4WPG+vUmBOkyZtE32nqMJIBgiEbWKgj6iZABSVDEpNfJ9pMLJZfBj7
qqb6gOozKckp7iyay4O6
=Hqqu
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 04 Jan 2015 07:32:17 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 11:54:25 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.