Game Development Community

TGE 1.4RC2 - Segmentation faults on enabling the console in-game

by Kuju Manila · in Torque Game Engine · 09/25/2006 (11:29 pm) · 27 replies

Hello.

I have just successfully compiled my own binary from the TGE 1.4RC2 source. :) So, I am playing with the Torque Demo

However, I got this single problem. Note that the console is fine on the 2D aspect. On the main menu of Torque Demo and GUI Editor, the console is fine. But, whenever I am in-game (3D) and press ~ to toggle the console, a Segmentation fault occurs.

Quote:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 73 (X_GetImage)
Serial number of failed request: 25
Current serial number in output stream: 25
Segmentation fault

What does that mean?
Page «Previous 1 2
#1
09/26/2006 (12:33 pm)
The ~ key has a specific meaning in linux , change the value in ../client/scripts/default.bind.cs
Replace the ~ key by an other one , for instance :

GlobalActionMap.bind(keyboard, "F12", toggleConsole);
#2
09/26/2006 (6:17 pm)
@Philippe C: Nah, Just tried it. I've bind it to different keys and it still happens. What does the tilde key mean to Linux? F12 also has some meaning so I wasn't able to use your example.

Anybody else having the same problem?

What is difference of having the console on the simple 2D Gui parts and during 3D scenes?
#3
09/26/2006 (8:18 pm)
What does GDB say if you run the demo with GDB and press tilde?

MyL33tPrompt> gdb ./torqueDemo_DEBUG.exe
... garble ...
(gdb) run -game MyGame       <-- command-line options
... press tilde ...
...
(gdb) bt       <-- gives stack trace
#4
09/27/2006 (12:31 am)
Hi. Thanks for replying. Here's the stack trace:
Quote:
#0 0xb46fe34a in ?? ()
#1 0x0808a17c in _printf (level=Error, type=Assert,
fmt=0x843d674 "%s: (%s @ %ld) %s", argptr=0xbf8ce438 "\uffff\uffffC\b\200\224C\b\uffff")
at console/console.cc:482
#2 0x0808a4b6 in Con::errorf (type=Assert, fmt=0x843d674 "%s: (%s @ %ld) %s")
at console/console.cc:539
#3 0x082cb9ed in PlatformAssert::process (this=0xb71355c8, assertType=Fatal,
filename=0x8439480 "interior/interiorLMManager.cc", lineNumber=165,
message=0x8439a84 "InteriorLMManager::removeInterior: cannot remove base interior") at platform/platformAssert.cc:72
#4 0x082cb90a in PlatformAssert::processAssert (assertType=Fatal,
filename=0x8439480 "interior/interiorLMManager.cc", lineNumber=165,
message=0x8439a84 "InteriorLMManager::removeInterior: cannot remove base interior") at platform/platformAssert.cc:113
#5 0x082aa41e in InteriorLMManager::removeInterior (this=0x8575f00,
interiorHandle=0) at interior/interiorLMManager.cc:165
#6 0x082aa524 in ~InteriorLMManager (this=0x8575f00)
at interior/interiorLMManager.cc:52
#7 0x082aa58e in __tcf_0 () at interior/interiorLMManager.cc:17
#8 0xb7be626d in exit () from /lib/libc.so.6
#9 0xb7af80c0 in _XDefaultError () from /usr/X11R6/lib/libX11.so.6
#10 0xb7e554a6 in X11_FreeWMCursor () from /usr/lib/libSDL-1.2.so.0
#11 0xb7af81bf in _XError () from /usr/X11R6/lib/libX11.so.6

Hmm, so that's how you debug in Linux.
#5
09/27/2006 (10:39 am)
For you information this is the library used by torque with unbuntu dapper

philippe@josie:~/boomboom$ ldd torqueDemo_DEBUG.bin
linux-gate.so.1 => (0xffffe000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7ed7000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7eaf000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7e76000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7dee000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ddc000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7dd8000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb7dc6000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7cf1000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ccf000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7cc5000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7b96000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7aaf000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb79fa000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb79ed000)
/lib/ld-linux.so.2 (0xb7eed000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb79bf000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7956000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7941000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7939000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7936000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7917000)
philippe@josie:~/boomboom$


Do you test this : launch the console windows when torque starts , add this line into the root main.cs at the begining of the file :

enableWinConsole(true);

It is interesting to check if torque crashes in this context when you load the 3D.
#6
09/27/2006 (12:56 pm)
I'm running the "demo" application, and my own application, on Linux, and pressing the backtick/tilde key brings up the console without problems, inside the 3D game too.

I'm using CentOS-4 with patches, using the Gnome session manager, on an NVIDIA 7800 GT with latest NVIDIA GL DRI drivers (from the NVIDIA site).

Works without a hitch, for me.
#7
09/27/2006 (1:40 pm)
Umm..
are you sure you are pressing tilde and not escape?
this looks like a shutdown sequence.

why is something being removed from the interior manager when you press that key?

either case, looks like the print there is accessing some data it does not own.
#8
09/28/2006 (8:41 pm)
@Philippe C:
No, there's no change in the behavior of with enableWinConsole(true); on the main.cs. :( It's a handy debugging tip though. :)

@J "hplus" W:
Good for you. I too have the latest video drivers from nVIDIA if that's what you are trying to say. :)

@Badguy:
Yes. I'm very sure I'm pressing the tilde key ;)

Some updates:
1) It's actually not only just during 3D scenes, even after. Here's one example, I load up "demo" chose and load up Interactive Engine Demo, exit back from the Interactive Engine Demo to the 2D Main Menu, open up console using binded key, BAM! Same crash and error message.

2) FYI, back during the time I am trying to compile Torque Linux code, there is this problem in platformX86UNIX/x86UNIXFileio.cc where in line 1189 the code:
Quote:
if (Game->IsRunning()) {
causes a compile error because the variable Game is not defined/unreferenced. To fix this I added in line 43 the code:
Quote:
#include "platform/gameInterface.h"
Do you think this might be the cause? If so, what would be the correct fix for x86UNIXFileio.cc then?

3) FYI, I have a dual core machine (Athlon 64 X2) but I installed x86 SuSE 10.1 because I know x86_64 won't let me compile the Torque code.

4) FYI, the original HEAD code came fresh from GG CVS and saved on a different directory. Do I need to overwrite the HEAD the code over my old SDK that came with my purchase?

What I'm trying to do now:
- Experimenting on another SINGLE core and low-tech computer and see if exhibits the same behavior/crash.
- Try to overwrite my compilable HEAD code over my old original SDK and recompile and run.
#9
09/28/2006 (10:04 pm)
Eric

in the console window there is a lot of messages displayed, could you put in a post the content of the console window . You have in the main directory a file called console.log , please share the content in order to check if there are issues in torque.

reminder : add this line into the root main.cs at the begining of the file : enableWinConsole(true), in order to get messages displayed in the console window and the feeding of the file console.log
#10
09/28/2006 (10:41 pm)
Quote:
//-------------------------- 9/29/2006 -- 13:29:15 -----
Processor Init:
AMD (unknown), 2211 Mhz
FPU detected
MMX detected
3DNow detected
SSE detected
Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing 3DNow extensions
Installing SSE extensions
Input Init:
No joysticks found.
Input initialized
Video Init:
OpenGL display device detected.
Initializing chunk mappings...
o 'TEXT' maps to TextChunk
o 'SCHK' maps to UnknownChunk
o 'SCHK' maps to SimChunk
--------- Loading MODS ---------
Compiling demo/main.cs...
Loading compiled script demo/main.cs.
Compiling common/main.cs...
Loading compiled script common/main.cs.
Compiling demo/client/defaults.cs...
Loading compiled script demo/client/defaults.cs.
Compiling demo/server/defaults.cs...
Loading compiled script demo/server/defaults.cs.
Missing file: demo/client/prefs.cs!
Missing file: demo/server/prefs.cs!
Compiling creator/main.cs...
Loading compiled script creator/main.cs.
Loading compiled script common/main.cs.
--------- Parsing Arguments ---------
--------- Initializing MOD: Common ---------
Compiling common/client/canvas.cs...
Loading compiled script common/client/canvas.cs.
Compiling common/client/audio.cs...
Loading compiled script common/client/audio.cs.
--------- Initializing MOD: Torque Demo ---------
Compiling demo/client/init.cs...
Loading compiled script demo/client/init.cs.
Compiling demo/server/init.cs...
Loading compiled script demo/server/init.cs.
Compiling demo/data/init.cs...
Loading compiled script demo/data/init.cs.
Compiling demo/data/terrains/highplains/propertyMap.cs...
Loading compiled script demo/data/terrains/highplains/propertyMap.cs.
Compiling demo/data/interiors/propertyMap.cs...
Loading compiled script demo/data/interiors/propertyMap.cs.
--------- Initializing MOD: Torque Demo Server ---------
Compiling common/server/audio.cs...
Loading compiled script common/server/audio.cs.
Compiling common/server/server.cs...
Loading compiled script common/server/server.cs.
Compiling common/server/message.cs...
Loading compiled script common/server/message.cs.
Compiling common/server/commands.cs...
Loading compiled script common/server/commands.cs.
Compiling common/server/missionInfo.cs...
Loading compiled script common/server/missionInfo.cs.
Compiling common/server/missionLoad.cs...
Loading compiled script common/server/missionLoad.cs.
Compiling common/server/missionDownload.cs...
Loading compiled script common/server/missionDownload.cs.
Compiling common/server/clientConnection.cs...
Loading compiled script common/server/clientConnection.cs.
Compiling common/server/kickban.cs...
Loading compiled script common/server/kickban.cs.
Compiling common/server/game.cs...
Loading compiled script common/server/game.cs.
Compiling demo/server/scripts/commands.cs...
Loading compiled script demo/server/scripts/commands.cs.
Compiling demo/server/scripts/centerPrint.cs...
Loading compiled script demo/server/scripts/centerPrint.cs.
Compiling demo/server/scripts/game.cs...
Loading compiled script demo/server/scripts/game.cs.
#11
09/28/2006 (10:41 pm)
Quote:
--------- Initializing MOD: Torque Demo Client ---------
Compiling demo/client/ui/customProfiles.cs...
Loading compiled script demo/client/ui/customProfiles.cs.
Compiling common/client/message.cs...
Loading compiled script common/client/message.cs.
Compiling common/client/mission.cs...
Loading compiled script common/client/mission.cs.
Compiling common/client/missionDownload.cs...
Loading compiled script common/client/missionDownload.cs.
Compiling common/client/actionMap.cs...
Loading compiled script common/client/actionMap.cs.
Activating the OpenGL display device...
Setting screen mode to 800x600x32 (w)...
OpenGL Attributes:
DoubleBuffer: 1
BufferSize: 32, DepthSize: 24, StencilSize: 0
Red: 8, Green: 8, Blue: 8, Alpha: 0
Accum Red: 16, Green: 16, Blue: 16, Alpha: 16
OpenGL driver information:
Vendor: NVIDIA Corporation
Renderer: GeForce 6800 GS/PCI/SSE2/3DNOW!
Version: 2.0.2 NVIDIA 87.74
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 4)
EXT_blend_color
EXT_blend_minmax
EXT_compiled_vertex_array
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
ARB_texture_compression
EXT_texture_compression_s3tc
(ARB|EXT)_texture_env_add
EXT_texture_filter_anisotropic (Max anisotropy: 16.000000)
OpenGL Init: Disabled Extensions
EXT_paletted_texture
NV_vertex_array_range
3DFX_texture_compression_FXT1
WGL_EXT_swap_control
Compiling common/ui/defaultProfiles.cs...
Loading compiled script common/ui/defaultProfiles.cs.
Compiling common/ui/ConsoleDlg.gui...
Loading compiled script common/ui/ConsoleDlg.gui.
Compiling common/ui/LoadFileDlg.gui...
Loading compiled script common/ui/LoadFileDlg.gui.
Compiling common/ui/ColorPickerDlg.gui...
Loading compiled script common/ui/ColorPickerDlg.gui.
Compiling common/ui/SaveFileDlg.gui...
Loading compiled script common/ui/SaveFileDlg.gui.
Compiling common/ui/MessageBoxOkDlg.gui...
Loading compiled script common/ui/MessageBoxOkDlg.gui.
Compiling common/ui/MessageBoxYesNoDlg.gui...
Loading compiled script common/ui/MessageBoxYesNoDlg.gui.
Compiling common/ui/MessageBoxOKCancelDlg.gui...
Loading compiled script common/ui/MessageBoxOKCancelDlg.gui.
Compiling common/ui/MessagePopupDlg.gui...
Loading compiled script common/ui/MessagePopupDlg.gui.
Compiling common/ui/HelpDlg.gui...
Loading compiled script common/ui/HelpDlg.gui.
Compiling common/ui/RecordingsDlg.gui...
Loading compiled script common/ui/RecordingsDlg.gui.
Compiling common/ui/NetGraphGui.gui...
Loading compiled script common/ui/NetGraphGui.gui.
Compiling common/client/metrics.cs...
Loading compiled script common/client/metrics.cs.
Compiling common/ui/FrameOverlayGui.gui...
Loading compiled script common/ui/FrameOverlayGui.gui.
Compiling common/client/messageBox.cs...
Loading compiled script common/client/messageBox.cs.
Compiling common/client/screenshot.cs...
Loading compiled script common/client/screenshot.cs.
Compiling common/client/cursor.cs...
Loading compiled script common/client/cursor.cs.
Compiling common/client/help.cs...
Loading compiled script common/client/help.cs.
Compiling common/client/recordings.cs...
Loading compiled script common/client/recordings.cs.
OpenAL Driver Init:
OpenAL
^^Searching for OpenAl at location : /home/mataharistudios/torque_1.4.2.A/example/lib/libopenal.so
^^Searching for OpenAl at location : /home/mataharistudios/torque_1.4.2.A/example/tplib/libopenal.so
^^Searching for OpenAl at location : /home/mataharistudios/torque_1.4.2.A/example//libopenal.so
Loading OpenAL from system (dlopen) path
Setting OpenAL output frequency to 22050
Vendor: OpenAL Community
Version: 1.1
Renderer: Software
Extensions: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3 AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel
Compiling demo/client/scripts/audioProfiles.cs...
Loading compiled script demo/client/scripts/audioProfiles.cs.
Compiling demo/client/ui/defaultGameProfiles.cs...
Loading compiled script demo/client/ui/defaultGameProfiles.cs.
Compiling demo/client/ui/PlayGui.gui...
Loading compiled script demo/client/ui/PlayGui.gui.
Compiling demo/client/ui/FpsGui.gui...
Loading compiled script demo/client/ui/FpsGui.gui.
Compiling demo/client/ui/RacingGui.gui...
Loading compiled script demo/client/ui/RacingGui.gui.
Compiling demo/client/ui/SceneGui.gui...
Loading compiled script demo/client/ui/SceneGui.gui.
Missing file: demo/client/ui/PageGui.gui!
Compiling demo/client/ui/ChatHud.gui...
Loading compiled script demo/client/ui/ChatHud.gui.
Compiling demo/client/ui/playerList.gui...
Loading compiled script demo/client/ui/playerList.gui.
Compiling demo/client/ui/overlayDlg.gui...
Loading compiled script demo/client/ui/overlayDlg.gui.
Compiling demo/client/ui/mainMenuGui.gui...
Loading compiled script demo/client/ui/mainMenuGui.gui.
demo/client/ui/mainMenuGui.gui (0): Unable to find object: 'inspect' attempting to call function 'inspect'
Compiling demo/client/ui/aboutDlg.gui...
Loading compiled script demo/client/ui/aboutDlg.gui.
Compiling demo/client/ui/startMissionGui.gui...
Loading compiled script demo/client/ui/startMissionGui.gui.
Compiling demo/client/ui/joinServerGui.gui...
Loading compiled script demo/client/ui/joinServerGui.gui.
Compiling demo/client/ui/loadingGui.gui...
Loading compiled script demo/client/ui/loadingGui.gui.
Compiling demo/client/ui/endGameGui.gui...
Loading compiled script demo/client/ui/endGameGui.gui.
Compiling demo/client/ui/optionsDlg.gui...
Loading compiled script demo/client/ui/optionsDlg.gui.
Compiling demo/client/ui/remapDlg.gui...
Loading compiled script demo/client/ui/remapDlg.gui.
Compiling demo/client/ui/StartupGui.gui...
Loading compiled script demo/client/ui/StartupGui.gui.
Compiling demo/client/ui/ProductGui.gui...
Loading compiled script demo/client/ui/ProductGui.gui.
Could not locate texture: demo/client/ui/box120_mbgold
Could not locate texture: demo/client/ui/box120_orbz2
Could not locate texture: demo/client/ui/box120_tt
Could not locate texture: demo/client/ui/box120_tennis_critters
Could not locate texture: demo/client/ui/tribes2
Compiling demo/client/ui/MainMenuDlg.gui...
Loading compiled script demo/client/ui/MainMenuDlg.gui.
Compiling demo/client/ui/overview_main.gui...
Loading compiled script demo/client/ui/overview_main.gui.
Compiling demo/client/ui/features/features_main.gui...
Loading compiled script demo/client/ui/features/features_main.gui.
Compiling demo/client/ui/features/features_script.gui...
Loading compiled script demo/client/ui/features/features_script.gui.
Compiling demo/client/ui/features/features_gui.gui...
Loading compiled script demo/client/ui/features/features_gui.gui.
Compiling demo/client/ui/features/features_net.gui...
Loading compiled script demo/client/ui/features/features_net.gui.
Compiling demo/client/ui/features/features_render.gui...
Loading compiled script demo/client/ui/features/features_render.gui.
Compiling demo/client/ui/features/features_terrain.gui...
Loading compiled script demo/client/ui/features/features_terrain.gui.
Compiling demo/client/ui/features/features_interior.gui...
Loading compiled script demo/client/ui/features/features_interior.gui.
Compiling demo/client/ui/features/features_mesh.gui...
Loading compiled script demo/client/ui/features/features_mesh.gui.
Compiling demo/client/ui/features/features_water.gui...
Loading compiled script demo/client/ui/features/features_water.gui.
Compiling demo/client/ui/features/features_sound.gui...
Loading compiled script demo/client/ui/features/features_sound.gui.
Compiling demo/client/ui/platform/platform_T2D.gui...
Loading compiled script demo/client/ui/platform/platform_T2D.gui.
Compiling demo/client/ui/platform/platform_TSE.gui...
#12
09/28/2006 (10:42 pm)
Quote:
Loading compiled script demo/client/ui/platform/platform_TSE.gui.
Compiling demo/client/ui/platform/platform_console.gui...
Loading compiled script demo/client/ui/platform/platform_console.gui.
Compiling demo/client/ui/platform/platform_TNL.gui...
Loading compiled script demo/client/ui/platform/platform_TNL.gui.
Compiling demo/client/ui/tools/tools_main.gui...
Loading compiled script demo/client/ui/tools/tools_main.gui.
Compiling demo/client/ui/tools/tools_gui.gui...
Loading compiled script demo/client/ui/tools/tools_gui.gui.
Compiling demo/client/ui/tools/tools_world.gui...
Loading compiled script demo/client/ui/tools/tools_world.gui.
Compiling demo/client/ui/tools/tools_terrain.gui...
Loading compiled script demo/client/ui/tools/tools_terrain.gui.
Compiling demo/client/ui/tools/tools_texture.gui...
Loading compiled script demo/client/ui/tools/tools_texture.gui.
Compiling demo/client/ui/tools/tools_heightfield.gui...
Loading compiled script demo/client/ui/tools/tools_heightfield.gui.
Compiling demo/client/ui/tools/tools_showtool_pro.gui...
Loading compiled script demo/client/ui/tools/tools_showtool_pro.gui.
Compiling demo/client/ui/tools/tools_rts_kit.gui...
Loading compiled script demo/client/ui/tools/tools_rts_kit.gui.
Compiling demo/client/ui/tools/tools_lighting_kit.gui...
Loading compiled script demo/client/ui/tools/tools_lighting_kit.gui.
Compiling demo/client/ui/tools/tools_content_packs.gui...
Loading compiled script demo/client/ui/tools/tools_content_packs.gui.
Compiling demo/client/ui/tools/tools_books_docs.gui...
Loading compiled script demo/client/ui/tools/tools_books_docs.gui.
Compiling demo/client/ui/products/product_main.gui...
Loading compiled script demo/client/ui/products/product_main.gui.
Compiling demo/client/ui/products/product_tribes2.gui...
Loading compiled script demo/client/ui/products/product_tribes2.gui.
Compiling demo/client/ui/products/product_hunting.gui...
Loading compiled script demo/client/ui/products/product_hunting.gui.
Compiling demo/client/ui/products/product_marbleblast.gui...
Loading compiled script demo/client/ui/products/product_marbleblast.gui.
Compiling demo/client/ui/products/product_thinktanks.gui...
Loading compiled script demo/client/ui/products/product_thinktanks.gui.
Compiling demo/client/ui/products/product_tenniscritters.gui...
Loading compiled script demo/client/ui/products/product_tenniscritters.gui.
Compiling demo/client/ui/products/product_orbz.gui...
Loading compiled script demo/client/ui/products/product_orbz.gui.
Compiling demo/client/ui/products/product_marbleblastultra.gui...
Loading compiled script demo/client/ui/products/product_marbleblastultra.gui.
Compiling demo/client/ui/testimonials/community.gui...
Loading compiled script demo/client/ui/testimonials/community.gui.
Compiling demo/client/ui/testimonials/testimonials_main.gui...
Loading compiled script demo/client/ui/testimonials/testimonials_main.gui.
Compiling demo/client/ui/license/publishing.gui...
Loading compiled script demo/client/ui/license/publishing.gui.
Compiling demo/client/ui/license/license_main.gui...
Loading compiled script demo/client/ui/license/license_main.gui.
Compiling demo/client/ui/license/license_indie.gui...
Loading compiled script demo/client/ui/license/license_indie.gui.
Compiling demo/client/ui/license/license_corp.gui...
Loading compiled script demo/client/ui/license/license_corp.gui.
Missing file: demo/client/ui/license/license_other.gui!
Compiling demo/client/ui/garagegames/garagegames_main.gui...
Loading compiled script demo/client/ui/garagegames/garagegames_main.gui.
Compiling demo/client/ui/theora/theora_main.gui...
Loading compiled script demo/client/ui/theora/theora_main.gui.
Compiling demo/client/ui/AnimationSceneGui.gui...
Loading compiled script demo/client/ui/AnimationSceneGui.gui.
Compiling demo/client/ui/DetailSceneGui.gui...
Loading compiled script demo/client/ui/DetailSceneGui.gui.
Compiling demo/client/ui/MountingSceneGui.gui...
Loading compiled script demo/client/ui/MountingSceneGui.gui.
Compiling demo/client/ui/DemoEditorAlert.gui...
Loading compiled script demo/client/ui/DemoEditorAlert.gui.
Compiling demo/client/scripts/client.cs...
Loading compiled script demo/client/scripts/client.cs.
Compiling demo/client/scripts/game.cs...
Loading compiled script demo/client/scripts/game.cs.
Compiling demo/client/scripts/missionDownload.cs...
Loading compiled script demo/client/scripts/missionDownload.cs.
Compiling demo/client/scripts/serverConnection.cs...
Loading compiled script demo/client/scripts/serverConnection.cs.
Compiling demo/client/scripts/playerList.cs...
Loading compiled script demo/client/scripts/playerList.cs.
Compiling demo/client/scripts/loadingGui.cs...
Loading compiled script demo/client/scripts/loadingGui.cs.
Compiling demo/client/scripts/optionsDlg.cs...
Loading compiled script demo/client/scripts/optionsDlg.cs.
Compiling demo/client/scripts/chatHud.cs...
Loading compiled script demo/client/scripts/chatHud.cs.
Compiling demo/client/scripts/messageHud.cs...
Loading compiled script demo/client/scripts/messageHud.cs.
Compiling demo/client/scripts/mainMenuGui.cs...
Loading compiled script demo/client/scripts/mainMenuGui.cs.
Compiling demo/client/scripts/playGui.cs...
Loading compiled script demo/client/scripts/playGui.cs.
Compiling demo/client/scripts/fpsGui.cs...
Loading compiled script demo/client/scripts/fpsGui.cs.
Compiling demo/client/scripts/racingGui.cs...
Loading compiled script demo/client/scripts/racingGui.cs.
Compiling demo/client/scripts/sceneGui.cs...
Loading compiled script demo/client/scripts/sceneGui.cs.
Compiling demo/client/scripts/joinServerGui.cs...
Loading compiled script demo/client/scripts/joinServerGui.cs.
Compiling demo/client/scripts/startMissionGui.cs...
Loading compiled script demo/client/scripts/startMissionGui.cs.
Compiling demo/client/scripts/centerPrint.cs...
Loading compiled script demo/client/scripts/centerPrint.cs.
Compiling demo/client/scripts/DemoEditorAlert.cs...
Loading compiled script demo/client/scripts/DemoEditorAlert.cs.
Compiling demo/client/menu_threads.cs...
Loading compiled script demo/client/menu_threads.cs.
Compiling demo/client/scripts/default.bind.cs...
Loading compiled script demo/client/scripts/default.bind.cs.
Compiling demo/client/config.cs...
Loading compiled script demo/client/config.cs.
Binding server port to default IP
UDP initialized on port 0
Unable to initialize IPX - error 5

--------- Initializing: Torque Creator ---------
Compiling creator/editor/editor.cs...
Loading compiled script creator/editor/editor.cs.
Compiling creator/editor/particleEditor.cs...
Loading compiled script creator/editor/particleEditor.cs.
Compiling creator/scripts/scriptDoc.cs...
Loading compiled script creator/scripts/scriptDoc.cs.
Compiling creator/ui/creatorProfiles.cs...
Loading compiled script creator/ui/creatorProfiles.cs.
Compiling creator/ui/InspectDlg.gui...
Loading compiled script creator/ui/InspectDlg.gui.
Compiling creator/ui/GuiEditorGui.gui...
Loading compiled script creator/ui/GuiEditorGui.gui.
Engine initialized...
PushThread: main_menu_thread
Update: main_menu_thread page: 0
isNext: 0 - 1
#13
09/28/2006 (10:43 pm)
Quote:
Could not locate texture: demo/client/ui/button
Could not locate texture: demo/client/ui/button_d
Could not locate texture: demo/client/ui/button_i
Could not locate texture: demo/client/ui/button
Could not locate texture: demo/client/ui/button_d
Could not locate texture: demo/client/ui/button_i
Could not locate texture: demo/client/ui/button
Could not locate texture: demo/client/ui/button_d
Could not locate texture: demo/client/ui/button_i
Could not locate texture: demo/client/ui/button
Could not locate texture: demo/client/ui/button_d
Could not locate texture: demo/client/ui/button_i
Could not locate texture: demo/client/ui/arrows/exit
Could not locate texture: demo/client/ui/arrows/exit_d
Could not locate texture: demo/client/ui/arrows/exit_i
Could not locate texture: demo/client/ui/arrows/arrow_left
Could not locate texture: demo/client/ui/arrows/arrow_left_d
Could not locate texture: demo/client/ui/arrows/arrow_left_i
Could not locate texture: demo/client/ui/arrows/arrow_right
Could not locate texture: demo/client/ui/arrows/arrow_right_d
Could not locate texture: demo/client/ui/arrows/arrow_right_i
Could not locate texture: demo/client/ui/buttons/home
Could not locate texture: demo/client/ui/buttons/home_d
Could not locate texture: demo/client/ui/buttons/home_i
Could not locate texture: demo/client/ui/buttons/website
Could not locate texture: demo/client/ui/buttons/website_d
Could not locate texture: demo/client/ui/buttons/website_i
Could not locate texture: demo/client/ui/buttons/purchase
Could not locate texture: demo/client/ui/buttons/purchase_d
Could not locate texture: demo/client/ui/buttons/purchase_i
Could not locate texture: demo/client/ui/buttons/options
Could not locate texture: demo/client/ui/buttons/options_d
Could not locate texture: demo/client/ui/buttons/options_i
Could not locate texture: demo/client/ui/buttons/credits
Could not locate texture: demo/client/ui/buttons/credits_d
Could not locate texture: demo/client/ui/buttons/credits_i
Could not locate texture: demo/client/ui/buttons/exit
Could not locate texture: demo/client/ui/buttons/exit_d
Could not locate texture: demo/client/ui/buttons/exit_i
Could not locate texture: demo/client/ui/buttons/buy_now
Could not locate texture: demo/client/ui/buttons/buy_now_d
Could not locate texture: demo/client/ui/buttons/buy_now_i
Could not locate texture: demo/client/ui/arrows/exit
Could not locate texture: demo/client/ui/arrows/exit_d
Could not locate texture: demo/client/ui/arrows/exit_i
Could not locate texture: demo/client/ui/arrows/arrow_left
Could not locate texture: demo/client/ui/arrows/arrow_left_d
Could not locate texture: demo/client/ui/arrows/arrow_left_i
Could not locate texture: demo/client/ui/arrows/arrow_right
Could not locate texture: demo/client/ui/arrows/arrow_right_d
Could not locate texture: demo/client/ui/arrows/arrow_right_i
Could not locate texture: demo/client/ui/buttons/home
Could not locate texture: demo/client/ui/buttons/home_d
Could not locate texture: demo/client/ui/buttons/home_i
Could not locate texture: demo/client/ui/buttons/website
Could not locate texture: demo/client/ui/buttons/website_d
Could not locate texture: demo/client/ui/buttons/website_i
Could not locate texture: demo/client/ui/buttons/purchase
Could not locate texture: demo/client/ui/buttons/purchase_d
Could not locate texture: demo/client/ui/buttons/purchase_i
Could not locate texture: demo/client/ui/buttons/options
Could not locate texture: demo/client/ui/buttons/options_d
Could not locate texture: demo/client/ui/buttons/options_i
Could not locate texture: demo/client/ui/buttons/credits
Could not locate texture: demo/client/ui/buttons/credits_d
Could not locate texture: demo/client/ui/buttons/credits_i
Could not locate texture: demo/client/ui/buttons/exit
Could not locate texture: demo/client/ui/buttons/exit_d
Could not locate texture: demo/client/ui/buttons/exit_i
Could not locate texture: demo/client/ui/buttons/buy_now
Could not locate texture: demo/client/ui/buttons/buy_now_d
Could not locate texture: demo/client/ui/buttons/buy_now_i
Exporting server prefs...
Compiling demo/server/scripts/audioProfiles.cs...
Loading compiled script demo/server/scripts/audioProfiles.cs.
Compiling demo/server/scripts/camera.cs...
Loading compiled script demo/server/scripts/camera.cs.
Compiling demo/server/scripts/markers.cs...
Loading compiled script demo/server/scripts/markers.cs.
Compiling demo/server/scripts/triggers.cs...
Loading compiled script demo/server/scripts/triggers.cs.
Compiling demo/server/scripts/inventory.cs...
Loading compiled script demo/server/scripts/inventory.cs.
Compiling demo/server/scripts/shapeBase.cs...
Loading compiled script demo/server/scripts/shapeBase.cs.
Compiling demo/server/scripts/staticShape.cs...
Loading compiled script demo/server/scripts/staticShape.cs.
Compiling demo/server/scripts/rigidShape.cs...
Loading compiled script demo/server/scripts/rigidShape.cs.
Warning: (console/consoleObject.cc @ 62) Couldn't find class rep for dynamic class: RigidShapeData
demo/server/scripts/rigidShape.cs (38): Unable to instantiate non-conobject class RigidShapeData.
Compiling demo/server/scripts/radiusDamage.cs...
Loading compiled script demo/server/scripts/radiusDamage.cs.
Compiling demo/server/scripts/chimneyfire.cs...
Loading compiled script demo/server/scripts/chimneyfire.cs.
Compiling demo/server/scripts/item.cs...
Loading compiled script demo/server/scripts/item.cs.
Compiling demo/server/scripts/weapon.cs...
Loading compiled script demo/server/scripts/weapon.cs.
Compiling demo/server/scripts/flag.cs...
Loading compiled script demo/server/scripts/flag.cs.
Compiling demo/server/scripts/scene.cs...
Loading compiled script demo/server/scripts/scene.cs.
demo/server/scripts/scene.cs (0): preload failed for LogoText: ShapeBaseData: Couldn't load shape "demo/data/shapes/logo/torque_logo_text.dts".
Compiling demo/server/scripts/fxlights.cs...
Loading compiled script demo/server/scripts/fxlights.cs.
Compiling demo/server/scripts/environment.cs...
Loading compiled script demo/server/scripts/environment.cs.
Compiling demo/server/scripts/fps.cs...
Loading compiled script demo/server/scripts/fps.cs.
Compiling demo/server/scripts/player.cs...
Loading compiled script demo/server/scripts/player.cs.
Compiling demo/data/shapes/player/player.cs...
Loading compiled script demo/data/shapes/player/player.cs.
Validation required for shape: demo/data/shapes/player/player.dts
Compiling demo/server/scripts/aiPlayer.cs...
Loading compiled script demo/server/scripts/aiPlayer.cs.
Validation required for shape: demo/data/shapes/player/player.dts
Compiling demo/server/scripts/crossbow.cs...
Loading compiled script demo/server/scripts/crossbow.cs.
ParticleEmitterData(CrossbowBoltEmitter) velocityVariance > ejectionVelocity
Error: shape demo/data/shapes/crossbow/ammo.dts-collision detail 0 (Collision-3) bounds box invalid!
Compiling demo/server/scripts/racing.cs...
Loading compiled script demo/server/scripts/racing.cs.
Compiling demo/server/scripts/car.cs...
Loading compiled script demo/server/scripts/car.cs.
*** LOADING MISSION: demo/data/missions/features.mis
*** Stage 1 load
*** Stage 2 load
Executing demo/data/missions/features.mis.
*** Mission loaded
Mission Type: DemoScene
Connect request from: (-Z
#14
09/28/2006 (10:44 pm)
Quote:
*** Sending mission load to client: demo/data/missions/features.mis
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the Torque demo app %1. to index: 6
Mapping string: Visitor to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: demo/data/missions/features.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
Could not locate texture: demo/data/shapes/player/base.lmale
Could not locate texture: demo/data/shapes/player/base.lmale
Validation required for shape: demo/data/shapes/player/player.dts
Could not locate texture: demo/data/shapes/player/base.lmale
Could not locate texture: demo/data/shapes/player/base.lmale
Validation required for shape: demo/data/shapes/player/player.dts
Error: shape demo/data/shapes/crossbow/ammo.dts-collision detail 1 (Collision-3) bounds box invalid!
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
Could not locate texture: common/editor/fxlighticon.png
Could not locate texture: common/editor/fxlighticon.png
Could not locate texture: common/editor/fxlighticon.png
Could not locate texture: common/editor/fxlighticon.png
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 10
Client Replication Startup has Happened!
fxFoliageReplicator - Lev: 2 PotNodes: 21 Used: 19 Objs: 2655 Time: 0.0160s.
fxFoliageReplicator - Approx. 0.30Mb allocated.
fxFoliageReplicator - Client Foliage Replication Startup is complete.
*** Phase 3: Mission Lighting
Lighting mission....
= terrain lit in 0.659 seconds
= interior lit in 0.803 seconds
= interior lit in 0.171 seconds
= interior lit in 0.387 seconds
= interior lit in 0.390 seconds
= interior lit in 0.517 seconds
= interior lit in 0.001 seconds
= interior lit in 0.000 seconds
= interior lit in 0.001 seconds
= interior lit in 0.001 seconds
= interior lit in 0.001 seconds
= interior lit in 0.018 seconds
= interior lit in 0.020 seconds
= interior lit in 0.000 seconds
= interior lit in 0.001 seconds
= interior lit in 0.000 seconds
= interior lit in 0.214 seconds
= interior lit in 0.003 seconds
Scene lit in 3.343 seconds
Successfully saved mission lighting file: 'demo/data/missions/features_ca61e4ad.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
Activating Scene #0
Scene WelcomeScene open
Static Camera
Mapping string: MissionStart to index: 11
Mapping string: SyncClock to index: 12
Mapping string: SetGameGUI to index: 13
*** Initial Control Object
Could not locate texture: demo/client/ui/arrows/exit
Could not locate texture: demo/client/ui/arrows/exit_d
Could not locate texture: demo/client/ui/arrows/exit_i
Could not locate texture: demo/client/ui/arrows/arrow_left
Could not locate texture: demo/client/ui/arrows/arrow_left_d
Could not locate texture: demo/client/ui/arrows/arrow_left_i
Could not locate texture: demo/client/ui/arrows/arrow_right
Could not locate texture: demo/client/ui/arrows/arrow_right_d
Could not locate texture: demo/client/ui/arrows/arrow_right_i
Could not locate texture: demo/client/ui/buttons/home
Could not locate texture: demo/client/ui/buttons/home_d
Could not locate texture: demo/client/ui/buttons/home_i
Could not locate texture: demo/client/ui/buttons/website
Could not locate texture: demo/client/ui/buttons/website_d
Could not locate texture: demo/client/ui/buttons/website_i
Could not locate texture: demo/client/ui/buttons/purchase
Could not locate texture: demo/client/ui/buttons/purchase_d
Could not locate texture: demo/client/ui/buttons/purchase_i
Could not locate texture: demo/client/ui/buttons/options
Could not locate texture: demo/client/ui/buttons/options_d
Could not locate texture: demo/client/ui/buttons/options_i
Could not locate texture: demo/client/ui/buttons/credits
Could not locate texture: demo/client/ui/buttons/credits_d
Could not locate texture: demo/client/ui/buttons/credits_i
Could not locate texture: demo/client/ui/buttons/exit
Could not locate texture: demo/client/ui/buttons/exit_d
Could not locate texture: demo/client/ui/buttons/exit_i
Could not locate texture: demo/client/ui/buttons/buy_now
Could not locate texture: demo/client/ui/buttons/buy_now_d
Could not locate texture: demo/client/ui/buttons/buy_now_i
Mapping string: NPC to index: 14
#15
09/28/2006 (10:45 pm)
Philippe C, thanks for lending a hand. That's my console log that was generated when I reproduced the error.

-edit- Typo
#16
09/28/2006 (11:40 pm)
Update:
I overwritten my 1.4 RC2 over my original 1.4 SDK. From that, I recompiled and rerun the demo. Now it's worse, everytime I invoke the console it crashes with the same error.
#17
09/29/2006 (5:22 am)
I don't know if this may help, but often times, I would remove my ~/.garagegames/torqueDemo after upgrading any version of TGE. Granted, this needed to be done more often when I had TGB versus TGE (which is a simple problem that could have been avoided in TGB if it didn't use the same directory by default in the home dir).
#18
09/29/2006 (11:07 am)
Eric,

i see a lot of minor issue in the console.log, it seems that your environnment some files are missing, but it is not the reason of teh crash.

Could you do a tar.gz file of the complete directory where your torque binary is stored and put on a server.

I would like to do some test on my machine , to check if i can reproduce the error.

last chance ....
#19
09/29/2006 (1:29 pm)
Eric,

i see a lot of minor issue in the console.log, it seems that your environnment some files are missing, but it is not the reason of teh crash.

Could you do a tar.gz file of the complete directory where your torque binary is stored and put on a server.

I would like to do some test on my machine , to check if i can reproduce the error.

last chance ....
#20
09/29/2006 (11:17 pm)
Update:

I re-examined the debugger again. It seems the crash is forced that is caused by an assert in the code. So, I tried to recompile my source to build a RELEASE since I was using DEBUG all along. There are no crashes on the RELEASE build. Of course, making it a release bypasses every assertion. So, I used my release and it works well. Invoking the console almost anywhere is fine. This made me happy yet worried at the same time. What would be the drawback if I ignored the assertation and just used release. Is anyone else here have no assertation problems on their DEBUG build? Or am I the only one? Please do inform me if your DEBUG version is fine.

@Philippe C
I emailed you a SendSpace link to download my Torque binary directories. Let me know immediately if you got it, or if you have any problems. It comes with both DEBUG and RELEASE binaries. Please test it on your machine and let me know what happens. I really appreciate the help. :)
Page «Previous 1 2