Bug#928264: [gnome-maps] Gnome Maps crashes as soon as you search for a city.

2019-05-01 Thread Bernhard Übelacker
Control: reassign 928264 libgeocode-glib0 3.20.1-2
Control: tags 928264 + upstream fixed-upstream patch
Control: affects 928264 gnome-maps
Control: fixed 928264 libgeocode-glib0/3.26.1-1


Dear Maintainer,
I just tried to reproduce and hit the segfault below [3].
This seems to be reported in bugs [1],
but just fixed in buster yet.

The upstream patch applies to 3.20.1-2
when the filename is replaced [2].
A package built with that patch does not crash
and shows search results.

Kind regards,
Bernhard


[1]
https://bugs.debian.org/925539
https://bugs.debian.org/924499


[2]
wget 
https://gitlab.gnome.org/GNOME/geocode-glib/commit/e7216583a219df9d9eba21a7fe1b74543b6d5851.patch
 -O ../e7216583a219df9d9eba21a7fe1b74543b6d5851.patch
sed -i 's/geocode-nominatim.c/geocode-forward.c/g' 
../e7216583a219df9d9eba21a7fe1b74543b6d5851-backport.patch
patch -p1 < ../e7216583a219df9d9eba21a7fe1b74543b6d5851-backport.patch


[3]
(gdb) bt
#0  0x7f5ee457fcf5 in __GI_strtol_l_internal (nptr=0x0, 
endptr=endptr@entry=0x0, base=base@entry=10, group=group@entry=0, 
loc=0x7f5ee48e3400 <_nl_global_locale>) at ../stdlib/strtol_l.c:293
#1  0x7f5ee457fc82 in __strtol (nptr=, 
endptr=endptr@entry=0x0, base=base@entry=10) at ../stdlib/strtol.c:106
#2  0x7f5ed33aa2b8 in atoi (__nptr=) at 
/usr/include/stdlib.h:241
#3  0x7f5ed33aa2b8 in get_place_type_from_attributes (ht=0x7f5e3c0022a0) at 
geocode-forward.c:750
#4  0x7f5ed33aa2b8 in _geocode_create_place_from_attributes 
(ht=ht@entry=0x7f5e3c0022a0) at geocode-forward.c:792
#5  0x7f5ed33aa794 in insert_place_into_tree (ht=0x7f5e3c0022a0, 
place_tree=0x561d40d186c0) at geocode-forward.c:887
#6  0x7f5ed33aa794 in _geocode_parse_search_json 
(contents=contents@entry=0x561d407df3c0 
"[{\"place_id\":595794,\"licence\":\"Data © OpenStreetMap contributors, ODbL 
1.0. 
https://osm.org/copyright\",\"osm_type\":\"node\",\"osm_id\":240109189,\"boundingbox\":[\"52.3570365\",\"52.6770365\",\"13.2288599\",\"13.5;...,
 error=error@entry=0x7ffcefb41d80) at geocode-forward.c:999
#7  0x7f5ed33aaae6 in on_query_data_loaded (session=, 
query=0x561d40f7f640 [SoupMessage], user_data=) at 
geocode-forward.c:366
#8  0x7f5ed2f095be in soup_session_process_queue_item (session=, item=0x561d40577390, should_cleanup=, loop=) at soup-session.c:2025
#9  0x7f5ed2f09f42 in async_run_queue (session=session@entry=0x561d3eee3e80 
[SoupSession]) at soup-session.c:2065
#10 0x7f5ed2f09ff6 in idle_run_queue (user_data=) at 
soup-session.c:2092
#11 0x7f5ee56846aa in g_main_dispatch (context=0x561d3eee1650) at 
././glib/gmain.c:3203
#12 0x7f5ee56846aa in g_main_context_dispatch 
(context=context@entry=0x561d3eee1650) at ././glib/gmain.c:3856
#13 0x7f5ee5684a60 in g_main_context_iterate 
(context=context@entry=0x561d3eee1650, block=block@entry=1, 
dispatch=dispatch@entry=1, self=) at ././glib/gmain.c:3929
#14 0x7f5ee5684b0c in g_main_context_iteration 
(context=context@entry=0x561d3eee1650, may_block=may_block@entry=1) at 
././glib/gmain.c:3990
#15 0x7f5ee1e9672d in g_application_run (application=0x561d3f006150 
[Gjs_Application], argc=1, argv=0x561d3efbb780) at ././gio/gapplication.c:2381
#16 0x7f5ee4346038 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#17 0x7f5ee4345a9a in ffi_call (cif=cif@entry=0x561d3f388598, fn=, rvalue=, rvalue@entry=0x7ffcefb422d0, 
avalue=avalue@entry=0x7ffcefb421a0) at ../src/x86/ffi64.c:525
#18 0x7f5ee53d3301 in gjs_invoke_c_function(JSContext*, Function*, 
JSObject*, unsigned int, jsval*, jsval*, GArgument*) 
(context=context@entry=0x561d3eef4170, function=function@entry=0x561d3f388580, 
obj=obj@entry=0x7f5ec2898250, js_argc=js_argc@entry=1, 
js_argv=js_argv@entry=0x561d3ef41928, js_rval=js_rval@entry=0x7ffcefb424e0, 
r_value=) at gi/function.cpp:999
#19 0x7f5ee53d4a7f in function_call(JSContext*, unsigned int, jsval*) 
(context=0x561d3eef4170, js_argc=1, vp=0x561d3ef41918) at gi/function.cpp:1323
#20 0x7f5ee17358fc in js::CallJSNative(JSContext*, int (*)(JSContext*, 
unsigned int, JS::Value*), JS::CallArgs const&) (args=..., native=, cx=0x561d3eef4170) at ./jscntxtinlines.h:321
#21 0x7f5ee17358fc in js::Invoke(JSContext*, JS::CallArgs, 
js::MaybeConstruct) (cx=cx@entry=0x561d3eef4170, args=..., 
construct=construct@entry=js::NO_CONSTRUCT) at ./js/src/vm/Interpreter.cpp:474
#22 0x7f5ee1736918 in Interpret(JSContext*, js::RunState&) 
(cx=cx@entry=0x561d3eef4170, state=...) at ./js/src/vm/Interpreter.cpp:2298
#23 0x7f5ee173ee78 in js::RunScript(JSContext*, js::RunState&) 
(cx=cx@entry=0x561d3eef4170, state=...) at ./js/src/vm/Interpreter.cpp:438
#24 0x7f5ee173fffa in js::ExecuteKernel(JSContext*, JS::Handle, 
JSObject&, JS::Value const&, js::ExecuteType, js::AbstractFramePtr, JS::Value*) 
(result=0x7ffcefb42e60, evalInFrame=..., type=js::EXECUTE_GLOBAL, 
thisv=..., scopeChainArg=..., script=..., cx=0x561d3eef4170) 
at ./js/src/vm/Interpreter.cpp:622
#25 0x7f5ee173fffa in js::Execute(JSContext*, 

Bug#928264: [gnome-maps] Gnome Maps crashes as soon as you search for a city.

2019-04-30 Thread ervindinez
Package: gnome-maps
Version: 3.22.2
Severity: serious
Tags: patch

--- Please enter the report below this line. ---
Now Gnome Maps crashes as soon as you search for a city, any type of
city. 
This behavior was not present before. My system is default, nothing
strange, nothing out of the ordinary, no package installed from non-
official Debian repositories, the system is freshly installed with all
default applications. 


--- System information. ---
Architecture: 
Kernel:   Linux 4.9.0-9-amd64

Debian Release: 9.9
  500 stable-updates  ftp.de.debian.org 
  500 stable  security.debian.org 
  500 stable  ftp.de.debian.org 

--- Package information. ---
Depends  (Version) | Installed
==-+-==
geoclue-2.0   (>= 2.0) | 2.4.5-1
gir1.2-champlain-0.12  | 0.12.15-1
gir1.2-clutter-1.0 | 1.26.0+dfsg-3
gir1.2-cogl-1.0| 1.22.2-2
gir1.2-gdkpixbuf-2.0   | 2.36.5-2+deb9u2
gir1.2-geoclue-2.0 | 2.4.5-1
gir1.2-geocodeglib-1.0 (>= 3.15.2) | 3.20.1-2
gir1.2-glib-2.0  (>= 1.41) | 1.50.0-1+b1
gir1.2-goa-1.0 | 3.22.5-1
gir1.2-gtk-3.0   (>= 3.10) | 3.22.11-1
gir1.2-gtkchamplain-0.12   | 0.12.15-1
gir1.2-gtkclutter-1.0  | 1.8.2-2
gir1.2-gfbgraph-0.2| 0.2.3-1+b2
gir1.2-gweather-3.0| 3.20.4-1
gir1.2-rest-0.7| 0.8.0-2
gir1.2-secret-1| 0.18.5-3.1
gir1.2-soup-2.4| 2.56.0-2+deb9u2
gir1.2-webkit2-4.0 | 2.18.6-1~deb9u1
gjs(>= 1.44.0) | 1.46.0-1+b2
libglib2.0-bin   (>= 2.40.0-3) | 2.50.3-2
dconf-gsettings-backend| 0.26.0-2+b1
 OR gsettings-backend  | 
libatk1.0-0(>= 1.12.4) | 2.22.0-1
libc6 (>= 2.4) | 2.24-11+deb9u4
libcairo-gobject2  (>= 1.10.0) | 1.14.8-1
libcairo2   (>= 1.2.4) | 1.14.8-1
libchamplain-0.12-0(>= 0.11.0) | 0.12.15-1
libclutter-1.0-0   (>= 1.10.0) | 1.26.0+dfsg-3
libcogl-pango20(>= 1.17.4) | 1.22.2-2
libcogl-path20 (>= 1.17.4) | 1.22.2-2
libcogl20  (>= 1.17.4) | 1.22.2-2
libdrm2 (>= 2.3.1) | 2.4.74-1
libegl1-mesa   (>= 7.8.1)  | 13.0.6-1+b2
 OR libegl1-x11| 
libfolks25  (>= 0.9.7) | 0.11.3-2
libgbm1(>= 7.11~1) | 13.0.6-1+b2
libgdk-pixbuf2.0-0 (>= 2.22.0) | 2.36.5-2+deb9u2
libgee-0.8-2(>= 0.8.3) | 0.18.1-1
libgeocode-glib0   (>= 3.16.2) | 3.20.1-2
libglib2.0-0  (>= 2.43.91) | 2.50.3-2
libgtk-3-0 (>= 3.15.9) | 3.22.11-1
libjson-glib-1.0-0 (>= 0.12.0) | 1.2.6-1
libpango-1.0-0 (>= 1.14.0) | 1.40.5-1
libpangocairo-1.0-0(>= 1.14.0) | 1.40.5-1
librest-0.7-0 (>= 0.7) | 0.8.0-2
libsoup2.4-1(>= 2.4.0) | 2.56.0-2+deb9u2
libwayland-client0  (>= 1.0.2) | 1.12.0-1+deb9u1
libwayland-cursor0  (>= 1.0.2) | 1.12.0-1+deb9u1
libwayland-egl1-mesa  (>= 10.0.2)  | 13.0.6-1+b2
 OR libwayland-egl1| 
libwayland-server0  (>= 1.0.2) | 1.12.0-1+deb9u1
libx11-6   | 2:1.6.4-3+deb9u1
libxcomposite1(>= 1:0.3-1) | 1:0.4.4-2
libxdamage1 (>= 1:1.1) | 1:1.1.4-2+b3
libxext6   | 2:1.3.3-1+b2
libxfixes3 | 1:5.0.3-1
libxi6 | 2:1.7.9-1
libxkbcommon0   (>= 0.5.0) | 0.7.1-2~deb9u1
libxml2 (>= 2.7.4) | 2.9.4+dfsg1-2.2+deb9u2
libxrandr2 | 2:1.5.1-1


Package's Recommends field is empty.

Package's Suggests field is empty.