UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2622 MAX_GL_TEXTURES texture count somehow broken...
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    4. Useful
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2622 Item 2622] imported from sourceforge.net tracker on 2013-01-28 19:43:45

... because the limit is sometimes hit during the game, but a restart of the same game (save-exit game-reload) makes the 'MAX_GL_TEXTURES hit' bug disappear again for a while, so I suppose some texture-slots are not correctly freed when leaving battlescape, but I am not sure...
===== Comments Ported from Sourceforge =====

====== o01eg (2010-07-23 11:32:27) ======

Got this bug in r31050.
Log:
==== InitGame ====
SV_AssembleMap: Sequential map assembly in 2 ms
CM_LoadMap: "-tropic/tr_ +h01 +h02 +h03 +h04 +craft_drop_firebird +craft_ufo_harvester +h01 +h04 +f02 +f06 +f07 +f03 +f02" "0 -16 0 -24 -8 0 -24 16 0 16 -16 0 -24 -24 0 -8 -8 0 -24 8 0 -8 24 0 -8 16 0 0 -24 0 16 -24 0 16 16 0 16 24 0"
Rerouted for RMA in 0.0s
checksum for the map '+tropic': 3672149632
ufo script checksum 267229120
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
connection attempt from loopback connection
load material file: 'materials/tropic.mat'
Breakpoint 1, Com_Error (code=1,
fmt=0x617200 "R_LoadImageData: MAX_GL_TEXTURES hit")
at src/common/common.c:437
437 if (recursive)
(gdb) bt full
#0 Com_Error (code=1, fmt=0x617200 "R_LoadImageData: MAX_GL_TEXTURES hit")
at src/common/common.c:437
argptr = {{gp_offset = 4140026256, fp_offset = 32767,
overflow_arg_area = 0x35c25e4, reg_save_area = 0x7fffffffdac0}}
msg = "R_LoadImageData: MAX_GL_TEXTURES hit", &#039;\000&#039; <repeats 4059 times>
recursive = qfalse
#1 0x000000000055542d in R_LoadImageData (
name=0x7fffffffd190 "textures/tex_material/c_black", pic=0x227507c0 "",
width=32, height=32, type=it_world) at src/client/renderer/r_image.c:552
image = 0xe414c20
i = 1024
len = 29
hash = 32767
__PRETTY_FUNCTION__ = "R_LoadImageData"
#2 0x0000000000555668 in R_FindImageDebug (
pname=0x7fffffffd220 "textures/tex_material/c_black", type=it_world,
file=0x61b470 "src/client/renderer/r_model_brush.c", line=219)
at src/client/renderer/r_image.c:614
lname = "textures/tex_material/c_black\000\060\060\062\000\000\000\305\000\000\000\021\000\000\000\000\000\000\000`\356\236\365\000\000\000\000\002\000\000\000\000\000\000"
image = 0x0
surf = 0x1ca869a0
#3 0x000000000056ba34 in R_ModLoadTexinfo (l=0x1fccb678)
at src/client/renderer/r_model_brush.c:219
in = 0x1fcef694
out = 0x1b0342a8
i = 101
j = 3
count = 402
name = "textures/tex_material/c_black\000\060\060\062\000\000\020\000\000\000\000\344%\\\003h8\000\000\300\332\377\377\377\177\000\000X\266\314\037\000\000\000"
#4 0x000000000056e7b0 in R_ModAddMapTile (
name=0x7fffffffd370 "tropic/tr_h02", day=qtrue, sX=-24, sY=-8, sZ=0)
at src/client/renderer/r_model_brush.c:974
i = 36
buffer = 0x1fccb648 "IBSPN"
header = 0x1fccb648
lightingLump = 8
#5 0x000000000056eb04 in R_ModBeginLoading (
tiles=0x35c0cf9 " +h03 +h04 +craft_drop_firebird +craft_ufo_harvester +h01 +h04 +f02 +f06 +f07 +f03 +f02", day=qtrue,
pos=0x35c25f4 " -24 16 0 16 -16 0 -24 -24 0 -8 -8 0 -24 8 0 -8 24 0 -8 16 0 0 -24 0 16 -24 0 16 16 0 16 24 0", mapName=0x35bfce4 "+tropic")
at src/client/renderer/r_model_brush.c:1073
token = 0x2efc2a0 "0"
name = "tropic/tr_h02\000\000\000\005\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\300\332\377\377\377\177\000\000\344\374[\003\000\000\000\000 \324\377\377\377\177\000\000\344%\\\003\000\000\000"
base = "tropic/tr_", &#039;\000&#039; <repeats 14 times>"\267, \236\246\365\377\177\000\000\340\rC\000\000\000\000\000\300\332\377\377\377\177\000\000\000\000\000\000\000\000\000\000<\212W\000\000\000\000"
sh = {-24, -8, 0}
i = 3
__PRETTY_FUNCTION__ = "R_ModBeginLoading"
#6 0x0000000000462ebe in CL_ViewLoadMedia ()
at src/client/battlescape/cl_view.c:63
le = 0x0
i = 4394464
max = 0
name = "fy`\000\000\000\000\000\b\000\000\000\000\000\000\000X\337\313\002\000\000\000\000\240\302\357\002\000\000\000"
#7 0x000000000043f0c5 in CL_RequestNextDownload () at src/client/cl_main.c:533
mapChecksum = 0
scriptChecksum = 0
buf = 0x51bcaa "\215\004\003\211E\350\377E\344\213E\344H\230H\003E\330\017\266"
#8 0x000000000043f12e in CL_Precache_f () at src/client/cl_main.c:559
No locals.
#9 0x000000000050f6c0 in Cmd_ExecuteString (text=0x7fffffffd4c0 "precache")
at src/common/cmd.c:988
cmd = 0x134b51a8
a = 0x7fffffffd8e0
str = 0x22d50e08 "precache"
hash = 15
#10 0x000000000050e24c in Cbuf_Execute () at src/common/cmd.c:240
text = 0x1a57880 "precache\n00 2988630\n30\n-select 200 2988630\nupdate\n8 - 2084 Май 11\";\n\net mn_slot7 \"8 - 2084 Май 11\";\n\nset mn_slot7 \"8 - 2084 Май 11\";\n\nset mn_slot7 \"8 - 2084 Май 11\";\n\nset mn_slot7 \"8 - 208"...
quotes = 0
i = 9
line = "precache\000\060\060 2988630\000\063\060", &#039;\000&#039; <repeats 434 times>"\232, \233\243\365\377\177\000\000\000\000\000\000\000\000\000\000 \362\246\365\377\177\000\000\020\060\342\367\377\177\000\000\220\307\360\020", &#039;\000&#039; <repeats 12 times>, "x\327\377\377\377\177\000\000\320\351\356\020\000\000\000\000@ʦ\365\377\177\000\000\000\000\000\000\000\000\000\000\232\233\243\365\377\177\000\000\030\352\356\020\000\000\000\000\020\060\342\367\377\177\000\000\220\307\360\020\000\000\000\000\232\233\243\365\377\177\000\000x\327\377\377\377\177\000\000 \362\246\365\377\177\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000x\327\377\377\377\177\000\000\001\000\000\000\000\000\000\000\000\000\000@\000\000\000\000\230\234\005@\000\000\000\000\030\352\356\020\000\000\000\000\333\035\263\360\377\177\000\000\220O]\000\000\000\000\000ه\202\360 \000\000\000 \252\203\361\377\177\001\000@\037\277\365\377\177\000\000\001\000\000\000\000\000\000\000\310\327\377\377\377\177\000\000(\324"...
#11 0x0000000000440146 in CL_SendCommand () at src/client/cl_main.c:956
No locals.
#12 0x0000000000440401 in CL_Frame (now=2988650, data=0x0)
at src/client/cl_main.c:1063
lastFrame = 2988650
delta = 2064
#13 0x000000000051d391 in tick_timer (now=2988650, data=0x13a713f8)
at src/common/common.c:1196
timer = 0x13a713f8
old_interval = 20
lateness = 0
#14 0x000000000051d871 in Qcommon_Frame () at src/common/common.c:1347
time_to_next = 0
event = 0x18b5b7a8
#15 0x00000000005c6a26 in main (argc=1, argv=0x7fffffffdac8)
at src/ports/linux/linux_main.c:53
No locals.
====== o01eg (2010-07-23 11:41:02) ======

Savegame:
http://ufoai.ninex.info/forum/index.php?action=dlattach;topic=5191.0;attach=5080
====== tlh2000 (2010-07-31 17:26:18) ======

potential fix: http://sourceforge.net/apps/trac/ufoai/changeset/31087
====== sf-robot (2010-09-29 18:54:19) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif