← Back to team overview

touch-packages team mailing list archive

[Bug 1265602] Re: [PATCH] Please fix libjsoncpp Ubuntu packages (fixes minetest game crash when browsing "Public Serverlist")

 

This is a bug in libjsoncpp which affects Minetest in a rather serious
way since it it is impossible to use the public server list and to play
online with other people. The issue is already fixed in the latest
version of libjsoncpp.

** Package changed: minetest (Ubuntu) => libjsoncpp (Ubuntu)

** Also affects: minetest (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: minetest (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libjsoncpp in Ubuntu.
https://bugs.launchpad.net/bugs/1265602

Title:
  [PATCH] Please fix libjsoncpp Ubuntu packages (fixes minetest game
  crash when browsing "Public Serverlist")

Status in “libjsoncpp” package in Ubuntu:
  Confirmed
Status in “minetest” package in Ubuntu:
  Confirmed
Status in “libjsoncpp” package in Debian:
  Fix Released

Bug description:
  Minetest package is buggy in Ubuntu Trusty and Saucy (crashes when selecting Client->"Public Serverlist" and doesn't work Mods->"Online mod repository") and outdated - new minetest 0.4.9 was released few days ago.
  0.4.9 release contains some improvements and bugfixes.
  It would be nice if new Minetest 0.4.9 packages wouldn't crash when selecting Client->"Public Serverlist" and show no error when pressing Mods->"Online mod repository" in startup screen.

  0.4.8 → 0.4.9 New Features
  Logistic changes
      SQLite rollback (Mario Barrera & ShadowNinja)
      Implement HTTPFetch (kahrl)
      Replace SimpleThread with JThread (sapier) 
  Visual changes
      Shaders rework (RealBadAngel)
      Add configurable font shadow (xyz)
      Directional fog + horizon colors (Taoki) 
  Other things
      Implement modstore search tab and version picker (sapier) 

  Bug Fixes
   Fix line_of_sight() (sapier)
   Fix modstore/favourites hang by adding asynchronous Lua (sapier)
   Fix LevelDB maps (sfan5)
   Fix Lua mapgen override param handling (kwolekr)
   Fix leak and possible segfault in minetest.set_mapgen_params (kwolekr)
   Fix segfault in indev cave generation due to uninitialized variable (kwolekr)
   Check if width, height or start index of a list[] is negative (PilzAdam)
   Fix single character formspec field labels (BlockMen)
   Handle Lua errors in on_generate callbacks instead of throwing SIGABRT (kwolekr)
   Update mapgen params in ServerMap after Mapgen init (kwolekr) 

  Modding-related Changes
   Add area parameters back to calc_lighting() and set_lighting() (kwolekr)
   Add get_light_data() and set_light_data() to LuaVoxelManip (kwolekr)
   Add minetest.swap_node (Novatux)
   Assume a selection box for fences (0gb.us)
   Decoration: Add schematic Y-slice probability support (kwolekr)
   Add sneak and sneak_glitch in set_physics_override() (PilzAdam)
   Use a table in set_physics_override() (PilzAdam)
   Add 'on_prejoinplayer' callback (kaeza)
   Make line_of_sight return blocking node position (stujones11)
   Remove support for optdepends.txt (ShadowNinja)
   Add map feature generation notify Lua API (kwolekr) 

  See http://dev.minetest.net/Changelog

  Also I'm pasting terminal output after 0.4.8+repack2-3 crash when selecting Client->"Public Serverlist":
  (crashes only official Ubuntu/Debian packages, but deb packages from https://launchpad.net/~minetestdevs/+archive/stable works fine)
  baltix@ubuntu:~$ minetest
  Irrlicht Engine version 1.8.0
  Linux 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64
  Using renderer: OpenGL 3.0
  Mesa DRI Intel(R) Haswell Server : Intel Open Source Technology Center
  OpenGL driver version is 1.2 or better.
  GLSL version: 1.3
  Loaded texture: /usr/share/games/minetest/games/minetest_game/menu/header.png
  Loaded texture: /usr/share/games/minetest/games/minetest_game/menu/icon.png

  19:42:47: ERROR[main]: MAINMENU ERROR: LuaError: C++ exception
  19:42:48: ERROR[main]: ========== ERROR FROM LUA ===========
  19:42:48: ERROR[main]: Failed to load and run script from 
  19:42:48: ERROR[main]: /usr/share/games/minetest/builtin/mainmenu.lua:
  19:42:48: ERROR[main]: C++ exception
  19:42:48: ERROR[main]: ======= END OF ERROR FROM LUA ========
  19:42:48: ERROR[main]: GUIEngine: unable to load builtin menu

  In thread 7f9f3eadc7c0:
  /build/buildd/minetest-0.4.8+repack2/src/guiEngine.cpp:199: GUIEngine::GUIEngine(irr::IrrlichtDevice*, irr::gui::IGUIElement*, IMenuManager*, irr::scene::ISceneManager*, MainMenuData*, bool&): Assertion '"no future without mainmenu" == 0' failed.
  Debug stacks:
  DEBUG STACK FOR THREAD 7f9f3eadc7c0:
  #0  int main(int, char**)
  Aborted (core dumped)
  baltix@ubuntu:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libjsoncpp/+bug/1265602/+subscriptions