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 #1962 Assert on maps with one brush
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
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
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/1962 Item 1962] imported from sourceforge.net tracker on 2013-01-28 19:14:56

On maps with only one brush, I get an assert on loading ingame. The assert is cmodel.c:831 minY <= maxY
===== Comments Ported from Sourceforge =====

====== richlv (2008-12-29 13:42:42) ======

this also happens on maps with more than one brush - maybe related to small size in one of dimensions ?

full backtrace :

Map:test_texture Offset:(0, 0, 0)
wpMins:(137, 139, 0) wpMaxs:(141, 125, 4)
Shifted wpMins:(137, 139, 0) wpMaxs:(141, 125, 4)
ufo: src/common/cmodel.c:831: CMod_LoadRouting: Assertion `minY <= maxY&#039; failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb69b6b70 (LWP 28862)]
0xb7b92c66 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0xb7b92c66 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb7b94571 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb7b8be60 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x08100a7d in CMod_LoadRouting (name=0xbfc9df3c "test_texture", l=0xbfc9ddec, sX=0, sY=0, sZ=0) at src/common/cmodel.c:831
source = (byte *) 0x1a84e658 "{\n\"maxteams\" \"4\"\n\"maxlevel\" \"6\"\n\"classname\" \"worldspawn\"\n}\n"
length = 10485784
x = 4
y = -1077289524
z = -1077289624
size = 135326891
dir = 442555944
minX = 137
minY = 139
minZ = 0
maxX = 141
maxY = 125
maxZ = 4
i = 10485760
start = 1230554438
end = 7.5712586963427795e-270
targetLength = 10485784
temp_map = {{route = {{{"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{
"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{
"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{
"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{
"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}}, floor = {{&#039;\0&#039; <repeats 255 times> <repeats 126 times>,
&#039;\0&#039; <repeats 137 times>, "�����", &#039;\0&#039; <repeats 113 times> <repeats 13 times>, &#039;\0&#039; <repeats 255 times> <repeats 117 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 126 times>, &#039;\0&#039; <repeats 137 times>, "�����", &#039;\0&#039; <repeats 113 times> <repeats 13 times>,
&#039;\0&#039; <repeats 255 times> <repeats 117 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 126 times>,
&#039;\0&#039; <repeats 137 times>, "�����", &#039;\0&#039; <repeats 113 times> <repeats 13 times>, &#039;\0&#039; <repeats 255 times> <repeats 117 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 126 times>, &#039;\0&#039; <repeats 137 times>, "�����", &#039;\0&#039; <repeats 113 times> <repeats 13 times>,
&#039;\0&#039; <repeats 255 times> <repeats 117 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 126 times>,
&#039;\0&#039; <repeats 137 times>, "�����", &#039;\0&#039; <repeats 113 times> <repeats 13 times>, &#039;\0&#039; <repeats 255 times> <repeats 117 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}}, ceil = {{
&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}}}, {route = {{{
"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{
"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{
"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{
"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}, {{"\000\000\000\000\000\000\000" <repeats 256 times>} <repeats 256 times>}}, floor = {{
&#039;\0&#039; <repeats 255 times> <repeats 126 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times> <repeats 12 times>,
&#039;\0&#039; <repeats 255 times> <repeats 118 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 126 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times> <repeats 12 times>, &#039;\0&#039; <repeats 255 times> <repeats 118 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 126 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "�\001��", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 255 times> <repeats 118 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 126 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 255 times> <repeats 118 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 126 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "�῿", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>,
&#039;\0&#039; <repeats 137 times>, "����", &#039;\0&#039; <repeats 114 times>, &#039;\0&#039; <repeats 255 times> <repeats 118 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}}, ceil = {{&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 127 times>, &#039;\0&#039; <repeats 138 times>, "/", &#039;\0&#039; <repeats 116 times>,
&#039;\0&#039; <repeats 255 times> <repeats 128 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 127 times>, &#039;\0&#039; <repeats 138 times>, "\037", &#039;\0&#039; <repeats 116 times>,
&#039;\0&#039; <repeats 255 times> <repeats 128 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 127 times>, &#039;\0&#039; <repeats 138 times>, "\017", &#039;\0&#039; <repeats 116 times>,
&#039;\0&#039; <repeats 255 times> <repeats 128 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {&#039;\0&#039; <repeats 255 times> <repeats 256 times>}, {
&#039;\0&#039; <repeats 255 times> <repeats 256 times>}}}}
__PRETTY_FUNCTION__ = "CMod_LoadRouting"
#4 0x081016cc in CM_AddMapTile (name=0xbfc9df3c "test_texture", day=qtrue, sX=0, sY=0, sZ=0 &#039;\0&#039;) at src/common/cmodel.c:1053
filename = "maps/test_texture.bsp\000\230\027\000\000\000\0002�\024�\000\000\000\0278Q~\0328Q~\032t\206�\t�\002\000\000P\027ʿ��ɿ\200�\020\b"
checksum = 1074052757
buf = (byte *) 0x1a81ab54 "IBSPL"
i = 36
length = 211776
header = {ident = 1347633737, version = 76, lumps = {{fileofs = 211716, filelen = 59}, {fileofs = 144, filelen = 760}, {fileofs = 1192, filelen = 84}, {
fileofs = 48828, filelen = 162888}, {fileofs = 1360, filelen = 252}, {fileofs = 1612, filelen = 576}, {fileofs = 2188, filelen = 60}, {fileofs = 14804,
filelen = 17011}, {fileofs = 31816, filelen = 17011}, {fileofs = 904, filelen = 288}, {fileofs = 2336, filelen = 4}, {fileofs = 2384, filelen = 36}, {fileofs = 2340,
filelen = 44}, {fileofs = 2420, filelen = 12384}, {fileofs = 2248, filelen = 24}, {fileofs = 2272, filelen = 64}, {fileofs = 1276, filelen = 84}}}
shift = {0, 0, 0}
__PRETTY_FUNCTION__ = "CM_AddMapTile"
#5 0x08101e95 in CM_LoadMap (tiles=0xbfc9f91c "", day=qtrue, pos=0x0, mapchecksum=0xbfc9dfb8) at src/common/cmodel.c:1200
token = 0x9dcff60 ""
name = "test_texture\000\220��\017\000\000\003\000\000\000\000\001\000\000\000\210�ɿϼ\024\b,\024w\024\000\001\000\000\235\234\030\b\234�ɿ\001\000\000\000\001\000\000\000��ɿ"
base = "\000�\227�\222�\215�\207�\202\000|�v�q�kʾp\000\000�\211\027\000\000\000\000P\027ʿ�\034��\000\000\000\000X�ɿ\025�\024\b,\024w\024\000\001\000\000\235\234\030\b"
sh = {-1128809540, -1095909966, -1063075929}
i = 343349304
__PRETTY_FUNCTION__ = "CM_LoadMap"
#6 0x081237c9 in SV_SpawnServer (day=qtrue, server=0xbfc9f910 "test_texture", param=0x0) at src/server/sv_init.c:1111
i = 1
checksum = 0
map = 0xbfc9f910 "test_texture"
pos = 0x0
buf = 0x92b2400 "\ncheck_nexttip;\nom; check_nexttip;\n\nck_nexttip;\n;\n\nmain;check_cvars;\ne7\nhuddisable7\nhuddisable7\nddisable7\nddisable7\nddisable7\nhuddisable7\nhuddisable7\nhuddisable7\nhuddisable7\nhuddisable7\nhuddisable7\n \""...
__PRETTY_FUNCTION__ = "SV_SpawnServer"
#7 0x08123bee in SV_Map (day=qtrue, levelstring=0xbfc9f910 "test_texture", assembly=0x0) at src/server/sv_init.c:1224
__PRETTY_FUNCTION__ = "SV_Map"
#8 0x0811fed7 in SV_Map_f () at src/server/sv_ccmds.c:190
assembly = 0x0
bufMap = "test_texture\000�ʷ��\025\b\001\000\000\0008�ɿ�c��\\�ɿ��\025\b\001\000\000\000��ɿ��ɿ��ɿ��ɿ������������\000\000\000\000\000\000\000\0002y��\000\000\000\000\000\000\000\000\230�ɿ\000\000\000\000��ɿ\000\000\000\000p���\000�ɿ�\230\216\027��ɿ\t����\210\233���ɿ\v\000\000\000\000\000\000\000����\000\001\002\003", &#039;\0&#039; <repeats 12 times>, "�\037��\000\000\000\000����\025\000\000\000��\025\b��\025\b\000\000\000\000��ɿ\000\000\000\000\v", &#039;\0&#039; <repeats 11 times>...
bufAssembly = " $h\032\003\000\000\000\200R\204\032\000\000\000\000�g\211\032\000\000\000\000\000\000\000\000s�3�\200+h\032\003\000\000\000\000�\000\000\000\000\000\000\204�ɿ\003\000\000\0010g\211\032�g\211\032\200+h\032\000\000\000\000@M\204\032�\f\a�0g\211\032\000\000\000\000\220�ɿ\004�ɿ�g\000\032\000\000\000\001�����g\211\032�g\211\032 \000 \000@\000\000\000��\005�\000\001\002\003\000\001\002\003 \000 \000��\005� $h\032\003\000\000\000�g\211\032�\f\a�0g\000\032\000\000\000\000��ɿT�ɿ\200+h\032\003\000\000\000�\000\000\000\000\000\000\000\024�ɿ\003\000\000\001"...
day = qtrue
#9 0x080fc537 in Cmd_ExecuteString (text=0xbfca125c "map day test_texture") at src/common/cmd.c:911
cmd = (const cmd_function_t *) 0x178a7d6c
a = (const cmd_alias_t *) 0xf933f83a
str = 0x1a7ef78c "map"
hash = 29
#10 0x080fb4c9 in Cbuf_Execute () at src/common/cmd.c:228
text = 0x92b2400 "\ncheck_nexttip;\nom; check_nexttip;\n\nck_nexttip;\n;\n\nmain;check_cvars;\ne7\nhuddisable7\nhuddisable7\nddisable7\nddisable7\nddisable7\nhuddisable7\nhuddisable7\nhuddisable7\nhuddisable7\nhuddisable7\nhuddisable7\n \""...
quotes = 0
i = 21
line = "map day test_texture\000\033�\034�\035�\036�\037� �!\a#\017$\026%\036&%&#039;,(2)9*?+E,K-Q.V/\\0a1f2k3o4t5x6}7\2018\2059\211:\214;\220<\223=\227>\232?\235@�A�B�C�D�E�F�G�H�I�J�K�L�M�N�O�P�Q�R�S�T�U�V�W�X�Y�Z�[�\\�]�^�_�`�a�b�c�d�e�f�g�h�i�j�k�l�m�n�o�p�q�r�s�t�u"...
#11 0x0808a27f in CL_SendCommand () at src/client/cl_main.c:2171
No locals.
#12 0x0808a7b3 in CL_Frame (now=3993128, data=0x0) at src/client/cl_main.c:2355
delta = 20
last_frame = 3993128
#13 0x08107699 in tick_timer (now=3993128, data=0x1a5348ac) at src/common/common.c:1072
timer = (struct timer *) 0x1a5348ac
old_interval = 20
lateness = 0
#14 0x08107934 in Qcommon_Frame () at src/common/common.c:1153
event = (struct event *) 0x1a7ef744
time_to_next = 0
#15 0x0814c20b in main (argc=1, argv=0xbfca17d4) at src/ports/linux/linux_main.c:97
No locals.

====== richlv (2008-12-29 13:44:06) ======

testcase
====== wilminator (2009-01-04 02:47:29) ======

Please update to svn 21513 and please recompile the maps with errors. If there is a problem with ufo2map, then I need to look there. If the map compiles, please try to load it and let me know if that error still exists.
====== wilminator (2009-05-18 03:32:30) ======

Closing due to age- resubmit if it still exists.
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