Please try to change this block in scripts/gui_stuff/gui_char_selector.lua (starting at line 1204):
-- A button was used to turn the page, so we can calculate the new one.
else
  local elements = main_frame[bottom_flow_name][character_pages_flow_name][character_page_selector_flow_name]
  old_page = elements[dropdown_list_name].selected_index
  new_page = (element.name == buttons.previous and old_page - 1) or
      (element.name == buttons.next and old_page + 1)
  elements[dropdown_list_name].selected_index = new_page
  minime.writeDebug("Updated page via buttons!")
to this:
-- A button was used to turn the page, so we can calculate the new one.
else
  local elements = main_frame[bottom_flow_name][character_pages_flow_name][character_page_selector_flow_name]
  old_page = elements[dropdown_list_name].selected_index
  local first = 1
  local chars = table_size(p_data.available_characters) - p_data.hidden_characters
  local last = math.ceil(chars/minime_gui.characters_per_page)
  new_page = (element.name == buttons.previous and old_page - 1) or
      (element.name == buttons.next and old_page + 1)
  if new_page < first then
new_page = first
  elseif new_page > last then
new_page = last
  end
  elements[dropdown_list_name].selected_index = new_page
  minime.writeDebug("Updated page via buttons!")
If that doesn't work, please send me a saved game where the crash will occur.