Page MenuHomeSchine - Phabricator

Starmade | recalculating build helper causes crash
Closed, FinishedPublic

Description

GLFRAME processErrorDialogException()
org.lwjgl.opengl.OpenGLException: Cannot use offsets when Array Buffer Object is disabled
	at org.lwjgl.opengl.GLChecks.ensureArrayVBOenabled(GLChecks.java:77)
	at org.lwjgl.opengl.GL11.glVertexPointer(GL11.java:2690)
	at org.schema.game.client.view.buildhelper.CircleBuildHelper.drawLocal(CircleBuildHelper.java:142)
	at org.schema.game.client.view.buildhelper.BuildHelper.draw(BuildHelper.java:60)
	at org.schema.game.client.view.BuildModeDrawer.draw(BuildModeDrawer.java:195)
	at org.schema.game.client.view.WorldDrawer.draw(WorldDrawer.java:563)
	at org.schema.game.client.view.MainGameGraphics.drawScene(MainGameGraphics.java:581)
	at org.schema.game.client.view.MainGameGraphics.framebufferPass(MainGameGraphics.java:757)
	at org.schema.game.client.view.MainGameGraphics.draw(MainGameGraphics.java:454)
	at org.schema.schine.graphicsengine.core.GLFrame.draw(GLFrame.java:502)
	at org.schema.schine.graphicsengine.core.GLFrame.render(GLFrame.java:546)
	at org.schema.schine.graphicsengine.core.GLFrame.doFrameAndUpdate(GLFrame.java:687)
	at org.schema.schine.graphicsengine.core.GraphicsContext.mainLoop(GraphicsContext.java:808)
	at org.schema.schine.graphicsengine.core.GraphicsContext.startUp(GraphicsContext.java:705)
	at org.schema.game.client.controller.GameMainMenuController.startGraphics(GameMainMenuController.java:1142)
	at org.schema.game.common.Starter.startMainMenu(Starter.java:1449)
	at org.schema.game.common.Starter.main(Starter.java:994)

May be the result of a disabled setting, settings.cfg provided below

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.199.630
Category
Engine
First occurrence (version)
0.199.626
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce
  1. set build helper radius on something
  2. set its position
  3. change one of the sliders and press "recalc"

Should crash

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
C_USE_NEW_PLAYER_MODEL_ = true
CONTROL_HELP = false //Display help for controls
C_MOUSE_BUTTON_SWITCH = false //Switch build/remove mouse buttons
G_RESOLUTION = 1600 x 900 //Resolution
G_FULLSCREEN = false //Fullscreen
G_WINDOWED_BORDERLESS = false //Borderless windowed mode
G_TEXTURE_PACK = Default //Texture Pack
G_TEXTURE_PACK_RESOLUTION = 256 //Texture Quality (Resolution)
G_VSYNCH = false //Vert-Synch
G_MULTI_SAMPLE_TARGET = 0 //Antialiasing (Samples)
G_MULTI_SAMPLE = 0
G_GAMMA = 1.2 //Gamma (Needs Frambuffer)
G_FOV = 85.0 //Field of View
G_MAX_SEGMENTSDRAWN = 5000 //Amount of Chunks possibly drawn (view distance)
G_NORMAL_MAPPING = true //Enable Normal mapping
G_SHADOWS = false
G_SHADOW_QUALITY = BEST
G_SHADOWS_TARGET = false //Enable Shadows
G_SHADOW_QUALITY_TARGET = BEST //Set Shadow Quality
G_PROD_BG = true //Procedural Background (fbo req)
G_PROD_BG_QUALITY = 2048 //Procedural BG quality
G_DRAW_SURROUNDING_GALAXIES_IN_MAP = false //Draw other galaxies in map (slow)
HIT_INDICATION_NUMBERS_LIFETIME = 10.0 //Time, hit numbers remain (sec)
PLAYER_SKIN_CREATE =  //Create Player Skin
PLAYER_SKIN =  //Path to player skin. Remove to Use default
D_LIFETIME_NORM = 0 //Lifetime (secs) of debris (0 to turn off)
S_SOUND_SYS_ENABLED = false //The sound system (restart required)
S_SOUND_ENABLED = true //Sound
S_SOUND_VOLUME_GLOBAL = 4 //Sound Volume
USE_OPEN_AL_SOUND = true //OpenAL (Off fixes stutter, but silent videos. restart needed. working on fix)
N_TRANSMIT_RAW_DEBUG_POSITIONS = false
C_SELECTED_JOYSTICK = 0
ICON_BAKERY_BLOCKSTYLE_ROTATE_DEG = -90.0
MOUSE_WHEEL_SENSIBILITY = 7.0E-4
BUILD_MODE_SHIFT_SPEED = 25.0
ORBITAL_CAM_SPEED = 0.5
G_DAMAGE_DISPLAY = 600 //Damage display distance
G_STAR_COUNT = 4096 //Star Count
G_VBO_BULKMODE_SIZE = 4
G_DRAW_FOG = false
G_DRAW_BEAMS = true //Draw beams
G_DRAW_EXHAUST_PLUMES = true //Draw thruster plumes
D_INFO_CONTROLMANAGER = false
D_INFO_SHADER_ERRORS = false
T_ENABLE_TEXTURE_BAKER = false
D_INFO_DRAW_TIMES = false
D_INFO_DRAW_SPACE_PARTICLE = false
G_SPACE_PARTICLE = false //Draw space dust particles
G_DRAW_MOUSE_COLLISION = false
G_ATMOSPHERE_SHADER = normal
F_FRAME_BUFFER = true //Use Framebuffer
G_SHADOW_NEAR_DIST = 1.0
G_SHADOW_FAR_DIST = 75.0
G_SHADOW_DEPTH_RANGE_NEAR = 0.0
G_SHADOW_DEPTH_RANGE_FAR = 1.0
G_SHADOW_SPLIT_FAR_0 = 0.325
G_SHADOW_SPLIT_NEAR_1 = 0.325
G_SHADOW_SPLIT_FAR_1 = 0.325
G_SHADOW_SPLIT_NEAR_2 = 0.325
G_SHADOW_SPLIT_MULT = 1.005
G_SHADOW_CROP_MATRIX_MAX = -1000.0
G_SHADOW_CROP_MATRIX_MIN = 1000.0
G_SHADOW_EXTRA_BACKUP = 20.0
G_SHADOW_NEAR_CLIP = 0.05
G_SHADOW_SPLIT_MAT_RADIUS_ADD_0 = 0.0
G_SHADOW_SPLIT_MAT_RADIUS_ADD_1 = 10.0
G_SHADOW_SPLIT_MAT_RADIUS_ADD_2 = 10.0
G_SHADOW_SPLIT_MAT_RADIUS_ADD_3 = 3.0
G_SHADOW_SPLIT_ORTHO_MAT_FAR_ADDED_0 = 0.0
G_SHADOW_SPLIT_ORTHO_MAT_FAR_ADDED_1 = 100.0
G_SHADOW_SPLIT_ORTHO_MAT_FAR_ADDED_2 = 50.0
G_SHADOW_SPLIT_ORTHO_MAT_FAR_ADDED_3 = 150.0
G_SHADOW_SPLIT_ORTHO_NEAR_ADDED = -100.0
G_SHADOW_ULTRA_FAR_BOUNDS_ADDED_0 = -0.013
G_SHADOW_ULTRA_FAR_BOUNDS_ADDED_1 = -0.002
G_SHADOW_ULTRA_FAR_BOUNDS_ADDED_2 = -0.002
G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_0 = -0.023
G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_1 = -0.002
G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_2 = -0.0
G_SHADOW_FOV_ADDED_RAD = 0.2
G_SHADOW_DISPLAY_SHADOW_MAP = false
G_DRAW_SHIELDS = true //Shield Effect
G_DRAW_WATER = true
G_DRAW_BACKGROUND = true //Background Image
G_WATER_USE_MIPMAPS = false
E_NAVIGATION_FILTER = 1021
G_DRAW_ENTITIES = true
G_FRUSTUM_CULLING = true
G_DRAW_EFFECTS = true
G_SHADER_RELOAD = false
G_FRAMERATE_FIXED = 120 //Limit Framerate (30, 60, 120, 240, or -1 for unlimited)
G_SHADERS_ACTIVE = true
G_DEBUG_DRAW_GRID = false
G_DEBUG_DRAW_LINES = true
T_TERRAIN_DRAW = true
T_TERRAIN_WIREFRAME_DRAW = false
G_CULLING_ACTIVE = true
G_TEXTURE_ARRAYS = false
G_AUTO_NORMALIZATION = true
G_DRAW_BY_SIDES = true
G_WIREFRAMED = false
G_TEXTURE_COMPRESSION_BLOCKS = false
G_TEXTURE_ARRAY_COMPRESSION = true
G_TEXTURE_ARRAY_MIPMAP = true
G_TEXTURE_MIPMAP = true
G_SHADOWS_VSM = false
S_PAUSED = false
S_SETTINGS_SHOW = false
MINIMAP_MODE = SMALL //Radar (minimap) size
SECTOR_INDICATION_MODE = INDICATION_ONLY //Indicators for other sectors
S_KEY_ALLOW_DUPLICATES = true //Allow key assign duplicates
GIF_WIDTH = 640
GIF_HEIGHT = 640
GIF_FPS = 15
GIF_GUI = false
G_DEBRIS_THRESHOLD_MS = 4
S_INITIAL_SETTING = Single Player
S_GAME_MODE = Sandbox
G_BONE_ANIMATION = true
P_NT_DEBUG_ACTIVE = false
P_PHYSICS_DEBUG_ACTIVE_OCCLUSION = false
P_PHYSICS_DEBUG_ACTIVE = false
P_PHYSICS_DEBUG_MODE = 0
G_DEBUG_LINE_DRAWING_ACTIVATED = false
G_WINDOW_START_POSITION = center
G_DRAW_GUI_ACTIVE = true
G_DRAW_NO_OVERLAYS = false
G_PARTICLE_SORTING = true
P_PHYSICS_ACTIVATED = true
G_SMOKE_QUALITY = false
G_DRAW_STARS = true //Draw additional stars
G_DRAW_PASTE_PREVIEW = true //Draw preview for paste
G_USE_SPRITE_VBO = true
TUTORIAL_NEW = false //Tutorial enabled
G_AUTOSELECT_CONTROLLERS = true //AutoSelect Controllers
S_INFO_DRAW = SOME_INFO //Tech Info
G_VBO_FLAG = STATIC
N_LAG_COMPENSATION = true
N_IGNORE_SAVED_UPLINK_CREDENTIALS_IN_SINGLEPLAYER = true
N_SERVERTIME_UPDATE_FREQUENCY = 10000
M_TEXTURE_PACK_CONFIG_TOOL = ./data/textures/block/Default/64/
G_MIPMAP_LEVEL_MAX = 3
M_MOUSE_SENSITIVITY = 0.5 //Mouse Sensitivity
G_HIT_INDICATION_SIZE = 1.2 //Size of hit indications
F_BLOOM = true //Bloom Effect
F_BLOOM_INTENSITY = 0.4 //Bloom Intensity
S_MOUSE_LOCK = true
G_DRAW_ADV_BUILDMODE_BLOCK_PREVIEW = true
G_SHOW_PURE_NUMBERS_FOR_SHIELD_AND_POWER = false
S_FLIP_HOTBAR_MOUSEWHEEL = false //Use keybind to scroll through other hotbars
S_INVERT_MOUSEWHEEL_HOTBAR = false //Invert mouse wheel for hotbars
S_ZOOM_MOUSEWHEEL = SLOTS //Primary mouse wheel function
S_MOUSE_SHIP_INVERT = false //Invert MoUse-Y (Ship)
S_MOUSE_ALL_INVERT = false //Invert MoUse-Y (All)
S_USE_REGION_SIGNATURE_TEST = false
G_PREVIEW_TO_BUILD_BLOCK = true //Preview Block to build
S_EXIT_ON_ESC = false
G_USE_HIGH_QUALITY_BACKGROUND = false
G_DRAW_POPUPS = true
G_USE_VBO_MAP = true
G_DRAW_JUMP_OVERLAY = true
G_MAG_FILTER_LINEAR_BLOCKS = false //Use linear mag filter on Blocks (restart required)
BLOCK_TEXTURE_ANISOTROPY = true //Anisotropic block textures (restart required)
G_MAG_FILTER_LINEAR_GUI = false //Use linear mag filter on GUI (restart required)
G_MAX_BEAMS = 1024 //Max Beams Drawn (restart required)
SEGMENT_REQUEST_BATCH = 64 //Size of Chunk request-queue
CLIENT_BUFFER_SIZE = 65536
ICON_BAKERY_SINGLE_RESOLUTION = 150
LIGHT_RAY_COUNT = 48 //Block light quality (impacts chunk refresh time, but not fps)
ICON_BAKERY_SINGLE_ICONS = false
G_MUST_CONFIRM_DETACHEMENT_AT_SPEED = 50.0 //Popup Detach Warning (% server speed, -1 off)
G_USE_SHADER4 = true
O_OCULUS_RENDERING = false
G_USE_VERTEX_LIGHTING_ONLY = false //Simple Lighting Quality (faster)
CLIENT_TRAFFIC_CLASS = true
G_DRAW_SELECTED_BLOCK_WOBBLE = true
G_USE_TWO_COMPONENT_SHADER = false
A_FORCE_AUTHENTICATION_METHOD = -1
MIN_FFA = 2
B_UNDO_REDO_MAX = 30
G_DRAW_ANY_CONNECTIONS = true //Draw connections between logic blocks
G_DRAW_ALL_CONNECTIONS = false //Draw all connections (not only logic)
N_ARTIFICIAL_DELAY = 0
SEGMENT_PIECE_QUEUE_SINGLEPLAYER = 32767
G_MAX_MISSILE_TRAILS = 128 //Max Missile Trails (restart required)
G_USE_OCCLUSION_CULLING = false
C_AUTOASSIGN_WEAPON_SLOTS = true //Autoassign weapons on fire if bar empty
G_DRAW_NT_STATS_OVERLAY = false //Draw network statistics in HUD
CLIENT_CUSTOM_TEXTURE_PATH = ./customBlockTextures
SECRET = none
LIMIT_FPS_UNFOCUS = true
GUI_USE_DISPLAY_LISTS = false
USE_GL_MULTI_DRAWARRAYS = true //MultiDraw Optimization (turn off on chunk Draw problems)
USE_GL_MULTI_DRAWARRAYS_INITIAL_SET = true
CHAT_CLOSE_ON_ENTER = true //Close chat on enter
A_FORCE_LOCAL_SAVE_ENABLED_IN_SINGLE_PLAYER = false
G_SHIP_INFO_ZOOM = 3
G_SINGLEPLAYER_CREATIVE_MODE = true //G_SINGLEPLAYER_CREATIVE_MODE
G_DRAW_LAG_OBJECTS_IN_HUD = false //Draw lag statistics in HUD
G_SHOW_SYMMETRY_PLANES = true //Show symmetry planes
LANGUAGE_PACK = english
LANGUAGE_PACK_ASSIGNED = true
DELETE_SEVER_DATABASE_ON_STARTUP = false
G_BASIC_SELECTION_BOX = false //Draw basic selection boxes
OFFLINE_PLAYER_NAME = schema
ONLINE_PLAYER_NAME = Lancake
SERVERLIST_COMPATIBLE = false
SERVERLIST_RESPONSIVE = true
SERVERLIST_FAVORITES = false
SERVERLIST_CUSTOMS = false
CUBE_LIGHT_NORMALIZER_NEW_M = true
SERVERLIST_LAST_SERVER_USED = localhost:4242
LAST_GAME = SP;Test World 1;4242;schema
PLAY_INTRO = false //Play Intro
SUBTITLES = true //Subtitles
TUTORIAL_BUTTON_BLINKING = true
TUTORIAL_PLAY_INTRO = false
TUTORIAL_WATCHED = introduction;
SHOW_32BIT_WARNING = true
USE_INTEGER_VERTICES = true
LOD_DISTANCE_IN_THRESHOLD = 80.0 //Non Block Render Distance (LoD)
AUTOSET_RESOLUTION = false
FIRST_START = false
USE_TGA_NORMAL_MAPS = true
PLUME_BLOOM = true
BLUEPRINT_STRUCTURE_BUILD_OPTIONS = false
BLOCK_STYLE_PRESET = 70001, false, 53; 140002, false, 103; 90003, false, 69; 170004, false, 126; 150000, false, 108; 60000, false, 45; 130000, false, 94; 140004, false, 105; 110002, false, 82; 30004, false, 28; 50003, false, 41; 90002, false, 68; 60005, false, 50; 80001, false, 60; 50000, false, 38; 100, false, 7; 150006, false, 114; 190004, false, 140; 50001, false, 39; 30003, false, 27; 190005, false, 141; 50004, false, 42; 180004, false, 133; 100000, false, 73; 90000, false, 66; 70004, false, 56; 120003, false, 90; 40003, false, 34; 190006, false, 142; 180000, false, 129; 70002, false, 54; 100001, false, 74; 80005, false, 64; 190003, false, 139; 160004, false, 119; 300, true, 9; 120002, false, 89; 30001, false, 25; 5, false, 5; 100006, false, 79; 60006, false, 51; 10003, true, 13; 30000, false, 24; 10000, false, 10; 110003, false, 83; 150005, false, 113; 170002, false, 124; 1, true, 1; 160002, false, 117; 110005, false, 85; 140001, false, 102; 50005, false, 43; 70006, false, 58; 130002, false, 96; 70003, false, 55; 20001, false, 18; 10006, true, 16; 40006, false, 37; 180002, false, 131; 90001, false, 67; 30002, false, 26; 120005, false, 92; 60002, false, 47; 60004, false, 49; 130004, false, 98; 130003, false, 97; 30005, false, 29; 110001, false, 81; 80004, false, 63; 130005, false, 99; 180001, false, 130; 20002, false, 19; 120001, false, 88; 100004, false, 77; 90004, false, 70; 4, true, 4; 170006, false, 128; 140000, false, 101; 150004, false, 112; 140006, false, 107; 100005, false, 78; 20006, true, 23; 40000, false, 31; 130001, false, 95; 20004, false, 21; 70000, false, 52; 130006, false, 100; 50002, false, 40; 160003, false, 118; 160000, false, 115; 60001, false, 46; 80000, false, 59; 40002, false, 33; 50006, false, 44; 170005, false, 127; 110000, false, 80; 100003, false, 76; 70005, false, 57; 180005, false, 134; 140005, false, 106; 80006, false, 65; 140003, false, 104; 20005, false, 22; 170003, false, 125; 90006, false, 72; 20000, false, 17; 190000, false, 136; 20003, false, 20; 180006, false, 135; 190001, false, 137; 40001, false, 32; 60003, false, 48; 160005, false, 120; 170001, false, 123; 160001, false, 116; 150001, false, 109; 120004, false, 91; 40004, false, 35; 80002, false, 61; 190002, false, 138; 120006, false, 93; 110004, false, 84; 170000, false, 122; 10001, false, 11; 10002, false, 12; 80003, false, 62; 180003, false, 132; 200, true, 8; 150003, false, 111; 120000, false, 87; 30006, true, 30; 3, false, 3; 10005, false, 15; 100002, false, 75; 160006, false, 121; 150002, false, 110; 90005, false, 71; 10004, false, 14; 6, true, 6; 2, true, 2; 110006, false, 86; 40005, false, 36; 0, true, 0
DEBUG_SHIP_CAM_ON_RCONTROL = false
G_ELEMENT_COLLECTION_INT_ATT = true
ADVANCED_BUILD_MODE_STICKY_DELAY = 230

Event Timeline

lancake created this task.Jun 29 2017, 4:26 PM
Restricted Application added a project: Engine. · View Herald TranscriptJun 29 2017, 4:26 PM
schema added a commit: Restricted Diffusion Commit.Jul 5 2017, 11:26 AM
schema changed the task status from In Queue to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptJul 5 2017, 11:26 AM
Restricted Application added a subscriber: AndyP. · View Herald Transcript

-QA Testing-

Seems to work well, even with the fill tool.
Had a nullpointer along the way but shouldn't be related to the recalculation working again, will make a new task about that as soon as I figure out how to reproduce.

lancake changed Last tested (version) from 0.199.626 to 0.199.630.Jul 5 2017, 12:44 PM
lancake closed this task as Closed.Jul 7 2017, 12:34 PM
Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJul 7 2017, 12:34 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
AndyP moved this task from Unclassed to Archived on the Starmade board.Jul 20 2017, 10:39 PM