Bug#927728: gnome-maps: search functionality (main or directions) causes a crash (SIGSEGV)

Paul Wise pabs at debian.org
Mon Apr 22 03:07:25 BST 2019


Package: gnome-maps
Version: 3.30.3-1
Severity: serious
Control: found -1 3.32.1-1
Usertags: crash

The search functionality (both the main search and the directions
search) causes a crash (SIGSEGV) of GNOME Maps. Since the search
functionality is a pretty major part of the Maps app, I think this
issue should be fixed in buster. IIRC it started occurring after the recent gjs transition. The experimental version crashes too. The issue doesn't seem to be specific to particular GPU vendors, I can reproduce it with nouveau & intel GPUs. 

$ gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'thread apply all bt full' --args gjs /usr/bin/gnome-maps
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff223a700 (LWP 2064)]
[Thread 0x7ffff223a700 (LWP 2064) exited]
[New Thread 0x7ffff223a700 (LWP 2065)]
[New Thread 0x7fffec76c700 (LWP 2066)]
[New Thread 0x7fffec56b700 (LWP 2067)]
[New Thread 0x7fffec36a700 (LWP 2068)]
[New Thread 0x7fffebebe700 (LWP 2069)]
[New Thread 0x7fffeb6bd700 (LWP 2070)]
[New Thread 0x7fffea233700 (LWP 2071)]

(org.gnome.Maps:2059): Gjs-WARNING **: 09:47:26.521: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array).
(Note that array.toString() may have been called implicitly.)
0 <TOP LEVEL> ["resource:///org/gnome/Maps/js/osmTypes.js":32]
1 <TOP LEVEL> ["resource:///org/gnome/Maps/js/osmEditDialog.js":35]
2 <TOP LEVEL> ["resource:///org/gnome/Maps/js/osmEdit.js":25]
3 <TOP LEVEL> ["resource:///org/gnome/Maps/js/contextMenu.js":33]
4 <TOP LEVEL> ["resource:///org/gnome/Maps/js/mainWindow.js":33]
5 <TOP LEVEL> ["resource:///org/gnome/Maps/js/application.js":35]
6 <TOP LEVEL> ["resource:///org/gnome/Maps/js/main.js":43]
7 start() ["resource:///org/gnome/gjs/modules/package.js":209]
8 <TOP LEVEL> ["/usr/bin/gnome-maps":2]

[New Thread 0x7fffe3ad9700 (LWP 2100)]
[New Thread 0x7fff9de21700 (LWP 2132)]
[New Thread 0x7fff9d184700 (LWP 2137)]

(org.gnome.Maps:2059): GLib-GObject-WARNING **: 09:49:11.709: The property GTlsClientConnectionGnutls:use-ssl3 is deprecated and shouldn't be used anymore. It will be removed in a future version.

(org.gnome.Maps:2059): GLib-GObject-WARNING **: 09:49:13.039: The property SoupSession:ssl-ca-file is deprecated and shouldn't be used anymore. It will be removed in a future version.

(org.gnome.Maps:2059): Gjs-WARNING **: 09:49:13.106: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array).
(Note that array.toString() may have been called implicitly.)
0 load() ["resource:///org/gnome/Maps/js/placeStore.js":168]
1 _initPlaceStore() ["resource:///org/gnome/Maps/js/application.js":186]
2 vfunc_startup() ["resource:///org/gnome/Maps/js/application.js":233]
3 main() ["resource:///org/gnome/Maps/js/main.js":57]
4 run() ["resource:///org/gnome/gjs/modules/package.js":225]
5 start() ["resource:///org/gnome/gjs/modules/package.js":209]
6 <TOP LEVEL> ["/usr/bin/gnome-maps":2]


(org.gnome.Maps:2059): GLib-GObject-WARNING **: 09:49:13.924: The property GtkContainer:child is deprecated and shouldn't be used anymore. It will be removed in a future version.

(org.gnome.Maps:2059): GLib-GObject-WARNING **: 09:49:14.035: The property GtkPopover:transitions-enabled is deprecated and shouldn't be used anymore. It will be removed in a future version.
[New Thread 0x7fff9b8b4700 (LWP 2144)]
[New Thread 0x7fff9b0b3700 (LWP 2145)]
[New Thread 0x7fff9a8b2700 (LWP 2146)]
[New Thread 0x7fff9a0b1700 (LWP 2147)]
[New Thread 0x7fff998b0700 (LWP 2148)]
[New Thread 0x7fff990af700 (LWP 2149)]
[New Thread 0x7fff988ae700 (LWP 2150)]
[New Thread 0x7fff980ad700 (LWP 2151)]
[New Thread 0x7fff978ac700 (LWP 2152)]
[Thread 0x7fff978ac700 (LWP 2152) exited]
[Thread 0x7fff988ae700 (LWP 2150) exited]
[Thread 0x7fff990af700 (LWP 2149) exited]
[Thread 0x7fff998b0700 (LWP 2148) exited]
[Thread 0x7fff9a0b1700 (LWP 2147) exited]
[Thread 0x7fff9a8b2700 (LWP 2146) exited]
[Thread 0x7fff9b0b3700 (LWP 2145) exited]
[Thread 0x7fff9b8b4700 (LWP 2144) exited]
[Thread 0x7fff9d184700 (LWP 2137) exited]
[New Thread 0x7fff988ae700 (LWP 2159)]
[New Thread 0x7fff978ac700 (LWP 2160)]
[New Thread 0x7fff9a0b1700 (LWP 2161)]
[New Thread 0x7fff9b0b3700 (LWP 2162)]
[New Thread 0x7fff9b8b4700 (LWP 2163)]
[New Thread 0x7fff9a8b2700 (LWP 2164)]
[New Thread 0x7fff998b0700 (LWP 2165)]
[New Thread 0x7fff990af700 (LWP 2166)]
[New Thread 0x7fff95037700 (LWP 2167)]
[New Thread 0x7fff94836700 (LWP 2168)]
[New Thread 0x7fff937d1700 (LWP 2169)]
[New Thread 0x7fff92fd0700 (LWP 2170)]
[New Thread 0x7fff927cf700 (LWP 2171)]
[New Thread 0x7fff90dff700 (LWP 2176)]
[New Thread 0x7fff905fe700 (LWP 2178)]
[New Thread 0x7fff8fdfd700 (LWP 2179)]
[New Thread 0x7fff8f5fc700 (LWP 2180)]
[Thread 0x7fff8fdfd700 (LWP 2179) exited]
[Thread 0x7fff937d1700 (LWP 2169) exited]
[Thread 0x7fff90dff700 (LWP 2176) exited]
[Thread 0x7fff990af700 (LWP 2166) exited]
[Thread 0x7fff978ac700 (LWP 2160) exited]

(org.gnome.Maps:2059): GLib-GObject-WARNING **: 09:49:20.350: The property FolksRole:uid is deprecated and shouldn't be used anymore. It will be removed in a future version.
[Thread 0x7fff9b0b3700 (LWP 2162) exited]
[Thread 0x7fff94836700 (LWP 2168) exited]
[Thread 0x7fff92fd0700 (LWP 2170) exited]
[Thread 0x7fff998b0700 (LWP 2165) exited]
[Thread 0x7fff95037700 (LWP 2167) exited]
[Thread 0x7fff9a8b2700 (LWP 2164) exited]
[Thread 0x7fff9a0b1700 (LWP 2161) exited]
[Thread 0x7fff9b8b4700 (LWP 2163) exited]
[Thread 0x7fff980ad700 (LWP 2151) exited]
[Thread 0x7fff905fe700 (LWP 2178) exited]
[New Thread 0x7fff905fe700 (LWP 2194)]
[New Thread 0x7fff980ad700 (LWP 2195)]
[New Thread 0x7fff9b8b4700 (LWP 2196)]
[New Thread 0x7fff9a0b1700 (LWP 2197)]
[New Thread 0x7fff9afb2700 (LWP 2198)]
[New Thread 0x7fff998b0700 (LWP 2199)]
[New Thread 0x7fff990af700 (LWP 2200)]
[New Thread 0x7fff978ac700 (LWP 2201)]
[New Thread 0x7fff95037700 (LWP 2202)]
[Thread 0x7fff8f5fc700 (LWP 2180) exited]
[Thread 0x7fff9a0b1700 (LWP 2197) exited]
[Thread 0x7fff990af700 (LWP 2200) exited]
[Thread 0x7fff978ac700 (LWP 2201) exited]
[Thread 0x7fff9afb2700 (LWP 2198) exited]
[Thread 0x7fff998b0700 (LWP 2199) exited]
[Thread 0x7fff9b8b4700 (LWP 2196) exited]
[Thread 0x7fff905fe700 (LWP 2194) exited]
[Thread 0x7fff95037700 (LWP 2202) exited]

(org.gnome.Maps:2059): GLib-GObject-CRITICAL **: 09:49:32.443: g_value_set_boolean: assertion 'G_VALUE_HOLDS_BOOLEAN (value)' failed

** (org.gnome.Maps:2059): WARNING **: 09:49:32.443: XEP attribute 'viewbox' unhandled

** (org.gnome.Maps:2059): WARNING **: 09:49:32.443: XEP attribute 'bounded' unhandled

Thread 1 "gjs" received signal SIGSEGV, Segmentation fault.
0x00007ffff7869dc6 in __GI_____strtol_l_internal (nptr=0x0, endptr=endptr at entry=0x0, base=base at entry=10, group=group at entry=0, loc=0x7ffff79ea560 <_nl_global_locale>) at ../stdlib/strtol_l.c:283
283	../stdlib/strtol_l.c: No such file or directory.
#0  0x00007ffff7869dc6 in __GI_____strtol_l_internal (nptr=0x0, endptr=endptr at entry=0x0, base=base at entry=10, group=group at entry=0, loc=0x7ffff79ea560 <_nl_global_locale>) at ../stdlib/strtol_l.c:283
#1  0x00007ffff7869d52 in __strtol (nptr=<optimized out>, endptr=endptr at entry=0x0, base=base at entry=10) at ../stdlib/strtol.c:106
#2  0x00007fffeaabcd7e in atoi (__nptr=<optimized out>) at /usr/include/stdlib.h:363
#3  0x00007fffeaabcd7e in get_place_type_from_attributes (ht=0x555556f38b00 = {...}) at ../geocode-glib/geocode-nominatim.c:395
#4  0x00007fffeaabcd7e in _geocode_create_place_from_attributes (ht=ht at entry=0x555556f38b00 = {...}) at ../geocode-glib/geocode-nominatim.c:437
#5  0x00007fffeaabe900 in insert_place_into_tree (ht=0x555556f38b00 = {...}, place_tree=0x55555c9e2270) at ../geocode-glib/geocode-nominatim.c:532
#6  0x00007fffeaabe900 in _geocode_parse_search_json (contents=contents at entry=0x555555bc20b0 "[{\"place_id\":153700,\"licence\":\"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright\",\"osm_type\":\"node\",\"osm_id\":29277817,\"boundingbox\":[\"-32.1127121\",\"-31.7927121\",\"115.7004796\",\"11"..., error=error at entry=0x7fffffffc2c0) at ../geocode-glib/geocode-nominatim.c:646
#7  0x00007fffeaabea89 in on_forward_query_ready (self=<optimized out>, res=0x55555f2f4ac0, task=task at entry=0x55555f2f4b90 [GTask]) at ../geocode-glib/geocode-nominatim.c:727
#8  0x00007ffff7e76719 in g_task_return_now (task=0x55555f2f4ac0 [GTask]) at ../../../gio/gtask.c:1148
#9  0x00007ffff7e77196 in g_task_return (task=0x55555f2f4ac0 [GTask], type=<optimized out>) at ../../../gio/gtask.c:1206
#10 0x00007fffeaabd5b0 in on_query_data_loaded (session=<optimized out>, query=0x5555587952c0 [SoupMessage], task=0x55555f2f4ac0 [GTask]) at ../geocode-glib/geocode-nominatim.c:892
#11 0x00007fffea8c3cde in soup_session_process_queue_item (loop=<optimized out>, should_cleanup=<optimized out>, item=<optimized out>, session=<optimized out>) at ../libsoup/soup-session.c:2042
#12 0x00007fffea8c3cde in soup_session_process_queue_item (session=<optimized out>, item=0x55555f458490, should_cleanup=<optimized out>, loop=<optimized out>) at ../libsoup/soup-session.c:1964
#13 0x00007fffea8c46ca in async_run_queue (session=session at entry=0x555555fc9b20 [SoupSession]) at ../libsoup/soup-session.c:2082
#14 0x00007fffea8c4756 in idle_run_queue (user_data=<optimized out>) at ../libsoup/soup-session.c:2109
#15 0x00007ffff7caedd8 in g_main_dispatch (context=0x555555832030) at ../../../glib/gmain.c:3182
#16 0x00007ffff7caedd8 in g_main_context_dispatch (context=context at entry=0x555555832030) at ../../../glib/gmain.c:3847
#17 0x00007ffff7caf1c8 in g_main_context_iterate (context=context at entry=0x555555832030, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#18 0x00007ffff7caf25c in g_main_context_iteration (context=context at entry=0x555555832030, may_block=may_block at entry=1) at ../../../glib/gmain.c:3981
#19 0x00007ffff7ea199d in g_application_run (application=0x555555cc61b0 [Gjs_Application], argc=<optimized out>, argv=0x555555cca280) at ../../../gio/gapplication.c:2470
#20 0x00007ffff733d8ee in ffi_call_unix64 () at ../src/x86/unix64.S:76
#21 0x00007ffff733d2bf in ffi_call (cif=cif at entry=0x5555559790d8, fn=<optimized out>, rvalue=<optimized out>, rvalue at entry=0x7fffffffc838, avalue=avalue at entry=0x7fffffffc720) at ../src/x86/ffi64.c:525
#22 0x00007ffff7bb3819 in gjs_invoke_c_function(JSContext*, Function*, JS::HandleObject, JS::HandleValueArray const&, mozilla::Maybe<JS::MutableHandle<JS::Value> >, GIArgument*) (context=0x555555588e70, function=0x5555559790c0, obj=..., args=..., js_rval=..., r_value=0x0) at gi/function.cpp:1096
#23 0x00007ffff7bb4f96 in function_call(JSContext*, unsigned int, JS::Value*) (context=0x555555588e70, js_argc=1, vp=0x5555557f2988) at /usr/include/mozjs-60/js/RootingAPI.h:1128
#24 0x00007ffff5f93474 in js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (args=..., native=0x7ffff7bb4e70 <function_call(JSContext*, unsigned int, JS::Value*)>, cx=0x555555588e70) at ./debian/build/dist/include/js/CallArgs.h:286
#25 0x00007ffff5f93474 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (cx=0x555555588e70, args=..., construct=<optimized out>) at ./js/src/vm/Interpreter.cpp:450
#26 0x00007ffff5f866e1 in js::CallFromStack(JSContext*, JS::CallArgs const&) (args=..., cx=<optimized out>) at ./js/src/vm/Interpreter.cpp:3115
#27 0x00007ffff5f866e1 in Interpret(JSContext*, js::RunState&) (cx=0x555555588e70, state=...) at ./js/src/vm/Interpreter.cpp:3115
#28 0x00007ffff5f92cf6 in js::RunScript(JSContext*, js::RunState&) (cx=0x555555588e70, state=...) at ./js/src/vm/Interpreter.cpp:418
#29 0x00007ffff5f94947 in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::AbstractFramePtr, JS::Value*) (cx=cx at entry=0x555555588e70, script=..., envChainArg=..., newTargetValue=..., evalInFrame=..., evalInFrame at entry=..., result=<optimized out>) at ./js/src/vm/Interpreter.cpp:701
#30 0x00007ffff5f94a6c in js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) (cx=cx at entry=0x555555588e70, script=..., script at entry=..., envChainArg=..., rval=<optimized out>) at ./debian/build/dist/include/js/Value.h:1070
#31 0x00007ffff62a7d6e in Evaluate(JSContext*, js::ScopeKind, JS::HandleObject, JS::ReadOnlyCompileOptions const&, JS::SourceBufferHolder&, JS::MutableHandleValue) (cx=cx at entry=0x555555588e70, scopeKind=<optimized out>, env=env at entry=..., optionsArg=..., srcBuf=..., rval=...) at ./debian/build/dist/include/js/RootingAPI.h:1128
#32 0x00007ffff62a7e7b in Evaluate(JSContext*, JS::AutoObjectVector&, JS::ReadOnlyCompileOptions const&, JS::SourceBufferHolder&, JS::MutableHandleValue) (cx=cx at entry=0x555555588e70, envChain=..., optionsArg=..., srcBuf=..., rval=...) at ./js/src/vm/Scope.h:294
#33 0x00007ffff62a8e65 in JS::Evaluate(JSContext*, JS::AutoVector<JSObject*>&, JS::ReadOnlyCompileOptions const&, JS::SourceBufferHolder&, JS::MutableHandle<JS::Value>) (cx=cx at entry=0x555555588e70, envChain=..., optionsArg=..., srcBuf=..., rval=..., rval at entry=...) at ./js/src/jsapi.cpp:4903
#34 0x00007ffff7bdc36a in gjs_eval_with_scope(JSContext*, JS::HandleObject, char const*, ssize_t, char const*, JS::MutableHandleValue) (context=0x555555588e70, object=..., object at entry=..., script=<optimized out>, script at entry=0x55555557e280 "#!/usr/bin/gjs\nimports.package.start({ name: \"gnome-maps\",\n", ' ' <repeats 24 times>, "version: \"3.30.3\",\n", ' ' <repeats 24 times>, "prefix: \"/usr\",\n", ' ' <repeats 24 times>, "libdir: \"/usr/lib/x86_64-linux-gnu"..., script_len=script_len at entry=206, filename=filename at entry=0x55555557e450 "/usr/bin/gnome-maps", retval=..., retval at entry=...) at gjs/jsapi-util.cpp:842
#35 0x00007ffff7bd25c2 in gjs_context_eval(GjsContext*, char const*, gssize, char const*, int*, GError**) (js_context=0x5555555830b0 [GjsContext], script=0x55555557e280 "#!/usr/bin/gjs\nimports.package.start({ name: \"gnome-maps\",\n", ' ' <repeats 24 times>, "version: \"3.30.3\",\n", ' ' <repeats 24 times>, "prefix: \"/usr\",\n", ' ' <repeats 24 times>, "libdir: \"/usr/lib/x86_64-linux-gnu"..., script_len=206, filename=0x55555557e450 "/usr/bin/gnome-maps", exit_status_p=0x7fffffffd8f0, error=0x7fffffffd8a8) at /usr/include/mozjs-60/js/RootingAPI.h:1152
#36 0x00005555555569cb in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at gjs/console.cpp:355

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-maps depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
ii  geoclue-2.0                                  2.5.2-1
ii  gir1.2-champlain-0.12                        0.12.16-3
ii  gir1.2-clutter-1.0                           1.26.2+dfsg-10
ii  gir1.2-cogl-1.0                              1.22.2-6
ii  gir1.2-gdkpixbuf-2.0                         2.38.1+dfsg-1
ii  gir1.2-geoclue-2.0                           2.5.2-1
ii  gir1.2-geocodeglib-1.0                       3.26.0-2
ii  gir1.2-gfbgraph-0.2                          0.2.3-3
ii  gir1.2-glib-2.0                              1.58.3-2
ii  gir1.2-goa-1.0                               3.30.1-2
ii  gir1.2-gtk-3.0                               3.24.5-1
ii  gir1.2-gtkchamplain-0.12                     0.12.16-3
ii  gir1.2-gtkclutter-1.0                        1.8.4-4
ii  gir1.2-gweather-3.0                          3.28.2-2
ii  gir1.2-rest-0.7                              0.8.1-1
ii  gir1.2-secret-1                              0.18.7-1
ii  gir1.2-soup-2.4                              2.64.2-2
ii  gir1.2-webkit2-4.0                           2.24.1-1
ii  gjs                                          1.54.3-1
ii  libc6                                        2.28-8
ii  libchamplain-0.12-0                          0.12.16-3
ii  libfolks25                                   0.11.4-1+b2
ii  libgee-0.8-2                                 0.20.1-2
ii  libgeocode-glib0                             3.26.0-2
ii  libglib2.0-0                                 2.58.3-1
ii  libglib2.0-bin                               2.58.3-1
ii  librest-0.7-0                                0.8.1-1
ii  libxml2                                      2.9.4+dfsg1-7+b3

gnome-maps recommends no packages.

gnome-maps suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20190422/236f8128/attachment.sig>


More information about the pkg-gnome-maintainers mailing list