Bug#441823: scorched3d: SEGFAULT on start

2007-09-11 Thread Stefan Voelkel
Package: scorched3d
Version: 40.1d.dfsg-1
Severity: normal


scorched3d crashes on start on my IBM Thinkpad T42p:

01:00.0 VGA compatible controller: ATI Technologies Inc M10 NT [FireGL Mobility 
T2] (rev 80) (prog-if 00 [VGA])
Subsystem: IBM Unknown device 054f
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 255, 
IRQ 11
Memory at e000 (32-bit, prefetchable) [size=128M]
I/O ports at 3000 [size=256]
Memory at c010 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at c012 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2

#0  0xb7403ab0 in wcsncpy () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#1  0xbe6b in wxGetUserName () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#2  0xb77764f9 in wxGetUserName () from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#3  0x081d0d9f in parseCommandLine (argc=2, argv=0xbffb1724) at main.cpp:76
osDesc = {wxStringBase = {static npos = 4294967295,
m_pchData = 0x83626a4}, No data fields}
userName = {wxStringBase = {static npos = 4294967295,
m_pchData = 0x8362704}, No data fields}
aParser = {_vptr.ARGParser = 0x8274578, argMap_ = {_M_t = {
  _M_impl = {std::allocatorstd::_Rb_tree_nodestd::pairconst 
std::basic_stringchar, std::char_traitschar, std::allocatorchar , 
ARGParser::Entry   = 
{__gnu_cxx::new_allocatorstd::_Rb_tree_nodestd::pairconst 
std::basic_stringchar, std::char_traitschar, std::allocatorchar , 
ARGParser::Entry   = {No data fields}, No data fields},
_M_key_compare = { = {No data fields}, No data fields}, _M_header 
= {
  _M_color = std::_S_red, _M_parent = 0x835ebf8, _M_left = 0x835ee18,
  _M_right = 0x835e848}, _M_node_count = 15
dirs = {_vptr.ModDirs = 0x1f,
  dirs_ = {std::_List_baseModInfo,std::allocatorModInfo  = {
  _M_impl = {std::allocatorstd::_List_nodeModInfo  = 
{__gnu_cxx::new_allocatorstd::_List_nodeModInfo  = {No data fields}, 
No data fields}, _M_node = {_M_next = 0x377cc22,
  _M_prev = 0xb74d0ff4}}}, No data fields}}
#4  0x081d0f7e in main (argc=2, argv=0x0) at main.cpp:121
checkfile = value optimized out
initFlags = value optimized out
#5  0xb73a3050 in __libc_start_main () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#6  0x0805b041 in _start () at ../sysdeps/i386/elf/start.S:119

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages scorched3d depends on:
ii  libalut01.1.0-1  OpenAL Utility Toolkit
ii  libc6   2.6.1-1+b1   GNU C Library: Shared libraries
ii  libfreetype62.3.5-1+b1   FreeType 2 font engine, shared lib
ii  libgcc1 1:4.2.1-3GCC support library
ii  libgl1-mesa-glx [libgl1 7.0.1-1  A free implementation of the OpenG
ii  libglu1-mesa [libglu1]  7.0.1-1  The OpenGL utility library (GLU)
ii  libogg0 1.1.3-2  Ogg Bitstream Library
ii  libopenal0a 1:0.0.8-6OpenAL is a portable library for 3
ii  libsdl-net1.2   1.2.5-7+b1   network library for Simple DirectM
ii  libsdl1.2debian 1.2.11-9 Simple DirectMedia Layer
ii  libstdc++6  4.2.1-3  The GNU Standard C++ Library v3
ii  libvorbis0a 1.2.0.dfsg-1 The Vorbis General Audio Compressi
ii  libvorbisfile3  1.2.0.dfsg-1 The Vorbis General Audio Compressi
ii  libwxbase2.6-0  2.6.3.2.1.5  wxBase library (runtime) - non-GUI
ii  libwxgtk2.6-0   2.6.3.2.1.5  wxWidgets Cross-platform C++ GUI t
ii  scorched3d-data 40.1d.dfsg-1 data files for Scorched3D game
ii  zlib1g  1:1.2.3.3.dfsg-5 compression library - runtime

scorched3d recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#441823: scorched3d: SEGFAULT on start

2007-09-11 Thread Gonéri Le Bouder
reopen 360149
forcemerge 360149 441823
tag 360149 -unreproducible
thanks

Houston, we have a problem! It's #360149 :(.


signature.asc
Description: Digital signature


Bug#441823: scorched3d: SEGFAULT on start

2007-09-11 Thread Stefan Völkel
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/StuttgartFax  +49 711 88770-349
http://www.millenux.com[EMAIL PROTECTED]

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




signature.asc
Description: OpenPGP digital signature


Bug#441823: scorched3d: SEGFAULT on start

2007-09-11 Thread Gonéri Le Bouder
On Tue, Sep 11, 2007 at 02:31:01PM +0200, Stefan Völkel wrote:
 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);
I understand now why I wasn't able do reproduct it.

Thank you!

 Gonéri


signature.asc
Description: Digital signature