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*,