Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

C68: Crash on popping up notifications on Linux #626

Open
ltilve opened this issue Jul 2, 2018 · 0 comments
Open

C68: Crash on popping up notifications on Linux #626

ltilve opened this issue Jul 2, 2018 · 0 comments

Comments

@ltilve
Copy link
Contributor

ltilve commented Jul 2, 2018

Testing https://developer.mozilla.org/nl/docs/Web/API/notification#Example, clicking on 'Show' to pops up a notification asking for permission (after grating the right permissions) seems to be crashing on Linux.

Thread 1 "brave" received signal SIGILL, Illegal instruction.
brightray::LibnotifyNotification::Initialize () at ../../electron/vendor/brightray/browser/linux/libnotify_notification.cc:71
71	  if (!libnotify_loader_.notify_is_initted() &&
(gdb) bt
#0  0x00000000038a255d in brightray::LibnotifyNotification::Initialize() () at ../../electron/vendor/brightray/browser/linux/libnotify_notification.cc:71
#1  0x00000000038a266b in brightray::NotificationPresenter::Create() () at ../../electron/vendor/brightray/browser/linux/notification_presenter_linux.cc:14
#2  0x0000000003898967 in brightray::BrowserClient::GetNotificationPresenter() (this=0x38ee0b917d20)
    at ../../electron/vendor/brightray/browser/browser_client.cc:50
#3  0x00000000037188d2 in brave::(anonymous namespace)::OnWebNotificationAllowed(brightray::BrowserClient*, SkBitmap const&, content::PlatformNotificationData const&, brightray::NotificationDelegate*, bool) (browser_client=0x0, icon=..., data=..., delegate=0x38ee0dcc6420, allowed=false)
    at ../../electron/brave/browser/notifications/platform_notification_service_impl.cc:44
#4  0x0000000003723c33 in base::RepeatingCallback<void (std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&)>::Run(std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&) const & (this=<optimized out>, args=...) at ../../base/callback.h:125
#5  0x0000000003723c33 in brave::BravePermissionManager::OnPermissionResponse(int, GURL const&, base::RepeatingCallback<void (std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&)> const&, std::__1::vector<content::PermissionType, std::__1::allocator<content::PermissionType> > const&, std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&) (this=0x38ee0c320f60, request_id=<optimized out>, origin=..., callback=..., permissions=..., status=...) at ../../electron/brave/browser/brave_permission_manager.cc:165
#6  0x0000000003838fdb in base::RepeatingCallback<void (std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&)>::Run(std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&) const & (this=0x38ee0d407e00, args=...) at ../../base/callback.h:125
#7  0x0000000003838fdb in mate::internal::Invoker<base::RepeatingCallback, mate::internal::IndicesHolder<0ul>, std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&>::DispatchToCallback(base::RepeatingCallback<void (std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&)>) (callback=..., this=<optimized out>)
    at ../../electron/vendor/native_mate/native_mate/function_template.h:207
#8  0x0000000003838fdb in mate::internal::NativeFunctionInvoker<base::RepeatingCallback, void (std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&)>::Go(base::RepeatingCallback<void (std::__1::vector<blink::mojom::PermissionStatus, std::__1::allocator<blink::mojom::PermissionStatus> > const&)>, mate::Arguments*) (val=..., args=<optimized out>)
    at ../../electron/atom/common/native_mate_converters/callback.h:124
#9  0x0000000003722d8a in base::internal::FunctorTraits<void (*)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), void>::Invoke<void (* const&)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)> const&, mate::Arguments*>(void (* const&)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)> const&, mate::Arguments*&&) (function=<optimized out>, args=..., args=<optimized out>) at ../../base/bind_internal.h:402
#10 0x0000000003722d8a in base::internal::InvokeHelper<false, void>::MakeItSo<void (* const&)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)> const&, mate::Arguments*>(void (* const&)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)> const&, mate::Arguments*&&) (functor=<optimized out>, args=..., args=<optimized out>) at ../../base/bind_internal.h:547
#11 0x0000000003722d8a in base::internal::Invoker<base::internal::BindState<void (*)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)> >, void (mate::Arguments*)>::RunImpl<void (* const&)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string1---Type <return> to cont---Type <ret---Type <return> to cont---Type <return> to c---Type <---Type <return> to cont---Typ---Typ------Typ------Type <return> to continue, or q <return> to quit---
its, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), std::__1::tuple<base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)> > const&, 0ul>(void (* const&)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), std::__1::tuple<base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)> > const&, std::__1::integer_sequence<unsigned long, 0ul>, mate::Arguments*&&) (functor=<optimized out>, bound=..., unbound_args=<optimized out>) at ../../base/bind_internal.h:621
#12 0x0000000003722d8a in base::internal::Invoker<base::internal::BindState<void (*)(base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)>, mate::Arguments*), base::RepeatingCallback<void (bool, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&, bool)> >, void (mate::Arguments*)>::Run(base::internal::BindStateBase*, mate::Arguments*) (base=<optimized out>, unbound_args=0x0) at ../../base/bind_internal.h:603
#13 0x00000000038c6d75 in base::RepeatingCallback<void (mate::Arguments*)>::Run(mate::Arguments*) const & (this=0x38ee0e4d0420, args=0x7fffffffa518) at ../../base/callback.h:125
#14 0x00000000038c6d75 in mate::internal::(anonymous namespace)::CallTranslater(v8::Local<v8::External>, v8::Local<v8::Object>, mate::Arguments*) (external=..., state=..., args=0x7fffffffa518)
    at ../../electron/atom/common/native_mate_converters/callback.cc:39
#15 0x00000000038c7097 in base::RepeatingCallback<void (v8::Local<v8::External>, v8::Local<v8::Object>, mate::Arguments*)>::Run(v8::Local<v8::External>, v8::Local<v8::Object>, mate::Arguments*) const & (this=0x38ee0c428a50, args=..., args=..., args=0x7fff7fcc2ac0 <notify_is_initted>) at ../../base/callback.h:125
#16 0x00000000038c7097 in mate::internal::Invoker<base::RepeatingCallback, mate::internal::IndicesHolder<0ul, 1ul, 2ul>, v8::Local<v8::External>, v8::Local<v8::Object>, mate::Arguments*>::DispatchToCallback(base::RepeatingCallback<void (v8::Local<v8::External>, v8::Local<v8::Object>, mate::Arguments*)>) (callback=..., this=<optimized out>) at ../../electron/vendor/native_mate/native_mate/function_template.h:207
#17 0x00000000038c7097 in mate::internal::Dispatcher<base::RepeatingCallback, void (v8::Local<v8::External>, v8::Local<v8::Object>, mate::Arguments*)>::DispatchToCallback(v8::FunctionCallbackInfo<v8::Value> const&) (info=...)
    at ../../electron/vendor/native_mate/native_mate/function_template.h:243
#18 0x0000000002091201 in v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) (this=0x7fffffffa6a8, handler=<optimized out>) at ../../v8/src/api-arguments-inl.h:94
#19 0x000000000209079e in v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) (isolate=0x38ee0be50000, function=..., new_target=..., fun_data=..., receiver=..., args=...) at ../../v8/src/builtins/builtins-api.cc:109
#20 0x000000000208ffa3 in v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) (args=..., isolate=0x38ee0be50000) at ../../v8/src/builtins/builtins-api.cc:139
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant