Bug#441823: scorched3d: SEGFAULT on start

Stefan Völkel stefan.voelkel at millenux.com
Tue Sep 11 12:31:01 UTC 2007


Gonéri Le Bouder wrote:
> reopen 360149
> forcemerge 360149 441823
> tag 360149 -unreproducible
> thanks
> 
> Houston, we have a problem! It's #360149 :(.

may not be a scorched problem at all, this fixes the segfault:

--- src/scorched/main.cpp.orig  2007-09-11 14:29:08.155947500 +0200
+++ src/scorched/main.cpp       2007-09-11 14:29:23.400900250 +0200
@@ -73,7 +73,7 @@
                osDesc.Remove(osDesc.Find(wxT(" ")));

OptionsDisplay::instance()->getHostDescriptionEntry().setValue(osDesc.mb_str(wxConvUTF8));

-               wxString userName = ::wxGetUserName();
+               wxString userName("nobody", wxConvUTF8);
                if (!userName.empty())
                {

OptionsDisplay::instance()->getOnlineUserNameEntry().setValue(userName.mb_str(wxConvUTF8));

-- 
------------------------------------------------------------------------
Stefan Völkel
IT-Consultant

Millenux GmbH                      Tel. +49 89  608665-26
Lilienthalstraße 2/1               Tel. +49 711 88770-300
70825 Korntal/Stuttgart            Fax  +49 711 88770-349
http://www.millenux.com            stefan.voelkel at millenux.com

Geschäftsführer: Markus Klingspor, Thomas Uhl
Sitz und Amtsgericht Stuttgart, HRB 21058
------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070911/a9d16a54/attachment.pgp 


More information about the Pkg-games-devel mailing list