Skip to content

[Bug]:Crash on Ubuntu 26.04 with SIGTRAP error on startup (v2.3.6) #216

Description

@eh3ano-0

🤔 Is there an existing issue for this?

  • I have searched the existing issues

📝 Discription

Describe the bug
After installing DNS Changer version 2.3.6 on Ubuntu 24.04, the application crashes immediately upon launch with a "SIGTRAP" error. The crash dialog appears with the message: "The application DNS Changer has closed unexpectedly."

To Reproduce

  1. Download the .deb package from the official releases page:
    https://github.com/DnsChanger/dnsChanger-desktop/releases/tag/v2.3.6
  2. Install it using:
    sudo dpkg -i dnschanger_2.3.6_amd64.deb
  3. Launch the application by running:
    /opt/DNS\ Changer/dnschanger
  4. The crash dialog appears immediately.

Expected behavior
The application should start normally without any errors, allowing the user to change DNS settings.

Screenshots

Image

Additional context

  • System info:

    • Ubuntu 26.04 LTS (fresh install)
    • Architecture: amd64
    • Apport version: 2.34.0-0ubuntu2
  • Workaround:
    The application runs if launched with the following options:
    /opt/DNS\ Changer/dnschanger --no-sandbox --no-zygote
    However, not all DNS servers are displayed in the list when using this workaround.

  • Possible cause:
    This might be related to AppArmor or sandboxing restrictions introduced in newer Ubuntu versions, as similar issues have been reported in other Electron-based applications.

  • Logs:
    Output from journalctl | grep dnschanger:
    (If you have any log lines, paste them here. If not, you can omit this part.)

Suggested fix
It would be great if the package could be updated to handle the new security policies in Ubuntu 26.04, or if the sandbox could be configured properly for this distribution.

Related issues
I noticed issue #96 might be related. If this is a duplicate, please feel free to close this one, but I wanted to provide additional details for v2.3.6.

Thank you for maintaining this useful tool!

💻 In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

tnx

log:
❯ journalctl | grep dnschanger  56s
Jul 11 17:56:58 eh3ano kernel: audit: type=1400 audit(1783780018.538:280): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=22584 comm="dnschanger" requested="userns_create" target="unprivileged_userns" execpath="/opt/DNS Changer/dnschanger"
Jul 11 17:56:58 eh3ano kernel: audit: type=1400 audit(1783780018.540:281): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=22587 comm="dnschanger" capability=21 capname="sys_admin"
Jul 11 17:56:58 eh3ano dnschanger.desktop[22584]: [22584:0711/175658.544432:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/DNS Changer/chrome-sandbox is owned by root and has mode 4755.
Jul 11 17:56:58 eh3ano kernel: traps: dnschanger[22584] trap int3 ip:60e976f047fe sp:7ffe66ba5210 error:0 in dnschanger[60537fe,60e972f59000+8996000]
Jul 11 17:56:58 eh3ano systemd[3469]: Started app-gnome-dnschanger-22584.scope - Application launched by gnome-shell.
Jul 11 17:57:00 eh3ano update-notifier-crash[22608]: dnschanger
Jul 11 17:57:24 eh3ano kernel: audit: type=1400 audit(1783780044.139:282): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=23146 comm="dnschanger" requested="userns_create" target="unprivileged_userns" execpath="/opt/DNS Changer/dnschanger"
Jul 11 17:57:24 eh3ano kernel: audit: type=1400 audit(1783780044.141:283): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=23148 comm="dnschanger" capability=21 capname="sys_admin"
Jul 11 17:57:24 eh3ano kernel: traps: dnschanger[23146] trap int3 ip:62b67e88e7fe sp:7ffe541a27e0 error:0 in dnschanger[60537fe,62b67a8e3000+8996000]
Jul 11 17:57:24 eh3ano systemd[3469]: update-notifier-crash.service: Unit process 23146 (dnschanger) remains running after unit stopped.
Jul 11 17:57:24 eh3ano systemd[3469]: update-notifier-crash.service: Unit process 23149 (dnschanger) remains running after unit stopped.
Jul 11 17:57:25 eh3ano systemd[3469]: update-notifier-crash.service: Found left-over process 23146 (dnschanger) in control group while starting unit. Ignoring.
Jul 11 17:57:25 eh3ano systemd[3469]: update-notifier-crash.service: Found left-over process 23149 (dnschanger) in control group while starting unit. Ignoring.
Jul 11 17:57:25 eh3ano update-notifier-crash[23166]: dnschanger
Jul 11 17:57:31 eh3ano kernel: audit: type=1400 audit(1783780051.656:284): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=23314 comm="dnschanger" requested="userns_create" target="unprivileged_userns" execpath="/opt/DNS Changer/dnschanger"
Jul 11 17:57:31 eh3ano kernel: audit: type=1400 audit(1783780051.658:285): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=23316 comm="dnschanger" capability=21 capname="sys_admin"
Jul 11 17:57:31 eh3ano kernel: traps: dnschanger[23314] trap int3 ip:6045c2a607fe sp:7fffbbe9f590 error:0 in dnschanger[60537fe,6045beab5000+8996000]
Jul 11 17:57:31 eh3ano systemd[3469]: update-notifier-crash.service: Unit process 23314 (dnschanger) remains running after unit stopped.
Jul 11 17:57:31 eh3ano systemd[3469]: update-notifier-crash.service: Unit process 23317 (dnschanger) remains running after unit stopped.
Jul 11 17:58:36 eh3ano kernel: audit: type=1400 audit(1783780116.837:286): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=23768 comm="dnschanger" requested="userns_create" target="unprivileged_userns" execpath="/opt/DNS Changer/dnschanger"
Jul 11 17:58:36 eh3ano kernel: audit: type=1400 audit(1783780116.839:287): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=23773 comm="dnschanger" capability=21 capname="sys_admin"
Jul 11 17:58:36 eh3ano dnschanger.desktop[23768]: [23768:0711/175836.843766:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/DNS Changer/chrome-sandbox is owned by root and has mode 4755.
Jul 11 17:58:36 eh3ano kernel: traps: dnschanger[23768] trap int3 ip:5fbc433e57fe sp:7ffe657be7d0 error:0 in dnschanger[60537fe,5fbc3f43a000+8996000]
Jul 11 17:58:36 eh3ano systemd[3469]: Started app-gnome-dnschanger-23768.scope - Application launched by gnome-shell.
Jul 12 08:51:27 eh3ano systemd[3554]: Started app-gnome-dnschanger-5665.scope - Application launched by gnome-shell.
Jul 12 08:51:27 eh3ano kernel: audit: type=1400 audit(1783833687.575:268): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=5665 comm="dnschanger" requested="userns_create" target="unprivileged_userns" execpath="/opt/DNS Changer/dnschanger"
Jul 12 08:51:27 eh3ano kernel: audit: type=1400 audit(1783833687.577:269): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=5668 comm="dnschanger" capability=21 capname="sys_admin"
Jul 12 08:51:27 eh3ano dnschanger.desktop[5665]: [5665:0712/085127.587246:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/DNS Changer/chrome-sandbox is owned by root and has mode 4755.
Jul 12 08:51:27 eh3ano kernel: traps: dnschanger[5665] trap int3 ip:5cf699aa97fe sp:7fff3ffcaac0 error:0 in dnschanger[60537fe,5cf695afe000+8996000]
Jul 12 08:55:18 eh3ano kernel: audit: type=1400 audit(1783833918.703:276): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=7991 comm="dnschanger" requested="userns_create" target="unprivileged_userns" execpath="/opt/DNS Changer/dnschanger"
Jul 12 08:55:18 eh3ano kernel: audit: type=1400 audit(1783833918.705:277): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=7993 comm="dnschanger" capability=21 capname="sys_admin"
Jul 12 08:55:18 eh3ano kernel: traps: dnschanger[7991] trap int3 ip:604f56b5d7fe sp:7ffffb6e2a60 error:0 in dnschanger[60537fe,604f52bb2000+8996000]
Jul 12 08:55:42 eh3ano sudo[8000]: eh3an : TTY=/dev/pts/0 ; PWD=/home/eh3an/Downloads/ABDM/Programs ; USER=root ; COMMAND=/usr/bin/apt remove dnschanger
Jul 31 00:20:25 eh3ano kernel: audit: type=1400 audit(1785444625.507:332): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=50790 comm="dnschanger" requested="userns_create" target="unprivileged_userns" execpath="/opt/DNS Changer/dnschanger"
Jul 31 00:20:25 eh3ano kernel: audit: type=1400 audit(1785444625.509:333): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=50793 comm="dnschanger" capability=21 capname="sys_admin"
Jul 31 00:20:25 eh3ano dnschanger.desktop[50790]: [50790:0731/002025.514667:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/DNS Changer/chrome-sandbox is owned by root and has mode 4755.
Jul 31 00:20:25 eh3ano kernel: traps: dnschanger[50790] trap int3 ip:5e80003f67fe sp:7ffece084fd0 error:0 in dnschanger[60537fe,5e7ffc44b000+8996000]
Jul 31 00:20:25 eh3ano systemd[3891]: Started app-gnome-dnschanger-50790.scope - Application launched by gnome-shell.
Jul 31 00:20:29 eh3ano update-notifier-crash[50817]: dnschanger
Jul 31 00:26:55 eh3ano sudo[52859]: eh3an : TTY=/dev/pts/2 ; PWD=/home/eh3an/Downloads/ABDM/Programs ; USER=root ; COMMAND=/opt/DNS Changer/dnschanger --no-zygote --no-sandbox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions