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 #2354 SIGABRT: Assertion failed during click on new mission icon
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
    Campaign
  • 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/2354 Item 2354] imported from sourceforge.net tracker on 2013-01-28 19:30:37

During campaign mode a new mission showed up. While clicking on that (I attached at least a half screenshot!) I got this assertion bug:

ufo: src/client/menu/node/m_node_vscrollbar.c:400: MN_VScrollbarNodeDraw: Assertion >>y == pos[1] + node->size[1] - ELEMENT_HEIGHT<< failed.

ufo ai is r28506

Probably introduced during fixing icons on the backside of the geoscape.
===== Comments Ported from Sourceforge =====

====== bekoszaf (2010-02-08 23:15:36) ======


====== bekoszaf (2010-02-08 23:19:29) ======

Reproducable on attached savegame. Just hit fast forward. The next mission that pops up. Click on the appearing panel of the mission => crash
====== bekoszaf (2010-02-08 23:20:17) ======

Hit fast forward => click on mission panel upper left => crash
====== bekoszaf (2010-02-08 23:31:22) ======

crashes also on clicking on the mission on the geoscape directly. So my campaign is jammed if I don&#039;t want to ignore this mission.
====== tlh2000 (2010-02-09 08:00:05) ======

not reproducible here with latest trunk (also tried the rev you posted) - what is the resolution you are using?
====== bekoszaf (2010-02-09 10:33:44) ======

I use 1280x1024 (fullscreen: no). Crash still occures with r28509. Changing to 1024x768 _WORKS_ so this is (again) resolution related.

------- video initialization -------
SDL version: 1.2.14
I: desktop depth: 32bpp
I: video memory: 0
I: video driver: x11
I: setting mode 8
I: set multisample buffers to 1
I: set swap control to 0
I: 1280x1024 (fullscreen: no)
I: got 8 bits of stencil
I: got 24 bits of depth buffer
I: got double buffer
I: got 8 bits for red
I: got 8 bits for green
I: got 8 bits for blue
I: got 0 bits for alpha
I: got 2 multisample buffers
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce FX 5900XT/AGP/SSE2
GL_VERSION: 2.1.2 NVIDIA 173.14.22
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
max texture units: 4
max texture size: detected 4096
====== bekoszaf (2010-02-09 10:41:09) ======

* Oh, I take that back. During testing something different it crashed on 1024x768 at this point too.

* On 1024x768 it workes in most cases but not always.

* On 1280x1024 it crashes about always selecting this mission

* When I got my autosave after starting the mission it sometimes crashes now at this point on loading the quickslot when the geoscape centeres on the hotspot.
====== bayo-fr (2010-02-10 19:59:06) ======

It should mean the loop is wrong with some resolutions. I add an assert here for it.

I dont yet check, but maybe if you can post values of y, pos[1], node->size[1] it can help for very special cases, A node with a negative size, i dont know...
====== tlh2000 (2010-02-28 08:03:40) ======

is this still an issue?
====== tlh2000 (2010-03-02 21:00:38) ======

i will set this to pending in a few days if nothing new is reported here during that time.
====== thilosf (2010-03-23 10:19:39) ======

Got this crash recently with r29096 running on debian lenny:

ufo: src/client/menu/node/m_node_vscrollbar.c:400: MN_VScrollbarNodeDraw: Zusicherung >>y == pos[1] + node->size[1] - ELEMENT_HEIGHT<< nicht erfüllt.

Seems to be related to the screen resolution. Happens with 1280x1024, but NOT with 1024x768. The mission is

mission: &#039;cat2_interest150_0&#039;
...category 2. &#039;Terror mission&#039; -- stage 5. &#039;Terror mission underway&#039;
...mapDef: &#039;farm_medium&#039;
...location: &#039;Suva&#039;
...start (day = 760892, sec = 68272), ends (day = 760893, sec = 81402)
...pos (-178.43, -18.13)(assigned Pos) -- mission on Geoscape
...UFO: craft_ufo_harvester (0/1)

Like in bekoszaf&#039;s screenshot, it is a mission on the farm map, but I cannot imagine this to be relevant.

The savegame with the mission already on geoscape can be grabbed here: http://thiloernst.de/slot7.xml (can&#039;t figure out how to attach a file to this bug report).
====== bayo-fr (2010-03-28 12:55:08) ======

problem come from
* non integer number into node position
* from layout rendering
* from MN_NodeGetPoint output

Thats not only a geoscape problem.

MN_NodeGetPoint output is now integer. Fixed in r29176
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