GNOME Bugzilla – Bug 779492
chrome-gnome-shell crashes with gnome-shell 3.10
Last modified: 2017-03-04 20:19:11 UTC
chrome-gnome-shell 8-2ubuntu4~ubuntu14.04.1 (from trusty-proposed) Ubuntu GNOME 14.04 LTS gnome-shell 3.10.4-0ubuntu5.2 Firefox 52 Beta from the [Mozilla Team PPA](https://launchpad.net/~mozillateam/+archive/ubuntu/firefox-next) I am trying to backport chrome-gnome-shell to the oldest supported Ubuntu GNOME release for compatibility with Firefox 52. But chrome-gnome-shell crashes.
chrome-gnome-shell crashed with SIGSEGV in __GI___libc_free() Thread 3 (Thread 0x7f4b53ce0700 (LWP 11006)): #0 clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:81 No locals. #1 0x00007f4b587b20c0 in ?? () at pthread_create.c:174 from /lib/x86_64-linux-gnu/libpthread.so.0 __nptl_threads_events = {event_bits = {0, 0}} stack_cache = {next = 0x7f4b589c32a0 <stack_cache>, prev = 0x7f4b589c32a0 <stack_cache>} stack_cache_actsize = 0 __nptl_last_event = 0x0 stack_cache_lock = 0 in_flight_stack = 0 stack_used = {next = 0x7f4b53ce09c0, prev = 0x7f4b544e19c0} _thread_db_pthread_key_data_data = {64, 1, 8} _thread_db_pthread_specific = {2048, 1, 1296} _thread_db_pthread_nextevent = {64, 1, 1640} _thread_db_pthread_pid = {32, 1, 724} _thread_db_sizeof_pthread_key_data = 16 _thread_db_const_thread_area = 25 _thread_db_pthread_tid = {32, 1, 720} _thread_db_pthread_cancelhandling = {32, 1, 776} _thread_db_pthread_eventbuf = {192, 1, 1616} _thread_db___nptl_last_event = {64, 1, 0} _thread_db_pthread_key_data_seq = {64, 1, 0} __libc_multiple_threads_ptr = 0x7f4b587a9074 <__libc_multiple_threads> _thread_db_pthread_eventbuf_eventmask_event_bits = {32, 2, 1616} _thread_db_list_t_prev = {64, 1, 8} _thread_db_td_thr_events_t_event_bits = {32, 2, 0} _thread_db_pthread_key_struct_seq = {64, 1, 0} _thread_db_dtv_t_pointer_val = {64, 1, 0} __stack_user = {next = 0x7f4b58bcfa00, prev = 0x7f4b58bcfa00} _thread_db_sizeof_list_t = 16 _thread_db_sizeof_pthread_key_struct = 16 __pthread_debug = 0 _thread_db_td_eventbuf_t_eventdata = {64, 1, 16} _thread_db_pthread_list = {128, 1, 704} _thread_db___pthread_keys = {128, 1024, 0} _thread_db_pthread_key_struct_destr = {64, 1, 8} _thread_db_pthread_eventbuf_eventmask = {64, 1, 1616} _thread_db_sizeof_td_thr_events_t = 8 _thread_db_pthread_schedparam_sched_priority = {32, 1, 1592} _thread_db_pthread_dtvp = {64, 1, 8} _thread_db_pthread_schedpolicy = {32, 1, 1596} _thread_db_sizeof_td_eventbuf_t = 24 _thread_db_td_eventbuf_t_eventnum = {32, 1, 8} _thread_db_pthread_start_routine = {64, 1, 1600} _thread_db_list_t_next = {64, 1, 0} _thread_db___nptl_nthreads = {32, 1, 0} _thread_db___nptl_initial_report_events = {8, 1, 0} _thread_db_sizeof_pthread_key_data_level2 = 512 _thread_db_link_map_l_tls_modid = {64, 1, 1096} _thread_db_dtv_dtv = {128, 134217727, 0} _thread_db_sizeof_pthread = 2304 _thread_db_pthread_report_events = {8, 1, 1553} _thread_db_pthread_key_data_level2_data = {128, 32, 0} __GI___stack_user = {next = 0x7f4b58bcfa00, prev = 0x7f4b58bcfa00} __nptl_nthreads = 3 #2 0x00007f4b53ce0700 in ?? () No symbol table info available. #3 0x0000000000000000 in ?? () No symbol table info available. . Thread 2 (Thread 0x7f4b544e1700 (LWP 11005)): #0 __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:371 No locals. #1 0x00007f4b587b5894 in _L_unlock_722 () from /lib/x86_64-linux-gnu/libpthread.so.0 No symbol table info available. #2 0x00007f4b587b57e4 in __pthread_mutex_unlock_usercnt (decr=1, mutex=0xf81780) at pthread_mutex_unlock.c:57 type = 3 #3 __GI___pthread_mutex_unlock (mutex=0xf81780) at pthread_mutex_unlock.c:310 No locals. #4 0x00007f4b56a0e9b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #5 0x00007f4b569cad32 in g_source_attach () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #6 0x00007f4b5647e52f in g_simple_async_result_complete_in_idle () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #7 0x00007f4b564d1649 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #8 0x00007f4b564d31b2 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #9 0x00007f4b564e6478 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #10 0x00007f4b5647e3b7 in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #11 0x00007f4b5647e419 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #12 0x00007f4b569ccce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #13 0x00007f4b569cd048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #14 0x00007f4b569cd30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #15 0x00007f4b564e4336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #16 0x00007f4b569f1f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #17 0x00007f4b587b2184 in start_thread (arg=0x7f4b544e1700) at pthread_create.c:312 __res = <optimized out> pd = 0x7f4b544e1700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139961513678592, 3412867220924077232, 0, 0, 139961513679296, 139961513678592, -3329751960327744336, -3329778255663524688}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread" #18 0x00007f4b584df37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. . Thread 1 (Thread 0x7f4b58bcf740 (LWP 11002)): #0 __GI___libc_free (mem=0x1000000001) at malloc.c:2929 ar_ptr = <optimized out> p = <optimized out> hook = 0x0 #1 0x00007f4b569eb409 in g_strfreev () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #2 0x00007f4b564afb0b in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #3 0x00007f4b5620aadc in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 No symbol table info available. #4 0x00007f4b5620a40c in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6 No symbol table info available. #5 0x00007f4b5713c982 in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so No symbol table info available. #6 0x00007f4b5713282e in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so No symbol table info available. #7 0x00000000005244dd in PyEval_EvalFrameEx () No symbol table info available. #8 0x0000000000567d14 in ?? () No symbol table info available. #9 0x0000000000465bf4 in PyRun_FileExFlags () No symbol table info available. #10 0x000000000046612d in PyRun_SimpleFileExFlags () No symbol table info available. #11 0x0000000000466d92 in Py_Main () No symbol table info available. #12 0x00007f4b58406f45 in __libc_start_main (main=0x466e50 <main>, argc=3, argv=0x7ffc8a5344c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc8a5344b8) at libc-start.c:287 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 3412867220924077232, 5733381, 140722629199040, 0, 0, -3412070448523832144, -3329778437748747088}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x5ba2c0 <__libc_csu_init>, 0x7ffc8a5344c8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 6005440}}} not_first_call = <optimized out> #13 0x0000000000577c2e in _start ()
SegvAnalysis: Segfault happened at: 0x7f4b58467d1c <__GI___libc_free+28>: mov -0x8(%rdi),%rax PC (0x7f4b58467d1c) ok source "-0x8(%rdi)" (0xffffffff9) not located in a known VMA region (needed readable region)! destination "%rax" ok SegvReason: reading unknown VMA SourcePackage: chrome-gnome-shell Stacktrace: #0 __GI___libc_free (mem=0x1000000001) at malloc.c:2929 ar_ptr = <optimized out> p = <optimized out> hook = 0x0 #1 0x00007f4b569eb409 in g_strfreev () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #2 0x00007f4b564afb0b in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. #3 0x00007f4b5620aadc in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 No symbol table info available. #4 0x00007f4b5620a40c in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6 No symbol table info available. #5 0x00007f4b5713c982 in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so No symbol table info available. #6 0x00007f4b5713282e in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so No symbol table info available. #7 0x00000000005244dd in PyEval_EvalFrameEx () No symbol table info available. #8 0x0000000000567d14 in ?? () No symbol table info available. #9 0x0000000000465bf4 in PyRun_FileExFlags () No symbol table info available. #10 0x000000000046612d in PyRun_SimpleFileExFlags () No symbol table info available. #11 0x0000000000466d92 in Py_Main () No symbol table info available. #12 0x00007f4b58406f45 in __libc_start_main (main=0x466e50 <main>, argc=3, argv=0x7ffc8a5344c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc8a5344b8) at libc-start.c:287 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 3412867220924077232, 5733381, 140722629199040, 0, 0, -3412070448523832144, -3329778437748747088}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x5ba2c0 <__libc_csu_init>, 0x7ffc8a5344c8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 6005440}}} not_first_call = <optimized out> #13 0x0000000000577c2e in _start () No symbol table info available. StacktraceAddressSignature: /usr/bin/chrome-gnome-shell:11:x86_64:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+67409:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4002.0+a2b0b:/usr/lib/x86_64-linux-gnu/libffi.so.6.0.1+5adc:/usr/lib/x86_64-linux-gnu/libffi.so.6.0.1+540c:/usr/lib/python2.7/dist-packages/gi/_gi.so+2c982:/usr/lib/python2.7/dist-packages/gi/_gi.so+2282e:/usr/bin/python2.7+1244dd:/usr/bin/python2.7+167d14:/usr/bin/python2.7+65bf4:/usr/bin/python2.7+6612d:/usr/bin/python2.7+66d92:/lib/x86_64-linux-gnu/libc-2.19.so+21f45:/usr/bin/python2.7+177c2e StacktraceTop: __GI___libc_free (mem=0x1000000001) at malloc.c:2929 g_strfreev () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
Is it happens on browser close? It may be fixed in this commit: https://git.gnome.org/browse/chrome-gnome-shell/commit/?id=dca4a3538f86d8e2e957945a691430573192716d
In Firefox, at https://extensions.gnome.org/ after installing the Firefox addon as prompted on the site, I get "An unexpected error has occured" banners. I get the same Firefox error banner with ne0sight's chrome-gnome-shell PPA.
No, it's not on browser close. I can't use extensions.gnome.org at all. If you want to try Ubuntu GNOME 14.04: http://cdimage.ubuntu.com/ubuntu-gnome/releases/14.04/release/ubuntu-gnome-14.04.5-desktop-amd64.iso
I get the same error banner with the just-published 8.2-0ubuntu1 from the ne0sight PPA
For a workaround it's possible to comment completely method "do_local_command_line", however somewhere in logs a warning "Unknown option --gapplication-service" will be logged, but can be ignored. I'm looking why it's issue in Trusty.
Commited workaround in master: https://git.gnome.org/browse/chrome-gnome-shell/commit/?id=7b27343e79ff1c7243cb34e70e9a04e764e26944
Yuri, thanks. I confirm that commit works on Ubuntu 14.04 LTS.