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 0x00007f5ee457fcf5 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 0x00007f5ee457fc82 in __strtol (nptr=<optimized out>, endptr=endptr@entry=0x0, base=base@entry=10) at ../stdlib/strtol.c:106 #2 0x00007f5ed33aa2b8 in atoi (__nptr=<optimized out>) at /usr/include/stdlib.h:241 #3 0x00007f5ed33aa2b8 in get_place_type_from_attributes (ht=0x7f5e3c0022a0) at geocode-forward.c:750 #4 0x00007f5ed33aa2b8 in _geocode_create_place_from_attributes (ht=ht@entry=0x7f5e3c0022a0) at geocode-forward.c:792 #5 0x00007f5ed33aa794 in insert_place_into_tree (ht=0x7f5e3c0022a0, place_tree=0x561d40d186c0) at geocode-forward.c:887 #6 0x00007f5ed33aa794 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 0x00007f5ed33aaae6 in on_query_data_loaded (session=<optimized out>, query=0x561d40f7f640 [SoupMessage], user_data=<optimized out>) at geocode-forward.c:366 #8 0x00007f5ed2f095be in soup_session_process_queue_item (session=<optimized out>, item=0x561d40577390, should_cleanup=<optimized out>, loop=<optimized out>) at soup-session.c:2025 #9 0x00007f5ed2f09f42 in async_run_queue (session=session@entry=0x561d3eee3e80 [SoupSession]) at soup-session.c:2065 #10 0x00007f5ed2f09ff6 in idle_run_queue (user_data=<optimized out>) at soup-session.c:2092 #11 0x00007f5ee56846aa in g_main_dispatch (context=0x561d3eee1650) at ././glib/gmain.c:3203 #12 0x00007f5ee56846aa in g_main_context_dispatch (context=context@entry=0x561d3eee1650) at ././glib/gmain.c:3856 #13 0x00007f5ee5684a60 in g_main_context_iterate (context=context@entry=0x561d3eee1650, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929 #14 0x00007f5ee5684b0c in g_main_context_iteration (context=context@entry=0x561d3eee1650, may_block=may_block@entry=1) at ././glib/gmain.c:3990 #15 0x00007f5ee1e9672d in g_application_run (application=0x561d3f006150 [Gjs_Application], argc=1, argv=0x561d3efbb780) at ././gio/gapplication.c:2381 #16 0x00007f5ee4346038 in ffi_call_unix64 () at ../src/x86/unix64.S:76 #17 0x00007f5ee4345a9a in ffi_call (cif=cif@entry=0x561d3f388598, fn=<optimized out>, rvalue=<optimized out>, rvalue@entry=0x7ffcefb422d0, avalue=avalue@entry=0x7ffcefb421a0) at ../src/x86/ffi64.c:525 #18 0x00007f5ee53d3301 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=<optimized out>) at gi/function.cpp:999 #19 0x00007f5ee53d4a7f in function_call(JSContext*, unsigned int, jsval*) (context=0x561d3eef4170, js_argc=1, vp=0x561d3ef41918) at gi/function.cpp:1323 #20 0x00007f5ee17358fc in js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (args=..., native=<optimized out>, cx=0x561d3eef4170) at ./jscntxtinlines.h:321 #21 0x00007f5ee17358fc 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 0x00007f5ee1736918 in Interpret(JSContext*, js::RunState&) (cx=cx@entry=0x561d3eef4170, state=...) at ./js/src/vm/Interpreter.cpp:2298 #23 0x00007f5ee173ee78 in js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x561d3eef4170, state=...) at ./js/src/vm/Interpreter.cpp:438 #24 0x00007f5ee173fffa in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::ExecuteType, js::AbstractFramePtr, JS::Value*) (result=0x7ffcefb42e60, evalInFrame=..., type=js::EXECUTE_GLOBAL, thisv=<synthetic pointer>..., scopeChainArg=..., script=..., cx=0x561d3eef4170) at ./js/src/vm/Interpreter.cpp:622 #25 0x00007f5ee173fffa in js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) (cx=cx@entry=0x561d3eef4170, script=script@entry=..., scopeChainArg=..., rval=rval@entry=0x7ffcefb42e60) at ./js/src/vm/Interpreter.cpp:659 #26 0x00007f5ee17eb9ed in JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, unsigned short const*, unsigned long, JS::Value*) (cx=cx@entry=0x561d3eef4170, obj=obj@entry=..., options=..., chars=chars@entry=0x561d3ef75650, length=<optimized out>, rval=rval@entry=0x7ffcefb42e60) at ./js/src/jsapi.cpp:5439 #27 0x00007f5ee17ebafe in JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, char const*, unsigned long, JS::Value*) (cx=cx@entry=0x561d3eef4170, obj=obj@entry=..., options=..., bytes=bytes@entry=0x561d3eede41f "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@entry=0x7ffcefb42e60) at ./js/src/jsapi.cpp:5469 #28 0x00007f5ee53c66f6 in gjs_eval_with_scope(JSContext*, JSObject*, char const*, gssize, char const*, jsval*) (context=0x561d3eef4170, object=0x7f5ed9236160, object@entry=0x0, script=0x561d3eede41f "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@entry=0x561d3eede410 "#!/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@entry=206, filename=filename@entry=0x7ffcefb4357b "/usr/bin/gnome-maps", retval_p=retval_p@entry=0x7ffcefb42f30) at gjs/jsapi-util.cpp:1325 #29 0x00007f5ee53bf263 in gjs_context_eval(GjsContext*, char const*, gssize, char const*, int*, GError**) (js_context=0x561d3eee3000 [GjsContext], script=0x561d3eede410 "#!/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=0x7ffcefb4357b "/usr/bin/gnome-maps", exit_status_p=0x7ffcefb42fbc, error=0x7ffcefb42fc0) at gjs/context.cpp:645 #30 0x0000561d3e36d3e8 in main ()
# Stretch amd64 qemu VM 2019-05-01 apt update apt dist-upgrade apt install systemd-coredump xserver-xorg gdm3 gnome tmux gdb fakeroot gnome-maps gnome-maps-dbgsym libgjs0e-dbgsym libmozjs-24-0-dbg libffi6-dbg libglib2.0-0-dbg libsoup2.4-1-dbgsym libgeocode-glib0-dbgsym apt build-dep libgeocode-glib0 reboot mkdir /home/benutzer/source/libgeocode-glib0/orig -p cd /home/benutzer/source/libgeocode-glib0/orig apt source libgeocode-glib0 cd # login # terminal gnome-maps # search "berlin" benutzer@debian:~$ gnome-maps (gnome-maps:1792): Gtk-WARNING **: Theme parsing error: application.css:14:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version (gnome-maps:1792): Gtk-WARNING **: Theme parsing error: application.css:15:31: The style property GtkWidget:interior-focus is deprecated and shouldn't be used anymore. It will be removed in a future version Speicherzugriffsfehler (Speicherabzug geschrieben) ######### root@debian:~# coredumpctl list TIME PID UID GID SIG COREFILE EXE Wed 2019-05-01 13:35:46 CEST 1792 1000 1000 11 present /usr/bin/gjs-console root@debian:~# coredumpctl gdb 1792 PID: 1792 (gnome-maps) UID: 1000 (benutzer) GID: 1000 (benutzer) Signal: 11 (SEGV) Timestamp: Wed 2019-05-01 13:35:45 CEST (2min 1s ago) Command Line: /usr/bin/gjs /usr/bin/gnome-maps Executable: /usr/bin/gjs-console Control Group: /user.slice/user-1000.slice/user@1000.service/gnome-terminal-server.service Unit: user@1000.service User Unit: gnome-terminal-server.service Slice: user-1000.slice Owner UID: 1000 (benutzer) Boot ID: e6a7c99575a24bf28edeb65bf95b507b Machine ID: 9e5901179cfe4b73bc18669e6a6e0ab9 Hostname: debian Storage: /var/lib/systemd/coredump/core.gnome-maps.1000.e6a7c99575a24bf28edeb65bf95b507b.1792.1556710545000000000000.lz4 Message: Process 1792 (gnome-maps) of user 1000 dumped core. Stack trace of thread 1792: #0 0x00007f5ee457fcf5 n/a (libc.so.6) #1 0x00007f5ed33aa2b8 _geocode_create_place_from_attributes (libgeocode-glib.so.0) #2 0x00007f5ed33aa794 _geocode_parse_search_json (libgeocode-glib.so.0) #3 0x00007f5ed33aaae6 n/a (libgeocode-glib.so.0) #4 0x00007f5ed2f095be n/a (libsoup-2.4.so.1) #5 0x00007f5ed2f09f42 n/a (libsoup-2.4.so.1) #6 0x00007f5ed2f09ff6 n/a (libsoup-2.4.so.1) #7 0x00007f5ee56846aa g_main_context_dispatch (libglib-2.0.so.0) #8 0x00007f5ee5684a60 n/a (libglib-2.0.so.0) #9 0x00007f5ee5684b0c g_main_context_iteration (libglib-2.0.so.0) #10 0x00007f5ee1e9672d g_application_run (libgio-2.0.so.0) #11 0x00007f5ee4346038 ffi_call_unix64 (libffi.so.6) #12 0x00007f5ee4345a9a ffi_call (libffi.so.6) #13 0x00007f5ee53d3301 n/a (libgjs.so.0) #14 0x00007f5ee53d4a7f n/a (libgjs.so.0) #15 0x00007f5ee17358fc n/a (libmozjs-24.so.0) #16 0x00007f5ee1736918 n/a (libmozjs-24.so.0) #17 0x00007f5ee173ee78 n/a (libmozjs-24.so.0) #18 0x00007f5ee173fffa n/a (libmozjs-24.so.0) #19 0x00007f5ee17eb9ed _ZN2JS8EvaluateEP9JSContextNS_6HandleIP8JSObjectEENS_14CompileOptionsEPKtmPNS_5ValueE (libmozjs-24.so.0) #20 0x00007f5ee17ebafe _ZN2JS8EvaluateEP9JSContextNS_6HandleIP8JSObjectEENS_14CompileOptionsEPKcmPNS_5ValueE (libmozjs-24.so.0) #21 0x00007f5ee53c66f6 gjs_eval_with_scope (libgjs.so.0) #22 0x00007f5ee53bf263 gjs_context_eval (libgjs.so.0) #23 0x0000561d3e36d3e8 main (gjs-console) #24 0x00007f5ee45692e1 __libc_start_main (libc.so.6) #25 0x0000561d3e36d4ea _start (gjs-console) Stack trace of thread 1794: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5edd1fcc00 PR_WaitCondVar (libnspr4.so) #2 0x00007f5ee18c0fab n/a (libmozjs-24.so.0) #3 0x00007f5edd202549 n/a (libnspr4.so) #4 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #5 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1799: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5e727e3c33 n/a (swrast_dri.so) #2 0x00007f5e727e3a97 n/a (swrast_dri.so) #3 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #4 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1816: #0 0x00007f5ee46288bd __poll (libc.so.6) #1 0x00007f5ee56849f6 n/a (libglib-2.0.so.0) #2 0x00007f5ee5684d82 g_main_loop_run (libglib-2.0.so.0) #3 0x00007f5e53abd1b3 n/a (libebook-1.2.so.16) #4 0x00007f5ee56ac3d5 n/a (libglib-2.0.so.0) #5 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #6 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1825: #0 0x00007f5ee462d469 syscall (libc.so.6) #1 0x00007f5ee56ca36a g_cond_wait_until (libglib-2.0.so.0) #2 0x00007f5ee5658e89 n/a (libglib-2.0.so.0) #3 0x00007f5ee56594ac g_async_queue_timeout_pop (libglib-2.0.so.0) #4 0x00007f5ee56ace9d n/a (libglib-2.0.so.0) #5 0x00007f5ee56ac3d5 n/a (libglib-2.0.so.0) #6 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #7 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1805: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5e727e3c33 n/a (swrast_dri.so) #2 0x00007f5e727e3a97 n/a (swrast_dri.so) #3 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #4 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1793: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5edd1fcc00 PR_WaitCondVar (libnspr4.so) #2 0x00007f5ee184d36e n/a (libmozjs-24.so.0) #3 0x00007f5edd202549 n/a (libnspr4.so) #4 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #5 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1796: #0 0x00007f5ee46288bd __poll (libc.so.6) #1 0x00007f5ee56849f6 n/a (libglib-2.0.so.0) #2 0x00007f5ee5684d82 g_main_loop_run (libglib-2.0.so.0) #3 0x00007f5ee1ec2656 n/a (libgio-2.0.so.0) #4 0x00007f5ee56ac3d5 n/a (libglib-2.0.so.0) #5 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #6 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1804: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5e727e3c33 n/a (swrast_dri.so) #2 0x00007f5e727e3a97 n/a (swrast_dri.so) #3 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #4 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1798: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5ee50d450c _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE (libstdc++.so.6) #2 0x00007f5eb856abaf _ZN7bmalloc9Scavenger13threadRunLoopEv (libjavascriptcoregtk-4.0.so.18) #3 0x00007f5ee50d9e6f n/a (libstdc++.so.6) #4 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #5 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1803: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5e727e3c33 n/a (swrast_dri.so) #2 0x00007f5e727e3a97 n/a (swrast_dri.so) #3 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #4 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1801: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5e727e3c33 n/a (swrast_dri.so) #2 0x00007f5e727e3a97 n/a (swrast_dri.so) #3 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #4 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1795: #0 0x00007f5ee46288bd __poll (libc.so.6) #1 0x00007f5ee56849f6 n/a (libglib-2.0.so.0) #2 0x00007f5ee5684b0c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f5ee5684b51 n/a (libglib-2.0.so.0) #4 0x00007f5ee56ac3d5 n/a (libglib-2.0.so.0) #5 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #6 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1800: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5e727e3c33 n/a (swrast_dri.so) #2 0x00007f5e727e3a97 n/a (swrast_dri.so) #3 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #4 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1815: #0 0x00007f5ee46288bd __poll (libc.so.6) #1 0x00007f5ee56849f6 n/a (libglib-2.0.so.0) #2 0x00007f5ee5684d82 g_main_loop_run (libglib-2.0.so.0) #3 0x00007f5e53d83b27 n/a (libedataserver-1.2.so.22) #4 0x00007f5ee56ac3d5 n/a (libglib-2.0.so.0) #5 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #6 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1802: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5e727e3c33 n/a (swrast_dri.so) #2 0x00007f5e727e3a97 n/a (swrast_dri.so) #3 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #4 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1797: #0 0x00007f5ee46288bd __poll (libc.so.6) #1 0x00007f5ee56849f6 n/a (libglib-2.0.so.0) #2 0x00007f5ee5684b0c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f5ec35b346d n/a (libdconfsettings.so) #4 0x00007f5ee56ac3d5 n/a (libglib-2.0.so.0) #5 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #6 0x00007f5ee4631d0f __clone (libc.so.6) Stack trace of thread 1806: #0 0x00007f5ee48f517f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f5e727e3c33 n/a (swrast_dri.so) #2 0x00007f5e727e3a97 n/a (swrast_dri.so) #3 0x00007f5ee48ef4a4 start_thread (libpthread.so.0) #4 0x00007f5ee4631d0f __clone (libc.so.6) GNU gdb (Debian 7.12-6) 7.12.0.20161007-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/gjs-console...(no debugging symbols found)...done. warning: core file may not match specified executable file. [New LWP 1792] [New LWP 1794] [New LWP 1799] [New LWP 1816] [New LWP 1825] [New LWP 1805] [New LWP 1793] [New LWP 1796] [New LWP 1804] [New LWP 1798] [New LWP 1803] [New LWP 1801] [New LWP 1795] [New LWP 1800] [New LWP 1815] [New LWP 1802] [New LWP 1797] [New LWP 1806] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/bin/gjs /usr/bin/gnome-maps'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __GI_____strtol_l_internal (nptr=0x0, endptr=0x0, base=10, group=<optimized out>, loc=0x7f5ee48e3400 <_nl_global_locale>) at ../stdlib/strtol_l.c:293 293 ../stdlib/strtol_l.c: Datei oder Verzeichnis nicht gefunden. [Current thread is 1 (Thread 0x7f5ee5d00a80 (LWP 1792))] (gdb) set width 0 (gdb) set pagination off (gdb) bt #0 __GI_____strtol_l_internal (nptr=0x0, endptr=0x0, base=10, group=<optimized out>, loc=0x7f5ee48e3400 <_nl_global_locale>) at ../stdlib/strtol_l.c:293 #1 0x00007f5ed33aa2b8 in _geocode_create_place_from_attributes () from /usr/lib/x86_64-linux-gnu/libgeocode-glib.so.0 #2 0x00007f5ed33aa794 in _geocode_parse_search_json () from /usr/lib/x86_64-linux-gnu/libgeocode-glib.so.0 #3 0x00007f5ed33aaae6 in ?? () from /usr/lib/x86_64-linux-gnu/libgeocode-glib.so.0 #4 0x00007f5ed2f095be in ?? () from /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1 #5 0x00007f5ed2f09f42 in ?? () from /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1 #6 0x00007f5ed2f09ff6 in ?? () from /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1 #7 0x00007f5ee56846aa in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007f5ee5684a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x00007f5ee5684b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x00007f5ee1e9672d in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #11 0x00007f5ee4346038 in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 #12 0x00007f5ee4345a9a in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6 #13 0x00007f5ee53d3301 in ?? () from /usr/lib/libgjs.so.0 #14 0x00007f5ee53d4a7f in ?? () from /usr/lib/libgjs.so.0 #15 0x00007f5ee17358fc in ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0 #16 0x00007f5ee1736918 in ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0 #17 0x00007f5ee173ee78 in ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0 #18 0x00007f5ee173fffa in ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0 #19 0x00007f5ee17eb9ed in JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, unsigned short const*, unsigned long, JS::Value*) () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0 #20 0x00007f5ee17ebafe in JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, char const*, unsigned long, JS::Value*) () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0 #21 0x00007f5ee53c66f6 in gjs_eval_with_scope () from /usr/lib/libgjs.so.0 #22 0x00007f5ee53bf263 in gjs_context_eval () from /usr/lib/libgjs.so.0 #23 0x0000561d3e36d3e8 in main () # With dbgsym packages: Core was generated by `/usr/bin/gjs /usr/bin/gnome-maps'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __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 293 ../stdlib/strtol_l.c: Datei oder Verzeichnis nicht gefunden. [Current thread is 1 (Thread 0x7f5ee5d00a80 (LWP 1792))] (gdb) set width 0 (gdb) set pagination off (gdb) bt #0 0x00007f5ee457fcf5 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 0x00007f5ee457fc82 in __strtol (nptr=<optimized out>, endptr=endptr@entry=0x0, base=base@entry=10) at ../stdlib/strtol.c:106 #2 0x00007f5ed33aa2b8 in atoi (__nptr=<optimized out>) at /usr/include/stdlib.h:241 #3 0x00007f5ed33aa2b8 in get_place_type_from_attributes (ht=0x7f5e3c0022a0) at geocode-forward.c:750 #4 0x00007f5ed33aa2b8 in _geocode_create_place_from_attributes (ht=ht@entry=0x7f5e3c0022a0) at geocode-forward.c:792 #5 0x00007f5ed33aa794 in insert_place_into_tree (ht=0x7f5e3c0022a0, place_tree=0x561d40d186c0) at geocode-forward.c:887 #6 0x00007f5ed33aa794 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 0x00007f5ed33aaae6 in on_query_data_loaded (session=<optimized out>, query=0x561d40f7f640 [SoupMessage], user_data=<optimized out>) at geocode-forward.c:366 #8 0x00007f5ed2f095be in soup_session_process_queue_item (session=<optimized out>, item=0x561d40577390, should_cleanup=<optimized out>, loop=<optimized out>) at soup-session.c:2025 #9 0x00007f5ed2f09f42 in async_run_queue (session=session@entry=0x561d3eee3e80 [SoupSession]) at soup-session.c:2065 #10 0x00007f5ed2f09ff6 in idle_run_queue (user_data=<optimized out>) at soup-session.c:2092 #11 0x00007f5ee56846aa in g_main_dispatch (context=0x561d3eee1650) at ././glib/gmain.c:3203 #12 0x00007f5ee56846aa in g_main_context_dispatch (context=context@entry=0x561d3eee1650) at ././glib/gmain.c:3856 #13 0x00007f5ee5684a60 in g_main_context_iterate (context=context@entry=0x561d3eee1650, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929 #14 0x00007f5ee5684b0c in g_main_context_iteration (context=context@entry=0x561d3eee1650, may_block=may_block@entry=1) at ././glib/gmain.c:3990 #15 0x00007f5ee1e9672d in g_application_run (application=0x561d3f006150 [Gjs_Application], argc=1, argv=0x561d3efbb780) at ././gio/gapplication.c:2381 #16 0x00007f5ee4346038 in ffi_call_unix64 () at ../src/x86/unix64.S:76 #17 0x00007f5ee4345a9a in ffi_call (cif=cif@entry=0x561d3f388598, fn=<optimized out>, rvalue=<optimized out>, rvalue@entry=0x7ffcefb422d0, avalue=avalue@entry=0x7ffcefb421a0) at ../src/x86/ffi64.c:525 #18 0x00007f5ee53d3301 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=<optimized out>) at gi/function.cpp:999 #19 0x00007f5ee53d4a7f in function_call(JSContext*, unsigned int, jsval*) (context=0x561d3eef4170, js_argc=1, vp=0x561d3ef41918) at gi/function.cpp:1323 #20 0x00007f5ee17358fc in js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (args=..., native=<optimized out>, cx=0x561d3eef4170) at ./jscntxtinlines.h:321 #21 0x00007f5ee17358fc 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 0x00007f5ee1736918 in Interpret(JSContext*, js::RunState&) (cx=cx@entry=0x561d3eef4170, state=...) at ./js/src/vm/Interpreter.cpp:2298 #23 0x00007f5ee173ee78 in js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x561d3eef4170, state=...) at ./js/src/vm/Interpreter.cpp:438 #24 0x00007f5ee173fffa in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::ExecuteType, js::AbstractFramePtr, JS::Value*) (result=0x7ffcefb42e60, evalInFrame=..., type=js::EXECUTE_GLOBAL, thisv=<synthetic pointer>..., scopeChainArg=..., script=..., cx=0x561d3eef4170) at ./js/src/vm/Interpreter.cpp:622 #25 0x00007f5ee173fffa in js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) (cx=cx@entry=0x561d3eef4170, script=script@entry=..., scopeChainArg=..., rval=rval@entry=0x7ffcefb42e60) at ./js/src/vm/Interpreter.cpp:659 #26 0x00007f5ee17eb9ed in JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, unsigned short const*, unsigned long, JS::Value*) (cx=cx@entry=0x561d3eef4170, obj=obj@entry=..., options=..., chars=chars@entry=0x561d3ef75650, length=<optimized out>, rval=rval@entry=0x7ffcefb42e60) at ./js/src/jsapi.cpp:5439 #27 0x00007f5ee17ebafe in JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, char const*, unsigned long, JS::Value*) (cx=cx@entry=0x561d3eef4170, obj=obj@entry=..., options=..., bytes=bytes@entry=0x561d3eede41f "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@entry=0x7ffcefb42e60) at ./js/src/jsapi.cpp:5469 #28 0x00007f5ee53c66f6 in gjs_eval_with_scope(JSContext*, JSObject*, char const*, gssize, char const*, jsval*) (context=0x561d3eef4170, object=0x7f5ed9236160, object@entry=0x0, script=0x561d3eede41f "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@entry=0x561d3eede410 "#!/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@entry=206, filename=filename@entry=0x7ffcefb4357b "/usr/bin/gnome-maps", retval_p=retval_p@entry=0x7ffcefb42f30) at gjs/jsapi-util.cpp:1325 #29 0x00007f5ee53bf263 in gjs_context_eval(GjsContext*, char const*, gssize, char const*, int*, GError**) (js_context=0x561d3eee3000 [GjsContext], script=0x561d3eede410 "#!/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=0x7ffcefb4357b "/usr/bin/gnome-maps", exit_status_p=0x7ffcefb42fbc, error=0x7ffcefb42fc0) at gjs/context.cpp:645 #30 0x0000561d3e36d3e8 in main () (gdb) list geocode-forward.c:750 745 place_type = GEOCODE_PLACE_TYPE_DRAINAGE; 746 } else if (g_strcmp0 (category, "boundary") == 0) { 747 if (g_strcmp0 (type, "administrative") == 0) { 748 int rank; 749 750 rank = atoi (g_hash_table_lookup (ht, "place_rank")); 751 if (rank < 2) 752 place_type = GEOCODE_PLACE_TYPE_UNKNOWN; 753 754 if (rank == 28) set width 0 set pagination off directory /home/benutzer/source/libgeocode-glib0/orig/geocode-glib-3.20.1/geocode-glib bt ######## cd /home/benutzer/source/libgeocode-glib0/ cp orig try1 -a cd try1/geocode-glib-3.20.1/ 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 dpkg-buildpackage -b dpkg -i /home/benutzer/source/libgeocode-glib0/try1/{gir1.2-geocodeglib-1.0,libgeocode-glib0,libgeocode-glib0-dbgsym}_3.20.1-2_amd64.deb