question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Clicking on desktop notification crashes the app

See original GitHub issue

Aknowledgements

  • I have checked that there’s no other issue describing the same or similar problem that I currently have, regardless if it has been closed or open.

  • I can confirm that this is not an issue with the Discord website, but it is a problem specific to the WebCord itself.

  • I have tried running the build from the master branch and it does not have any fixes implemented according to my issue.

  • My issue describes one of the unstable and/or not fully implemented features.

  • I have found a workaround to mitigate or temporarily fix this issue (please write it in Additional context section).

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

18.2.4

Application version

v3.1.4

Bug description

Clicking on the desktop notification about a mention crashes the app.

  1. turn on “Enable Desktop Notifications” in discord settings
  2. get a mention
  3. click on the notification.
  4. the app dies.

log:

ega@dart ~/Downloads [1]> webcord 
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[1077788:0530/114333.330003:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[WebSocket] Listening at port 6463.
[UPDATE] New application version is available! (v3.1.4 → v3.2.0)
[1077788:0530/114410.606077:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
fish: Job 1, 'webcord' terminated by signal SIGTRAP (Trace or breakpoint trap)

Additional context

Disabling notifications stops it from crashing, but then there are obviously no notifications…

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
SpacingBat3commented, Jun 29, 2022

ok can confirm I am now getting notifications on chrome but not on webcord, so my notification system is setup correctly. any help with this?

Unrelated with issue #134, maybe start a discussion or new issue? I want to keep threads clean, which means comments should be related to the current topic, in this example – notifications crash.

0reactions
SpacingBat3commented, Aug 14, 2022

I believe this issue is stale, as a lot has changed in terms of the Electron. I will close it but if you have any thoughts or want to confirm it still occurs on WebCord 3.7.0+, you can reply to me there and I will re-open this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slack crashes at notification being clicked (#25) · Issues - GitLab
Same issue with Signal and Element Desktop which are both electron apps. I am running Gnome 42.1. Edited by TheUser123 7 months ago....
Read more >
Clicking on a notification crashes the program : r/kde - Reddit
Since yesterday (I think), whenever I get a notification and click on it, the program it belongs to will crash. I observed this...
Read more >
Notification Center crashes in Big… | Apple Developer Forums
I've lots of crashes in the console and I cannot run the ... Display every time I click on the date to "open"...
Read more >
[Bug] App will crash after click push notification on Android #368
Steps to reproduce: Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? What's the issue ......
Read more >
App crashes after push notification is tapped when app is killed
Comment these 2 lines // window = UIWindow(frame: UIScreen.main.bounds) // window?.makeKeyAndVisible(). as overriding the window property ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found