Opened 10 years ago

Closed 10 years ago

#2367 closed defect (fixed)

assertion 'sys_page_size == 0' failed + JS errors

Reported by: fabio Owned by: Yves
Priority: Should Have Milestone: Alpha 16
Component: Core engine Keywords:
Cc: historic_bruno, Yves Patch:

Description (last modified by fabio)

  • start the game;
  • click on Website -> OK;
  • click Exit. I get this
(process:8912): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
ERROR: JavaScript error: gui/common/functions_global_object.js line 37
TypeError: g_messageBoxBtnFunctions is undefined
  messageBox(400,200,"Are you sure you want to quit 0 A.D.?","Confirmation",0,[object Array],[object Array])@gui/common/functions_global_object.js:37
  __eventhandler20 (press)([object Object])@menuExitButton press:4

I already reported this on IRC, sanderd17 suggested to ask historic_bruno. Also adding Yves to CC since similar problems where observed after #2241.

Change History (3)

comment:1 by Yves, 10 years ago

I will have a look, it seems to be related to #2241.

comment:2 by fabio, 10 years ago

Description: modified (diff)

comment:3 by Yves, 10 years ago

Owner: set to Yves
Resolution: fixed
Status: newclosed

In 14556:

Fixes a problem when messageboxes were called without callback function.
Fixes #2367
Refs #2241

Note: See TracTickets for help on using tickets.