Failed to initialize TTM Manager

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
SlashDevSlashNull
Greenhorn
Posts: 9
Joined: 06 Sep 2010, 05:15

Failed to initialize TTM Manager

Post by SlashDevSlashNull »

Hi there, I just had to reinstall my OS today, going from Slackware to Vector Linux, and installed wz2100. The installation went fine, but when I try to play the game, it starts and crashes whenever it reaches the menu and outputs the following error message into the console:

Code: Select all

Failed to initialize TTM buffer manager.  Falling back to classic.
Saved dump file to '/tmp/warzone2100.gdmp-4qjy0h'
If you create a bugreport regarding this crash, please include this file.
Segmentation fault
And here is everything in /tmp/warzone2100.gdmp-4qjy0h:

Code: Select all

Program: /usr/local/bin/warzone2100(warzone2100)
Command line: "warzone2100" 
Version: Version 2.3.4
Distributor: UNKNOWN
Compiled on: Sep 12 2010 19:09:14
Compiled by: GCC 4.2.3
Compiled mode: Release build
Executed on: Sun Sep 12 23:10:28 2010
Operating system: Linux
Node name: vector1.SectionI13.net
Release: 2.6.27.12
Version: #1 SMP PREEMPT Thu Jan 22 00:12:35 MST 2009
Machine: i686

Pointers: 32bit

Compiled against PhysicsFS version: 2.0.0
Running with PhysicsFS version: 2.0.0

Misc Data:
[23:10:28]OpenGL Vendor : Tungsten Graphics, Inc
[23:10:28]OpenGL Renderer : Mesa DRI Intel(R) 945G 20061102 x86/MMX/SSE2
[23:10:28]OpenGL Version : 1.4 Mesa 7.2
[23:10:28]Video Mode 1024 x 768 (32 bpp) (fullscreen)
[23:10:28]OpenAL Vendor: OpenAL Community
[23:10:28]OpenAL Version: 1.1 ALSOFT 1.10.622
[23:10:28]OpenAL Renderer: OpenAL Soft
[23:10:28]OpenAL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXTX_source_distance_model AL_LOKI_quadriphonic
[23:10:28]Using language: System locale

Dump caused by signal: SIGSEGV: Invalid memory reference: Address not mapped to object


GLIBC raw backtrace:
warzone2100[0x82826c1]
[0xb803d410]
/usr/lib/libfreetype.so.6[0xb774243a]
/usr/lib/libfreetype.so.6[0xb77406d8]
/usr/lib/libfreetype.so.6(FTC_Manager_LookupSize+0x64)[0xb77408f4]
/usr/lib/libGLC.so.0(__glcFaceDescPrepareGlyph+0x12c)[0xb7e4addc]
/usr/lib/libGLC.so.0(__glcFaceDescGetAdvance+0x44)[0xb7e4aff4]
/usr/lib/libGLC.so.0(__glcFontGetAdvance+0x79)[0xb7e4ba79]
/usr/lib/libGLC.so.0[0xb7e4df75]
/usr/lib/libGLC.so.0(__glcProcessChar+0x94)[0xb7e47a54]
/usr/lib/libGLC.so.0[0xb7e4db7b]
/usr/lib/libGLC.so.0(glcRenderString+0x67)[0xb7e4dd87]
warzone2100(iV_DrawTextRotated+0x11c)[0x8241c71]
warzone2100[0x8104d30]
warzone2100[0x81fe81b]
warzone2100[0x81fe8d3]
warzone2100(widgDisplayScreen+0x18)[0x81fe91c]
warzone2100(runTitleMenu+0x9d)[0x8101cdb]
warzone2100(titleLoop+0x159)[0x81f1db7]
warzone2100[0x815176f]

GDB extended backtrace:
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
Attaching to program: /usr/local/bin/warzone2100, process 25833
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb767b6e0 (LWP 25833)]
[New Thread 0xb2632b90 (LWP 25839)]
[New Thread 0xb2e32b90 (LWP 25838)]
[New Thread 0xb752cb90 (LWP 25837)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libphysfs.so.1...done.
Loaded symbols for /usr/lib/libphysfs.so.1
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libtheora.so.0...done.
Loaded symbols for /usr/lib/libtheora.so.0
Reading symbols from /usr/lib/libopenal.so.1...done.
Loaded symbols for /usr/lib/libopenal.so.1
Reading symbols from /usr/lib/libGLC.so.0...done.
Loaded symbols for /usr/lib/libGLC.so.0
Reading symbols from /usr/lib/libGL.so.1...done.
Loaded symbols for /usr/lib/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /usr/lib/libpopt.so.0...done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from /usr/lib/libXm.so.2...done.
Loaded symbols for /usr/lib/libXm.so.2
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libXt.so.6...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libvga.so.1...done.
Loaded symbols for /usr/lib/libvga.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfribidi.so.0...done.
Loaded symbols for /usr/lib/libfribidi.so.0
Reading symbols from /usr/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/lib/libXxf86vm.so.1
Reading symbols from /usr/lib/libXdamage.so.1...done.
Loaded symbols for /usr/lib/libXdamage.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /lib/libdrm.so.2...done.
Loaded symbols for /lib/libdrm.so.2
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libXp.so.6...done.
Loaded symbols for /usr/lib/libXp.so.6
Reading symbols from /usr/lib/libxcb-xlib.so.0...done.
Loaded symbols for /usr/lib/libxcb-xlib.so.0
Reading symbols from /usr/lib/libxcb.so.1...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/xorg/modules/dri/i915_dri.so...done.
Loaded symbols for /usr/lib/xorg/modules/dri/i915_dri.so
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/alsa-lib/libasound_module_rate_speexrate.so...done.
Loaded symbols for /usr/lib/alsa-lib/libasound_module_rate_speexrate.so
0xb7f652a1 in waitpid () from /lib/libpthread.so.0
(gdb) #0  0xb7f652a1 in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x082825ad in gdbExtendedBacktrace (dumpFile=12) at exceptionhandler.c:560
	gdbPipe = 14
	pid = 25840
	status = -1208596064
	wpid = 2
	gdbCommands = "backtrace full\nframe 4\ndisassemble\ninfo registers\nquit\n"
#2  0x082827eb in posixExceptionHandler (signum=11, siginfo=0xbf8590ec, 
    sigcontext=0xbf85916c) at exceptionhandler.c:671
	btBuffer = {0x82826c1, 0xb803d410, 0xb774243a, 0xb77406d8, 
  0xb77408f4, 0xb7e4addc, 0xb7e4aff4, 0xb7e4ba79, 0xb7e4df75, 0xb7e47a54, 
  0xb7e4db7b, 0xb7e4dd87, 0x8241c71, 0x8104d30, 0x81fe81b, 0x81fe8d3, 
  0x81fe91c, 0x8101cdb, 0x81f1db7, 0x815176f}
	btSize = 20
	dumpFilename = "/tmp/warzone2100.gdmp-4qjy0h"
	dumpFile = 12
	signal = 0x82f4d90 "SIGSEGV: Invalid memory reference: Address not mapped to object"
	allreadyRunning = 1
	gdmpPath = "/tmp/warzone2100.gdmp-XXXXXX"
#3  <signal handler called>
No symbol table info available.
#4  0xb76fa664 in FT_New_Size () from /usr/lib/libfreetype.so.6
No symbol table info available.
#5  0xb774243a in ?? () from /usr/lib/libfreetype.so.6
No symbol table info available.
#6  0x104d8b20 in ?? ()
No symbol table info available.
#7  0xbf8594c4 in ?? ()
No symbol table info available.
#8  0xbf8594c8 in ?? ()
No symbol table info available.
#9  0xb76f9af4 in ft_mem_alloc () from /usr/lib/libfreetype.so.6
No symbol table info available.
#10 0xb77406d8 in ?? () from /usr/lib/libfreetype.so.6
No symbol table info available.
#11 0x092c43e0 in ?? ()
No symbol table info available.
#12 0xbf85957c in ?? ()
No symbol table info available.
#13 0x090ecc70 in ?? ()
No symbol table info available.
#14 0xb7eec7d8 in ?? ()
No symbol table info available.
#15 0xbf85953c in ?? ()
No symbol table info available.
#16 0xbf85957c in ?? ()
No symbol table info available.
#17 0xb7e595e8 in __glcCommonArea () from /usr/lib/libGLC.so.0
No symbol table info available.
#18 0x00000000 in ?? ()
No symbol table info available.
(gdb) #4  0xb76fa664 in FT_New_Size () from /usr/lib/libfreetype.so.6
(gdb) Dump of assembler code for function FT_New_Size:
0xb76fa630 <FT_New_Size+0>:	push   %ebp
0xb76fa631 <FT_New_Size+1>:	mov    $0x23,%eax
0xb76fa636 <FT_New_Size+6>:	mov    %esp,%ebp
0xb76fa638 <FT_New_Size+8>:	sub    $0x38,%esp
0xb76fa63b <FT_New_Size+11>:	mov    %edi,-0x4(%ebp)
0xb76fa63e <FT_New_Size+14>:	mov    0x8(%ebp),%edi
0xb76fa641 <FT_New_Size+17>:	mov    %ebx,-0xc(%ebp)
0xb76fa644 <FT_New_Size+20>:	call   0xb76f4137 <ft_mem_dup@plt+171>
0xb76fa649 <FT_New_Size+25>:	add    $0x63bff,%ebx
0xb76fa64f <FT_New_Size+31>:	mov    %esi,-0x8(%ebp)
0xb76fa652 <FT_New_Size+34>:	test   %edi,%edi
0xb76fa654 <FT_New_Size+36>:	je     0xb76fa6c7 <FT_New_Size+151>
0xb76fa656 <FT_New_Size+38>:	mov    0xc(%ebp),%esi
0xb76fa659 <FT_New_Size+41>:	mov    $0x24,%al
0xb76fa65b <FT_New_Size+43>:	test   %esi,%esi
0xb76fa65d <FT_New_Size+45>:	je     0xb76fa6c7 <FT_New_Size+151>
0xb76fa65f <FT_New_Size+47>:	mov    0x8(%ebp),%edx
0xb76fa662 <FT_New_Size+50>:	mov    $0x22,%al
0xb76fa664 <FT_New_Size+52>:	mov    0x60(%edx),%ecx
0xb76fa667 <FT_New_Size+55>:	test   %ecx,%ecx
0xb76fa669 <FT_New_Size+57>:	je     0xb76fa6c7 <FT_New_Size+151>
0xb76fa66b <FT_New_Size+59>:	mov    0xc(%ebp),%eax
0xb76fa66e <FT_New_Size+62>:	mov    0x64(%edx),%esi
0xb76fa671 <FT_New_Size+65>:	movl   $0x0,(%eax)
0xb76fa677 <FT_New_Size+71>:	mov    0x60(%edx),%eax
0xb76fa67a <FT_New_Size+74>:	lea    -0x10(%ebp),%edx
0xb76fa67d <FT_New_Size+77>:	mov    %edx,-0x28(%ebp)
0xb76fa680 <FT_New_Size+80>:	mov    0x14(%eax),%eax
0xb76fa683 <FT_New_Size+83>:	mov    %edx,0x8(%esp)
0xb76fa687 <FT_New_Size+87>:	mov    %eax,-0x24(%ebp)
0xb76fa68a <FT_New_Size+90>:	mov    0x28(%eax),%eax
0xb76fa68d <FT_New_Size+93>:	mov    %esi,(%esp)
0xb76fa690 <FT_New_Size+96>:	mov    %eax,0x4(%esp)
0xb76fa694 <FT_New_Size+100>:	call   0xb76f3b0c <ft_mem_alloc@plt>
0xb76fa699 <FT_New_Size+105>:	movl   $0x0,-0x20(%ebp)
0xb76fa6a0 <FT_New_Size+112>:	mov    %eax,%edi
0xb76fa6a2 <FT_New_Size+114>:	mov    -0x10(%ebp),%eax
0xb76fa6a5 <FT_New_Size+117>:	test   %eax,%eax
0xb76fa6a7 <FT_New_Size+119>:	je     0xb76fa6d4 <FT_New_Size+164>
0xb76fa6a9 <FT_New_Size+121>:	mov    -0x20(%ebp),%eax
0xb76fa6ac <FT_New_Size+124>:	mov    %esi,(%esp)
0xb76fa6af <FT_New_Size+127>:	mov    %eax,0x4(%esp)
0xb76fa6b3 <FT_New_Size+131>:	call   0xb76f352c <ft_mem_free@plt>
0xb76fa6b8 <FT_New_Size+136>:	mov    %edi,0x4(%esp)
0xb76fa6bc <FT_New_Size+140>:	mov    %esi,(%esp)
0xb76fa6bf <FT_New_Size+143>:	call   0xb76f352c <ft_mem_free@plt>
0xb76fa6c4 <FT_New_Size+148>:	mov    -0x10(%ebp),%eax
0xb76fa6c7 <FT_New_Size+151>:	mov    -0xc(%ebp),%ebx
0xb76fa6ca <FT_New_Size+154>:	mov    -0x8(%ebp),%esi
0xb76fa6cd <FT_New_Size+157>:	mov    -0x4(%ebp),%edi
0xb76fa6d0 <FT_New_Size+160>:	mov    %ebp,%esp
0xb76fa6d2 <FT_New_Size+162>:	pop    %ebp
0xb76fa6d3 <FT_New_Size+163>:	ret    
0xb76fa6d4 <FT_New_Size+164>:	mov    -0x28(%ebp),%eax
0xb76fa6d7 <FT_New_Size+167>:	movl   $0xc,0x4(%esp)
0xb76fa6df <FT_New_Size+175>:	mov    %esi,(%esp)
0xb76fa6e2 <FT_New_Size+178>:	mov    %eax,0x8(%esp)
0xb76fa6e6 <FT_New_Size+182>:	call   0xb76f3b0c <ft_mem_alloc@plt>
0xb76fa6eb <FT_New_Size+187>:	mov    %eax,-0x20(%ebp)
0xb76fa6ee <FT_New_Size+190>:	mov    -0x10(%ebp),%eax
0xb76fa6f1 <FT_New_Size+193>:	test   %eax,%eax
0xb76fa6f3 <FT_New_Size+195>:	jne    0xb76fa6a9 <FT_New_Size+121>
0xb76fa6f5 <FT_New_Size+197>:	mov    0x8(%ebp),%edx
0xb76fa6f8 <FT_New_Size+200>:	movl   $0x0,0x28(%edi)
0xb76fa6ff <FT_New_Size+207>:	mov    %edx,(%edi)
0xb76fa701 <FT_New_Size+209>:	mov    -0x24(%ebp),%edx
0xb76fa704 <FT_New_Size+212>:	mov    0x38(%edx),%eax
0xb76fa707 <FT_New_Size+215>:	test   %eax,%eax
0xb76fa709 <FT_New_Size+217>:	je     0xb76fa717 <FT_New_Size+231>
0xb76fa70b <FT_New_Size+219>:	mov    %edi,(%esp)
0xb76fa70e <FT_New_Size+222>:	call   *%eax
0xb76fa710 <FT_New_Size+224>:	test   %eax,%eax
0xb76fa712 <FT_New_Size+226>:	mov    %eax,-0x10(%ebp)
0xb76fa715 <FT_New_Size+229>:	jne    0xb76fa6a9 <FT_New_Size+121>
0xb76fa717 <FT_New_Size+231>:	mov    0xc(%ebp),%eax
0xb76fa71a <FT_New_Size+234>:	mov    -0x20(%ebp),%edx
0xb76fa71d <FT_New_Size+237>:	mov    %edi,(%eax)
0xb76fa71f <FT_New_Size+239>:	mov    0x8(%ebp),%eax
0xb76fa722 <FT_New_Size+242>:	mov    %edi,0x8(%edx)
0xb76fa725 <FT_New_Size+245>:	mov    %edx,0x4(%esp)
0xb76fa729 <FT_New_Size+249>:	add    $0x6c,%eax
0xb76fa72c <FT_New_Size+252>:	mov    %eax,(%esp)
0xb76fa72f <FT_New_Size+255>:	call   0xb76f39dc <FT_List_Add@plt>
0xb76fa734 <FT_New_Size+260>:	mov    -0x10(%ebp),%eax
0xb76fa737 <FT_New_Size+263>:	test   %eax,%eax
0xb76fa739 <FT_New_Size+265>:	je     0xb76fa6c4 <FT_New_Size+148>
0xb76fa73b <FT_New_Size+267>:	jmp    0xb76fa6a9 <FT_New_Size+121>
End of assembler dump.
(gdb) eax            0x22	34
ecx            0xbf8594c8	-1081764664
edx            0x104d8b20	273517344
ebx            0xb775e248	-1217011128
esp            0xbf859460	0xbf859460
ebp            0xbf859498	0xbf859498
esi            0xbf8594c4	-1081764668
edi            0x104d8b20	273517344
eip            0xb76fa664	0xb76fa664 <FT_New_Size+52>
eflags         0x200293	[ CF AF SF IF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
(gdb) The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /usr/local/bin/warzone2100, process 25833
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Failed to initialize TTM Manager

Post by Buginator »

Looks like a quesoGLC / or perhaps a fontconfig issue, it might also be a video driver issue.
I would try to get the latest version of QuesoGLC and see if that fixes it.
and it ends here.
SlashDevSlashNull
Greenhorn
Posts: 9
Joined: 06 Sep 2010, 05:15

Re: Failed to initialize TTM Manager

Post by SlashDevSlashNull »

I tried to reinstall QuesoGLC, didn't help.

*EDIT: I reinstalled the latest version
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Failed to initialize TTM Manager

Post by Buginator »

No idea, never seen that error before, but the dump points to one of the issues I mentioned.

Sorry I can't be of more help.
and it ends here.
User avatar
JDW
Regular
Regular
Posts: 1669
Joined: 18 May 2010, 20:44

Re: Failed to initialize TTM Manager

Post by JDW »

Was just curious to know what "TTM buffer manager. Falling back to classic." meant. So when I googled it, I came across many reports that suggested driver issues, like for instance this one,
http://bugs.gentoo.org/show_bug.cgi?id=237468,
and http://www.mail-archive.com/dri-devel@l ... 33330.html

My guess is that you'll get help if you talk to the Vector Linux guys about this.
"Speak when you are angry and you will make the best speech you will ever regret."
-- Ambrose Bierce
SlashDevSlashNull
Greenhorn
Posts: 9
Joined: 06 Sep 2010, 05:15

Re: Failed to initialize TTM Manager

Post by SlashDevSlashNull »

Well, I killed vector due to only having the "lite" version of it, and installed Crunchbang Linux. I definitely don't have as many problems with this as I did with vector. I'll try and install WZ again. Wish me luck.