New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord is in infinite loop #4

Closed
trprado opened this Issue Oct 6, 2017 · 5 comments

Comments

4 participants
@trprado

trprado commented Oct 6, 2017

After the last updates of fedora 26 and runtimes of flatpak the discord started to loop.

$ flatpak run com.discordapp.Discord
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Discord 0.0.2
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Install path: /home/trprado/.var/app/com.discordapp.Discord/config/discord/0.0.2/modules
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
exception_ptr not yet implemented
[WebContents] crashed... reloading
Feature redeclared; is this a duplicate flag?  voice_sound_stop_loop
Feature redeclared; is this a duplicate flag?  voice_relative_sounds
Feature redeclared; is this a duplicate flag?  voice_panning
Feature redeclared; is this a duplicate flag?  voice_multiple_connections
Feature redeclared; is this a duplicate flag?  media_devices
Feature redeclared; is this a duplicate flag?  media_video
exception_ptr not yet implemented
[WebContents] crashed... reloading

@TingPing TingPing added the bug label Oct 6, 2017

@TingPing

This comment has been minimized.

Show comment
Hide comment
@TingPing

TingPing Oct 7, 2017

Member

So the crash is clearly related to their audio/video changes in this release. I did add libpci to the build which it attempts to load but that alone doesn't resolve the crash and I saw nothing obvious in strace output either so help would be apprecated.

The libpci change if anybody is interested:

        {
          "name": "pciutils",
          "no-autogen": true,
          "make-args": ["SHARED=yes", "PREFIX=/app"],
          "make-install-args": ["SHARED=yes", "PREFIX=/app"],
          "sources": [
            {
              "type": "archive",
              "url": "https://github.com/pciutils/pciutils/archive/v3.5.5.tar.gz",
              "sha256": "07b9959d929248eeb274d8e8f7df33e2173f7eb7d49328a70366071f569fbade"
            }  
          ]
        }
Member

TingPing commented Oct 7, 2017

So the crash is clearly related to their audio/video changes in this release. I did add libpci to the build which it attempts to load but that alone doesn't resolve the crash and I saw nothing obvious in strace output either so help would be apprecated.

The libpci change if anybody is interested:

        {
          "name": "pciutils",
          "no-autogen": true,
          "make-args": ["SHARED=yes", "PREFIX=/app"],
          "make-install-args": ["SHARED=yes", "PREFIX=/app"],
          "sources": [
            {
              "type": "archive",
              "url": "https://github.com/pciutils/pciutils/archive/v3.5.5.tar.gz",
              "sha256": "07b9959d929248eeb274d8e8f7df33e2173f7eb7d49328a70366071f569fbade"
            }  
          ]
        }
@tvannahl

This comment has been minimized.

Show comment
Hide comment
@tvannahl

tvannahl Oct 9, 2017

On my PC (Arch Linux, just updated) the flatpak is not in an infinite loop. It does simply crash to which I can provide the following crash report:

           PID: 11376 (discord)
           UID: 1000 (tvn)
           GID: 100 (users)
        Signal: 6 (ABRT)
     Timestamp: Mon 2017-10-09 23:40:52 CEST (1min 18s ago)
  Command Line: /app/extra/discord --type=renderer --no-sandbox --primordial-pipe-token=02883ACA1CD2BDBE22BE2900592B9886 --lang=de --app-path=/app/extra/resources/app.asar --node-integration=true --background-colo
    Executable: /newroot/app/extra/discord
 Control Group: /user.slice/user-1000.slice/user@1000.service/flatpak-com.discordapp.Discord-11266.scope
          Unit: user@1000.service
     User Unit: flatpak-com.discordapp.Discord-11266.scope
         Slice: user-1000.slice
     Owner UID: 1000 (tvn)
      Hostname: main
       Storage: /var/lib/systemd/coredump/core.discord.1000.a539a03950394b4fae57ea43556f519b.11376.1507585252000000.lz4
       Message: Process 11376 (discord) of user 1000 dumped core.
                
                Stack trace of thread 112:
                #0  0x000000318443304f printf_positional (libc.so.6)
                #1  0x00007fa32df65ff7 n/a (/app/lib/libc++.so.1.0)
                #2  0x00007fa32df67176 n/a (/app/lib/libc++.so.1.0)
                #3  0x00007fa32e305bd2 n/a (/home/tvn/.var/app/com.discordapp.Discord/config/discord/0.0.2/modules/discord_voice/discord_voice.node)

Since it does provide me with the following output, I do think its related to this report:

$ flatpak run com.discordapp.Discord
Gtk-Message: Failed to load module "canberra-gtk-module"
Discord 0.0.2
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Install path: /home/tvn/.var/app/com.discordapp.Discord/config/discord/0.0.2/modules
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
exception_ptr not yet implemented
[WebContents] crashed... reloading
Feature redeclared; is this a duplicate flag?  voice_sound_stop_loop
Feature redeclared; is this a duplicate flag?  voice_relative_sounds
Feature redeclared; is this a duplicate flag?  voice_panning
Feature redeclared; is this a duplicate flag?  voice_multiple_connections
Feature redeclared; is this a duplicate flag?  media_devices
Feature redeclared; is this a duplicate flag?  media_video
exception_ptr not yet implemented

I am currently unable to start the normal desktop client (v. Discord 0.0.2) as well, but the problem here does seem to be on a later point. Discord Canary I have been able to start using libc++ 5.0.0.

tvannahl commented Oct 9, 2017

On my PC (Arch Linux, just updated) the flatpak is not in an infinite loop. It does simply crash to which I can provide the following crash report:

           PID: 11376 (discord)
           UID: 1000 (tvn)
           GID: 100 (users)
        Signal: 6 (ABRT)
     Timestamp: Mon 2017-10-09 23:40:52 CEST (1min 18s ago)
  Command Line: /app/extra/discord --type=renderer --no-sandbox --primordial-pipe-token=02883ACA1CD2BDBE22BE2900592B9886 --lang=de --app-path=/app/extra/resources/app.asar --node-integration=true --background-colo
    Executable: /newroot/app/extra/discord
 Control Group: /user.slice/user-1000.slice/user@1000.service/flatpak-com.discordapp.Discord-11266.scope
          Unit: user@1000.service
     User Unit: flatpak-com.discordapp.Discord-11266.scope
         Slice: user-1000.slice
     Owner UID: 1000 (tvn)
      Hostname: main
       Storage: /var/lib/systemd/coredump/core.discord.1000.a539a03950394b4fae57ea43556f519b.11376.1507585252000000.lz4
       Message: Process 11376 (discord) of user 1000 dumped core.
                
                Stack trace of thread 112:
                #0  0x000000318443304f printf_positional (libc.so.6)
                #1  0x00007fa32df65ff7 n/a (/app/lib/libc++.so.1.0)
                #2  0x00007fa32df67176 n/a (/app/lib/libc++.so.1.0)
                #3  0x00007fa32e305bd2 n/a (/home/tvn/.var/app/com.discordapp.Discord/config/discord/0.0.2/modules/discord_voice/discord_voice.node)

Since it does provide me with the following output, I do think its related to this report:

$ flatpak run com.discordapp.Discord
Gtk-Message: Failed to load module "canberra-gtk-module"
Discord 0.0.2
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Install path: /home/tvn/.var/app/com.discordapp.Discord/config/discord/0.0.2/modules
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
exception_ptr not yet implemented
[WebContents] crashed... reloading
Feature redeclared; is this a duplicate flag?  voice_sound_stop_loop
Feature redeclared; is this a duplicate flag?  voice_relative_sounds
Feature redeclared; is this a duplicate flag?  voice_panning
Feature redeclared; is this a duplicate flag?  voice_multiple_connections
Feature redeclared; is this a duplicate flag?  media_devices
Feature redeclared; is this a duplicate flag?  media_video
exception_ptr not yet implemented

I am currently unable to start the normal desktop client (v. Discord 0.0.2) as well, but the problem here does seem to be on a later point. Discord Canary I have been able to start using libc++ 5.0.0.

@lollofra

This comment has been minimized.

Show comment
Hide comment
@lollofra

lollofra Oct 10, 2017

Same problem of @tvannahl on Fedora 26 with kernel 4.13.4-200.fc26.x86_64, discord crash with SIGABRT 😢

$ flatpak run com.discordapp.Discord
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Discord 0.0.2
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Install path: /home/lollofra/.var/app/com.discordapp.Discord/config/discord/0.0.2/modules
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
exception_ptr not yet implemented
[WebContents] crashed... reloading
Feature redeclared; is this a duplicate flag?  voice_sound_stop_loop
Feature redeclared; is this a duplicate flag?  voice_relative_sounds
Feature redeclared; is this a duplicate flag?  voice_panning
Feature redeclared; is this a duplicate flag?  voice_multiple_connections
Feature redeclared; is this a duplicate flag?  media_devices
Feature redeclared; is this a duplicate flag?  media_video
exception_ptr not yet implemented

lollofra commented Oct 10, 2017

Same problem of @tvannahl on Fedora 26 with kernel 4.13.4-200.fc26.x86_64, discord crash with SIGABRT 😢

$ flatpak run com.discordapp.Discord
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Discord 0.0.2
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Install path: /home/lollofra/.var/app/com.discordapp.Discord/config/discord/0.0.2/modules
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
exception_ptr not yet implemented
[WebContents] crashed... reloading
Feature redeclared; is this a duplicate flag?  voice_sound_stop_loop
Feature redeclared; is this a duplicate flag?  voice_relative_sounds
Feature redeclared; is this a duplicate flag?  voice_panning
Feature redeclared; is this a duplicate flag?  voice_multiple_connections
Feature redeclared; is this a duplicate flag?  media_devices
Feature redeclared; is this a duplicate flag?  media_video
exception_ptr not yet implemented
@TingPing

This comment has been minimized.

Show comment
Hide comment
@TingPing

TingPing Oct 10, 2017

Member

More information is appreciated but there is no need to post the same information.

Member

TingPing commented Oct 10, 2017

More information is appreciated but there is no need to post the same information.

@TingPing TingPing closed this in b099c05 Oct 10, 2017

@TingPing

This comment has been minimized.

Show comment
Hide comment
@TingPing

TingPing Oct 10, 2017

Member

Note that the builders are having problems atm so it will be a while until the fixed update happens.

Member

TingPing commented Oct 10, 2017

Note that the builders are having problems atm so it will be a while until the fixed update happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment