Bug#931326: gnome-maps: Segfault when looking for a location

Bernhard Übelacker bernhardu at mailbox.org
Wed Jul 3 15:47:43 BST 2019


Dear Maintainer,
I tried to reproduce this issue and received the below backtrace.

This seems the same issue as in following bugs:
    https://bugs.debian.org/924499
    https://bugs.debian.org/928264
(And a few other reported just against current testing.)

Kind regards,
Bernhard



(gdb) bt
#0  0x00007f55dec48cf5 in __GI_____strtol_l_internal (nptr=0x0, endptr=endptr at entry=0x0, base=base at entry=10, group=group at entry=0, loc=0x7f55defac400 <_nl_global_locale>) at ../stdlib/strtol_l.c:293
#1  0x00007f55dec48c82 in __strtol (nptr=<optimized out>, endptr=endptr at entry=0x0, base=base at entry=10) at ../stdlib/strtol.c:106
#2  0x00007f55cdb102b8 in atoi (__nptr=<optimized out>) at /usr/include/stdlib.h:241
#3  0x00007f55cdb102b8 in get_place_type_from_attributes (ht=0x560686ab7640) at geocode-forward.c:750
#4  0x00007f55cdb102b8 in _geocode_create_place_from_attributes (ht=ht at entry=0x560686ab7640) at geocode-forward.c:792
#5  0x00007f55cdb10794 in insert_place_into_tree (ht=0x560686ab7640, place_tree=0x560686c89150) at geocode-forward.c:887
#6  0x00007f55cdb10794 in _geocode_parse_search_json (contents=contents at entry=0x5606856496d0 "[{\"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 at entry=0x7ffcc4223bc0) at geocode-forward.c:999
#7  0x00007f55cdb10ae6 in on_query_data_loaded (session=<optimized out>, query=0x56068748ec80 [SoupMessage], user_data=<optimized out>) at geocode-forward.c:366
#8  0x00007f55cd66f5be in soup_session_process_queue_item (session=<optimized out>, item=0x560686f14880, should_cleanup=<optimized out>, loop=<optimized out>) at soup-session.c:2025
#9  0x00007f55cd66ff42 in async_run_queue (session=session at entry=0x560685530e80 [SoupSession]) at soup-session.c:2065
#10 0x00007f55cd66fff6 in idle_run_queue (user_data=<optimized out>) at soup-session.c:2092
#11 0x00007f55dfd4d6aa in g_main_dispatch (context=0x56068552e130) at ././glib/gmain.c:3203
#12 0x00007f55dfd4d6aa in g_main_context_dispatch (context=context at entry=0x56068552e130) at ././glib/gmain.c:3856
#13 0x00007f55dfd4da60 in g_main_context_iterate (context=context at entry=0x56068552e130, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#14 0x00007f55dfd4db0c in g_main_context_iteration (context=context at entry=0x56068552e130, may_block=may_block at entry=1) at ././glib/gmain.c:3990
#15 0x00007f55dc55f72d in g_application_run (application=0x560685654150 [Gjs_Application], argc=2, argv=0x560685608760) at ././gio/gapplication.c:2381
#16 0x00007f55dea0f038 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#17 0x00007f55dea0ea9a in ffi_call (cif=cif at entry=0x5606859d5cd8, fn=<optimized out>, rvalue=<optimized out>, rvalue at entry=0x7ffcc4224110, avalue=avalue at entry=0x7ffcc4223fe0) at ../src/x86/ffi64.c:525
#18 0x00007f55dfa9c301 in gjs_invoke_c_function(JSContext*, Function*, JSObject*, unsigned int, jsval*, jsval*, GArgument*) (context=context at entry=0x56068554e4f0, function=function at entry=0x5606859d5cc0, obj=obj at entry=0x7f55bce98250, js_argc=js_argc at entry=1, js_argv=js_argv at entry=0x56068558e8f8, js_rval=js_rval at entry=0x7ffcc4224320, r_value=<optimized out>) at gi/function.cpp:999
#19 0x00007f55dfa9da7f in function_call(JSContext*, unsigned int, jsval*) (context=0x56068554e4f0, js_argc=1, vp=0x56068558e8e8) at gi/function.cpp:1323
#20 0x00007f55dbdfe8fc in js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (args=..., native=<optimized out>, cx=0x56068554e4f0) at ./jscntxtinlines.h:321
#21 0x00007f55dbdfe8fc in js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (cx=cx at entry=0x56068554e4f0, args=..., construct=construct at entry=js::NO_CONSTRUCT) at ./js/src/vm/Interpreter.cpp:474
#22 0x00007f55dbdff918 in Interpret(JSContext*, js::RunState&) (cx=cx at entry=0x56068554e4f0, state=...) at ./js/src/vm/Interpreter.cpp:2298
#23 0x00007f55dbe07e78 in js::RunScript(JSContext*, js::RunState&) (cx=cx at entry=0x56068554e4f0, state=...) at ./js/src/vm/Interpreter.cpp:438
#24 0x00007f55dbe08ffa in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::ExecuteType, js::AbstractFramePtr, JS::Value*) (result=0x7ffcc4224ca0, evalInFrame=..., type=js::EXECUTE_GLOBAL, thisv=<synthetic pointer>..., scopeChainArg=..., script=..., cx=0x56068554e4f0) at ./js/src/vm/Interpreter.cpp:622
#25 0x00007f55dbe08ffa in js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) (cx=cx at entry=0x56068554e4f0, script=script at entry=..., scopeChainArg=..., rval=rval at entry=0x7ffcc4224ca0) at ./js/src/vm/Interpreter.cpp:659
#26 0x00007f55dbeb49ed in JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, unsigned short const*, unsigned long, JS::Value*) (cx=cx at entry=0x56068554e4f0, obj=obj at entry=..., options=..., chars=chars at entry=0x5606855c2a50, length=<optimized out>, rval=rval at entry=0x7ffcc4224ca0) at ./js/src/jsapi.cpp:5439
#27 0x00007f55dbeb4afe in JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, char const*, unsigned long, JS::Value*) (cx=cx at entry=0x56068554e4f0, obj=obj at entry=..., options=..., bytes=bytes at entry=0x56068552b41f "imports.package.start({ name: \"gnome-maps\",\n", ' ' <repeats 24 times>, "version: \"3.22.2\",\n", ' ' <repeats 24 times>, "prefix: \"/usr\",\n", ' ' <repeats 24 times>, "libdir: \"/usr/lib/x86_64-linux-gnu\" });\n", length=<optimized out>, rval=rval at entry=0x7ffcc4224ca0) at ./js/src/jsapi.cpp:5469
#28 0x00007f55dfa8f6f6 in gjs_eval_with_scope(JSContext*, JSObject*, char const*, gssize, char const*, jsval*) (context=0x56068554e4f0, object=0x7f55cf636160, object at entry=0x0, script=0x56068552b41f "imports.package.start({ name: \"gnome-maps\",\n", ' ' <repeats 24 times>, "version: \"3.22.2\",\n", ' ' <repeats 24 times>, "prefix: \"/usr\",\n", ' ' <repeats 24 times>, "libdir: \"/usr/lib/x86_64-linux-gnu\" });\n", script at entry=0x56068552b410 "#!/usr/bin/gjs\nimports.package.start({ name: \"gnome-maps\",\n", ' ' <repeats 24 times>, "version: \"3.22.2\",\n", ' ' <repeats 24 times>, "prefix: \"/usr\",\n", ' ' <repeats 24 times>, "libdir: \"/usr/lib/x86_64-linux-gnu"..., script_len=<optimized out>, script_len at entry=206, filename=filename at entry=0x7ffcc4226ad5 "/usr/share/gnome-maps/org.gnome.Maps", retval_p=retval_p at entry=0x7ffcc4224d70) at gjs/jsapi-util.cpp:1325
#29 0x00007f55dfa88263 in gjs_context_eval(GjsContext*, char const*, gssize, char const*, int*, GError**) (js_context=0x560685530000 [GjsContext], script=0x56068552b410 "#!/usr/bin/gjs\nimports.package.start({ name: \"gnome-maps\",\n", ' ' <repeats 24 times>, "version: \"3.22.2\",\n", ' ' <repeats 24 times>, "prefix: \"/usr\",\n", ' ' <repeats 24 times>, "libdir: \"/usr/lib/x86_64-linux-gnu"..., script_len=206, filename=0x7ffcc4226ad5 "/usr/share/gnome-maps/org.gnome.Maps", exit_status_p=0x7ffcc4224dfc, error=0x7ffcc4224e00) at gjs/context.cpp:645
#30 0x00005606851d53e8 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at gjs/console.cpp:146



More information about the pkg-gnome-maintainers mailing list