Bug#924499: libgeocode-glib0: Segfault in _geocode_create_place_from_attributes

2019-03-14 Thread Marcus Lundblad
Hi!

This is due to Nominatim changing the JSON format (with integer values
(without "") for the osm_id attributes (in some cases)). This has been
fixed upstream in git and it should be more "forgiving" of these
things.

//Marcus



Bug#924499: libgeocode-glib0: Segfault in _geocode_create_place_from_attributes

2019-03-13 Thread Ben Hutchings
Package: libgeocode-glib0
Version: 3.20.1-2
Severity: important

A location search for "middle" in GNOME Maps consistently causes it to
crash (SIGSEGV signal), with the following call stack:

(gdb) bt
#0  0x767b7cf5 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7fffe96752b8 in _geocode_create_place_from_attributes ()
   from /usr/lib/x86_64-linux-gnu/libgeocode-glib.so.0
#2  0x7fffe9675794 in _geocode_parse_search_json ()
   from /usr/lib/x86_64-linux-gnu/libgeocode-glib.so.0
#3  0x7fffe9675ae6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgeocode-glib.so.0
#4  0x7fffe91d45be in ?? () from /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#5  0x7fffe91d4f42 in ?? () from /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#6  0x7fffe91d4ff6 in ?? () from /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#7  0x778bc6aa in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x778bca60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x778bcb0c in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x740ce72d in g_application_run ()
   from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x7657e038 in ffi_call_unix64 ()
   from /usr/lib/x86_64-linux-gnu/libffi.so.6
#12 0x7657da9a in ffi_call ()
   from /usr/lib/x86_64-linux-gnu/libffi.so.6
#13 0x7760b301 in ?? () from /usr/lib/libgjs.so.0
#14 0x7760ca7f in ?? () from /usr/lib/libgjs.so.0
#15 0x7396d8fc in ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0
#16 0x7396e918 in ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0
#17 0x73976e78 in ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0
#18 0x73977ffa in ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0
#19 0x73a239ed in JS::Evaluate(JSContext*, JS::Handle, 
JS::CompileOptions, unsigned short const*, unsigned long, JS::Value*) ()
   from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0
#20 0x73a23afe in JS::Evaluate(JSContext*, JS::Handle, 
JS::CompileOptions, char const*, unsigned long, JS::Value*) ()
   from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0
#21 0x775fe6f6 in gjs_eval_with_scope () from /usr/lib/libgjs.so.0
#22 0x775f7263 in gjs_context_eval () from /usr/lib/libgjs.so.0
#23 0x53e8 in main ()

-- System Information:
Debian Release: 9.8
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgeocode-glib0 depends on:
ii  libc6   2.24-11+deb9u4
ii  libglib2.0-02.50.3-2
ii  libjson-glib-1.0-0  1.2.6-1
ii  libsoup2.4-12.56.0-2+deb9u2

libgeocode-glib0 recommends no packages.

libgeocode-glib0 suggests no packages.

-- no debconf information

-- 
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
 Manchester, M1 2HF, United Kingdom