spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

Deluge 2.1.1-17 Segmentation fault on synology_armadaxp_ds214

Open vasamaximov opened this issue 1 year ago • 9 comments

Is this a new Bug?

  • [X] I checkd that the bug hasn't been reported before

Package Name

Deluge

Package Version

2.1.1-17

Device Model

ds214

Device Architecture

ARMv7

Firmware Version

DSM 6.2.4-25556 Update 6

What happened?

The spinner is shown for a minute when I click Run under the Deluge section in the WEBUI, and then nothing happens. When executed in the shell, deluge gives this:

root@DiskStation:~# /volume1/@appstore/deluge/env/bin/deluge Segmentation fault (core dumped) root@DiskStation:~# /volume1/@appstore/deluge/env/bin/deluge-web Segmentation fault (core dumped) root@DiskStation:~# /volume1/@appstore/deluge/env/bin/deluge-console Segmentation fault (core dumped)

Reproduction steps

1. Upgrade Deluge to the latest version from SynoCommunity packages
2. Click Run under the Deluge section in the Synology WEBUI
Result: the package tries to load but it leads to nothing, the button remain "run" again as if package didn't load.
3. or: login via ssh 
4. run /volume1/@appstore/deluge/env/bin/deluge
Result:
Segmentation fault (core dumped)

Install Log

2022/09/25 19:28:06     upgrade deluge 2.0.3-13 Begin start-stop-status stop
Stopping deluge ...
2022/09/25 19:28:09     upgrade deluge 2.0.3-13 End start-stop-status stop ret=[0]
Traceback (most recent call last):
  File "/volume1/@appstore/deluge/env/bin/deluged", line 11, in <module>
    load_entry_point('deluge==2.0.3', 'console_scripts', 'deluged')()
  File "/volume1/@appstore/deluge/env/lib/python2.7/site-packages/deluge-2.0.3-py2.7.egg/deluge/core/daemon_entry.py", line 142, in start_daemon
    run_daemon, options, output_file=options.profile, do_profile=options.profile
  File "/volume1/@appstore/deluge/env/lib/python2.7/site-packages/deluge-2.0.3-py2.7.egg/deluge/common.py", line 1344, in run_profiled
    return func(*args)
  File "/volume1/@appstore/deluge/env/lib/python2.7/site-packages/deluge-2.0.3-py2.7.egg/deluge/core/daemon_entry.py", line 139, in run_daemon
    os.remove(options.pidfile)
OSError: [Errno 2] No such file or directory: '/volume1/@appstore/deluge/var/deluge.pid'
2022/09/25 19:28:11     upgrade deluge 2.0.3-13 Begin preupgrade
2022/09/25 19:28:12     Begin reload_inst_variables
2022/09/25 19:28:12     End reload_inst_variables
2022/09/25 19:28:12     Begin initialize_variables
2022/09/25 19:28:12     End initialize_variables
2022/09/25 19:28:12     ===> Step preupgrade. USER=deluge GROUP=sc-download SHARE_PATH=/volume1/video
2022/09/25 19:28:21     upgrade deluge 2.0.3-13 End preupgrade ret=[0]
2022/09/25 19:28:21     upgrade deluge 2.0.3-13 Begin preuninst
2022/09/25 19:28:21     ===> Step preuninst. USER=deluge GROUP=sc-download SHARE_PATH=/volume1/video/dnl/
2022/09/25 19:28:22     upgrade deluge 2.0.3-13 End preuninst ret=[0]
2022/09/25 19:28:22     upgrade deluge 2.0.3-13 Begin /bin/rm -rf /volume1/@appstore/deluge
2022/09/25 19:28:24     upgrade deluge 2.0.3-13 End /bin/rm -rf /volume1/@appstore/deluge ret=[0]
2022/09/25 19:28:24     upgrade deluge 2.0.3-13 Begin postuninst
2022/09/25 19:28:24     ===> Step postuninst. USER=deluge GROUP=sc-download SHARE_PATH=/volume1/video/dnl/
2022/09/25 19:28:24     upgrade deluge 2.0.3-13 End postuninst ret=[0]
2022/09/25 19:28:25     upgrade deluge 2.1.1-17 Begin preinst
2022/09/25 19:28:26     Begin reload_inst_variables
2022/09/25 19:28:26     End reload_inst_variables
2022/09/25 19:28:26     Begin initialize_variables
2022/09/25 19:28:26     End initialize_variables
2022/09/25 19:28:26     ===> Step preinst. USER=deluge GROUP=sc-download SHARE_PATH=/volume1/video
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End preinst ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/rm -rf /volume1/@appstore/deluge
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/rm -rf /volume1/@appstore/deluge ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/deluge
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/deluge ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/mkdir -p /var/packages/deluge
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/mkdir -p /var/packages/deluge ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/deluge/INFO
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/deluge/INFO ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/rm -rf /var/packages/deluge/scripts
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/rm -rf /var/packages/deluge/scripts ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/deluge/scripts
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/deluge/scripts ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/rm -rf /var/packages/deluge/WIZARD_UIFILES
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/rm -rf /var/packages/deluge/WIZARD_UIFILES ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/deluge/WIZARD_UIFILES
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/mv -f /volume1/@tmp/pkginstall/WIZARD_UIFILES /var/packages/deluge/WIZARD_UIFILES ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/rm -rf /var/packages/deluge/conf
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/rm -rf /var/packages/deluge/conf ret=[0]
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/deluge/conf
2022/09/25 19:28:26     upgrade deluge 2.1.1-17 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/deluge/conf ret=[0]
2022/09/25 19:28:27     upgrade deluge 2.1.1-17 Begin postinst
2022/09/25 19:28:28     Begin reload_inst_variables
2022/09/25 19:28:28     End reload_inst_variables
2022/09/25 19:28:28     Begin initialize_variables
2022/09/25 19:28:28     End initialize_variables
2022/09/25 19:28:28     ===> Step postinst. USER=deluge GROUP=sc-download SHARE_PATH=/volume1/video
2022/09/25 19:28:28     Begin save_wizard_variables
2022/09/25 19:28:28     End save_wizard_variables
2022/09/25 19:28:29     Configuring /volume1/video
2022/09/25 19:28:29     Begin service_postinst
2022/09/25 19:28:29     Python 3.10.6
2022/09/25 19:29:32     Requirement already satisfied: pip in /volume1/@appstore/deluge/env/lib/python3.10/site-packages (22.2.1)
2022/09/25 19:29:34     Collecting pip
2022/09/25 19:29:35       Downloading pip-22.2.2-py3-none-any.whl (2.0 MB)
2022/09/25 19:29:36          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 2.3 MB/s eta 0:00:00
2022/09/25 19:29:38     Installing collected packages: pip
2022/09/25 19:29:38       Attempting uninstall: pip
2022/09/25 19:29:38         Found existing installation: pip 22.2.1
2022/09/25 19:29:43         Uninstalling pip-22.2.1:
2022/09/25 19:29:43           Successfully uninstalled pip-22.2.1
2022/09/25 19:30:00     Successfully installed pip-22.2.2
2022/09/25 19:30:03     Install packages from wheels
2022/09/25 19:30:03     Install packages from wheels [/volume1/@appstore/deluge/share/wheelhouse/requirements.txt]
2022/09/25 19:30:09     WARNING: The directory '/volume1/@appstore/deluge/var/pip-cache' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
2022/09/25 19:30:10     Looking in links: /volume1/@appstore/deluge/share/wheelhouse
2022/09/25 19:30:11     Collecting Automat==20.2.0
2022/09/25 19:30:11       Downloading Automat-20.2.0-py2.py3-none-any.whl (31 kB)
2022/09/25 19:30:11     Processing /volume1/@appstore/deluge/share/wheelhouse/GeoIP-1.3.2-cp310-cp310-linux_armv7l.whl
2022/09/25 19:30:12     Collecting Mako==1.2.1
2022/09/25 19:30:12       Downloading Mako-1.2.1-py3-none-any.whl (78 kB)
2022/09/25 19:30:12          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 1.3 MB/s eta 0:00:00
2022/09/25 19:30:13     Processing /volume1/@appstore/deluge/share/wheelhouse/MarkupSafe-2.1.1-cp310-cp310-linux_armv7l.whl
2022/09/25 19:30:14     Collecting Twisted==22.4.0
2022/09/25 19:30:14       Downloading Twisted-22.4.0-py3-none-any.whl (3.1 MB)
2022/09/25 19:30:15          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 4.6 MB/s eta 0:00:00
2022/09/25 19:30:16     Collecting attrs==22.1.0
2022/09/25 19:30:16       Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB)
2022/09/25 19:30:16          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 9.3 MB/s eta 0:00:00
2022/09/25 19:30:19     Processing /volume1/@appstore/deluge/share/wheelhouse/cffi-1.15.1-cp310-cp310-linux_armv7l.whl
2022/09/25 19:30:19     Collecting constantly==15.1.0
2022/09/25 19:30:19       Downloading constantly-15.1.0-py2.py3-none-any.whl (7.9 kB)
2022/09/25 19:30:23     Processing /volume1/@appstore/deluge/share/wheelhouse/cryptography-3.3.2-cp310-cp310-linux_armv7l.whl
2022/09/25 19:30:23     Collecting deluge==2.1.1
2022/09/25 19:30:23       Downloading deluge-2.1.1-py3-none-any.whl (3.7 MB)
2022/09/25 19:30:24          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 5.4 MB/s eta 0:00:00
2022/09/25 19:30:24     Collecting hyperlink==21.0.0
2022/09/25 19:30:25       Downloading hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
2022/09/25 19:30:25          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.6/74.6 kB 9.2 MB/s eta 0:00:00
2022/09/25 19:30:25     Collecting idna==3.3
2022/09/25 19:30:25       Downloading idna-3.3-py3-none-any.whl (61 kB)
2022/09/25 19:30:25          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 9.6 MB/s eta 0:00:00
2022/09/25 19:30:25     Collecting incremental==21.3.0
2022/09/25 19:30:25       Downloading incremental-21.3.0-py2.py3-none-any.whl (15 kB)
2022/09/25 19:30:26     Processing /volume1/@appstore/deluge/share/wheelhouse/libtorrent-1.2.17-cp310-cp310-linux_armv7l.whl
2022/09/25 19:30:26     Collecting pyOpenSSL==21.0.0
2022/09/25 19:30:26       Downloading pyOpenSSL-21.0.0-py2.py3-none-any.whl (55 kB)
2022/09/25 19:30:26          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.1/55.1 kB 9.6 MB/s eta 0:00:00
2022/09/25 19:30:27     Collecting pyasn1-modules==0.2.8
2022/09/25 19:30:27       Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
2022/09/25 19:30:27          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 9.4 MB/s eta 0:00:00
2022/09/25 19:30:28     Collecting pyasn1==0.4.8
2022/09/25 19:30:28       Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
2022/09/25 19:30:28          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 9.5 MB/s eta 0:00:00
2022/09/25 19:30:28     Collecting pycparser==2.21
2022/09/25 19:30:28       Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
2022/09/25 19:30:28          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 9.4 MB/s eta 0:00:00
2022/09/25 19:30:28     Collecting pyxdg==0.28
2022/09/25 19:30:28       Downloading pyxdg-0.28-py2.py3-none-any.whl (49 kB)
2022/09/25 19:30:28          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.5/49.5 kB 9.6 MB/s eta 0:00:00
2022/09/25 19:30:29     Processing /volume1/@appstore/deluge/share/wheelhouse/rencode-1.0.6-cp37-abi3-linux_armv7l.whl
2022/09/25 19:30:29     Collecting service-identity==21.1.0
2022/09/25 19:30:29       Downloading service_identity-21.1.0-py2.py3-none-any.whl (12 kB)
2022/09/25 19:30:29     Collecting typing_extensions==4.3.0
2022/09/25 19:30:29       Downloading typing_extensions-4.3.0-py3-none-any.whl (25 kB)
2022/09/25 19:30:32     Processing /volume1/@appstore/deluge/share/wheelhouse/zope.interface-5.4.0-cp310-cp310-linux_armv7l.whl
2022/09/25 19:30:32     Collecting six
2022/09/25 19:30:32       Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
2022/09/25 19:30:37     Collecting twisted[tls]>=17.1
2022/09/25 19:30:37       Downloading Twisted-22.8.0-py3-none-any.whl (3.1 MB)
2022/09/25 19:30:38          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 5.3 MB/s eta 0:00:00
2022/09/25 19:30:43     Collecting setuptools
2022/09/25 19:30:43       Downloading setuptools-65.4.0-py3-none-any.whl (1.2 MB)
2022/09/25 19:30:43          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 5.8 MB/s eta 0:00:00
2022/09/25 19:30:58     Installing collected packages: rencode, pyxdg, pyasn1, libtorrent, incremental, GeoIP, constantly, typing_extensions, six, setuptools, pycparser, pyasn1-modules, MarkupSafe, idna, attrs, zope.interface, Mako, hyperlink, cffi, Automat, Twisted, cryptography, service-identity, pyOpenSSL, deluge
2022/09/25 19:31:01       Attempting uninstall: six
2022/09/25 19:31:01         Found existing installation: six 1.16.0
2022/09/25 19:31:01         Not uninstalling six at /volume1/@appstore/python310/lib/python3.10/site-packages, outside environment /volume1/@appstore/deluge/env
2022/09/25 19:31:01         Can't uninstall 'six'. No files were found to uninstall.
2022/09/25 19:31:01       Attempting uninstall: setuptools
2022/09/25 19:31:01         Found existing installation: setuptools 63.2.0
2022/09/25 19:31:03         Uninstalling setuptools-63.2.0:
2022/09/25 19:31:04           Successfully uninstalled setuptools-63.2.0
2022/09/25 19:32:04     Successfully installed Automat-20.2.0 GeoIP-1.3.2 Mako-1.2.1 MarkupSafe-2.1.1 Twisted-22.4.0 attrs-22.1.0 cffi-1.15.1 constantly-15.1.0 cryptography-3.3.2 deluge-2.1.1 hyperlink-21.0.0 idna-3.3 incremental-21.3.0 libtorrent-1.2.17 pyOpenSSL-21.0.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.21 pyxdg-0.28 rencode-1.0.6 service-identity-21.1.0 setuptools-65.4.0 six-1.16.0 typing_extensions-4.3.0 zope.interface-5.4.0
2022/09/25 19:32:06     Installed modules:
2022/09/25 19:32:11     attrs==22.1.0
2022/09/25 19:32:11     Automat==20.2.0
2022/09/25 19:32:11     certifi==2022.9.14
2022/09/25 19:32:11     cffi==1.15.1
2022/09/25 19:32:11     constantly==15.1.0
2022/09/25 19:32:11     cryptography==3.3.2
2022/09/25 19:32:11     deluge==2.1.1
2022/09/25 19:32:11     distlib==0.3.5
2022/09/25 19:32:11     filelock==3.8.0
2022/09/25 19:32:11     GeoIP==1.3.2
2022/09/25 19:32:11     hyperlink==21.0.0
2022/09/25 19:32:11     idna==3.3
2022/09/25 19:32:11     incremental==21.3.0
2022/09/25 19:32:11     libtorrent==1.2.17
2022/09/25 19:32:11     Mako==1.2.1
2022/09/25 19:32:11     MarkupSafe==2.1.1
2022/09/25 19:32:11     platformdirs==2.5.2
2022/09/25 19:32:11     pyasn1==0.4.8
2022/09/25 19:32:11     pyasn1-modules==0.2.8
2022/09/25 19:32:11     pycparser==2.21
2022/09/25 19:32:11     pyOpenSSL==21.0.0
2022/09/25 19:32:11     pyxdg==0.28
2022/09/25 19:32:11     rencode==1.0.6
2022/09/25 19:32:11     service-identity==21.1.0
2022/09/25 19:32:11     six==1.16.0
2022/09/25 19:32:11     Twisted==22.4.0
2022/09/25 19:32:11     typing_extensions==4.3.0
2022/09/25 19:32:11     virtualenv==20.16.3
2022/09/25 19:32:11     zope.interface==5.4.0
2022/09/25 19:32:12     End service_postinst
2022/09/25 19:32:12     Granting 'sc-deluge' unix ownership on /volume1/@appstore/deluge/var
2022/09/25 19:32:12     upgrade deluge 2.1.1-17 End postinst ret=[0]
2022/09/25 19:32:12     upgrade deluge 2.1.1-17 Begin postupgrade
2022/09/25 19:32:12     Begin reload_inst_variables
2022/09/25 19:32:12     End reload_inst_variables
2022/09/25 19:32:12     Begin initialize_variables
2022/09/25 19:32:12     End initialize_variables
2022/09/25 19:32:12     ===> Step postupgrade. USER=deluge GROUP=sc-download SHARE_PATH=/volume1/video
2022/09/25 19:32:20     Granting 'sc-deluge' unix ownership on /volume1/@appstore/deluge/var
2022/09/25 19:32:20     Begin service_postupgrade
2022/09/25 19:32:21     Setting-up group ACL permissions
2022/09/25 19:32:21     Granting 'sc-deluge' unix ownership on /volume1/video/incomplete
2022/09/25 19:32:21     ACL version: 1
2022/09/25 19:32:21     Archive: has_ACL,is_support_ACL
2022/09/25 19:32:21     Owner: [sc-deluge(user)]
2022/09/25 19:32:21     ---------------------
2022/09/25 19:32:21              [0] group:administrators:allow:rwxpdDaARWc--:fd--  (level:0)
2022/09/25 19:32:21     Granting 'sc-download' group permissions on /volume1/video/incomplete
2022/09/25 19:32:21     ACL version: 1
2022/09/25 19:32:21     Archive: has_ACL,is_support_ACL
2022/09/25 19:32:21     Owner: [sc-deluge(user)]
2022/09/25 19:32:21     ---------------------
2022/09/25 19:32:21              [0] group:administrators:allow:rwxpdDaARWc--:fd--  (level:0)
2022/09/25 19:32:21              [1] group:sc-download:allow:rwxpdDaARWcC-:fd--  (level:0)
2022/09/25 19:32:21     Granting 'sc-deluge' unix ownership on /volume1/video/complete
2022/09/25 19:32:21     ACL version: 1
2022/09/25 19:32:21     Archive: has_ACL,is_support_ACL
2022/09/25 19:32:21     Owner: [sc-deluge(user)]
2022/09/25 19:32:21     ---------------------
2022/09/25 19:32:21              [0] group:administrators:allow:rwxpdDaARWc--:fd--  (level:0)
2022/09/25 19:32:21     Granting 'sc-download' group permissions on /volume1/video/complete
2022/09/25 19:32:21     ACL version: 1
2022/09/25 19:32:21     Archive: has_ACL,is_support_ACL
2022/09/25 19:32:21     Owner: [sc-deluge(user)]
2022/09/25 19:32:21     ---------------------
2022/09/25 19:32:21              [0] group:administrators:allow:rwxpdDaARWc--:fd--  (level:0)
2022/09/25 19:32:21              [1] group:sc-download:allow:rwxpdDaARWcC-:fd--  (level:0)
2022/09/25 19:32:21     Granting 'sc-deluge' unix ownership on /volume1/video/watch
2022/09/25 19:32:21     ACL version: 1
2022/09/25 19:32:21     Archive: has_ACL,is_support_ACL
2022/09/25 19:32:21     Owner: [sc-deluge(user)]
2022/09/25 19:32:22     ---------------------
2022/09/25 19:32:22              [0] group:administrators:allow:rwxpdDaARWc--:fd--  (level:0)
2022/09/25 19:32:22     Granting 'sc-download' group permissions on /volume1/video/watch
2022/09/25 19:32:22     ACL version: 1
2022/09/25 19:32:22     Archive: has_ACL,is_support_ACL
2022/09/25 19:32:22     Owner: [sc-deluge(user)]
2022/09/25 19:32:22     ---------------------
2022/09/25 19:32:22              [0] group:administrators:allow:rwxpdDaARWc--:fd--  (level:0)
2022/09/25 19:32:22              [1] group:sc-download:allow:rwxpdDaARWcC-:fd--  (level:0)
2022/09/25 19:32:22     End service_postupgrade
2022/09/25 19:32:22     upgrade deluge 2.1.1-17 End postupgrade ret=[0]
2022/09/25 19:32:29     upgrade deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 19:32:30     upgrade deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 19:32:32     upgrade deluge 2.1.1-17 Begin /bin/rm -rf /volume1/@tmp/pkginstall
2022/09/25 19:32:32     upgrade deluge 2.1.1-17 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
2022/09/25 19:36:24     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 19:36:25     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/09/25 19:36:26     start deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 19:36:27     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 19:39:57     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 19:39:58     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/09/25 19:39:59     start deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 19:40:00     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 19:43:22     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 19:43:22     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/09/25 19:43:24     start deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 19:43:25     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 19:48:11     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 19:48:11     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/09/25 19:48:12     start deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 19:48:13     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 19:51:11     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 19:51:12     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/09/25 19:51:13     start deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 19:51:14     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 19:53:19     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 19:53:20     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/09/25 19:53:21     start deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 19:53:22     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 19:57:27     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 19:57:27     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/09/25 19:57:30     start deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 19:57:31     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 20:00:16     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 20:00:17     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/09/25 20:00:18     start deluge 2.1.1-17 Begin start-stop-status start
2022/09/25 20:00:19     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/09/25 20:03:40     start deluge 2.1.1-17 Begin start-stop-status stop
2022/09/25 20:03:41     start deluge 2.1.1-17 End start-stop-status stop ret=[0]

Service Log

--

Other Logs

======================================

tail -f /volume1/@appstore/deluge/var/deluge.log

deluge is not running
Starting deluge ...
tail: /volume1/@appstore/deluge/var/deluge.log: file truncated
Sat Oct 15 17:28:25 +03 2022
Starting deluge command /volume1/@appstore/deluge/env/bin/deluged -c /volume1/@appstore/deluge/var  -l /volume1/@appstore/deluge/var/logs/deluged.log -L info --logrotate -P /volume1/@appstore/deluge/var/logs/deluged.pid -d
Starting deluge command /volume1/@appstore/deluge/env/bin/deluge-web -c /volume1/@appstore/deluge/var  -l /volume1/@appstore/deluge/var/logs/deluge-web.log -L info --logrotate -P /volume1/@appstore/deluge/var/logs/deluge-web.pid -d

======================================

tail -f /var/log/*
==> /var/log/synofeasibilitycheck.log <==
2022-10-15T17:17:25+03:00 DiskStation synoscgi_SYNO.Core.Package_1_feasibility_check[26240]: feasibility_check.cpp:87 FeasibilityCheck: [Info] Start feasibility check [package_start] with type [hard].
2022-10-15T17:17:26+03:00 DiskStation synoscgi_SYNO.Core.Package_1_feasibility_check[26240]: feasibility_check.cpp:106 FeasibilityCheck: [Info] [0] of feasibility check [package_start] failed.
2022-10-15T17:17:26+03:00 DiskStation synoscgi_SYNO.Core.Package_1_feasibility_check[26240]: feasibility_check.cpp:79 FeasibilityCheck: [Info] No [package_start] feasibility check config with type [soft].

==> /var/log/messages <==
2022-10-15T17:17:28+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: pkgtool.cpp:3136 Package diskutils stops but service pkgctl-diskutils start
2022-10-15T17:17:29+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: pkgtool.cpp:3136 Package mc stops but service pkgctl-mc start
2022-10-15T17:17:30+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: pkgtool.cpp:3136 Package tmux stops but service pkgctl-tmux start
2022-10-15T17:17:32+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: pkgtool.cpp:3136 Package diskutils stops but service pkgctl-diskutils start
2022-10-15T17:17:34+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: pkgtool.cpp:3136 Package mc stops but service pkgctl-mc start
2022-10-15T17:17:36+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: pkgtool.cpp:3136 Package tmux stops but service pkgctl-tmux start

==> /var/log/synopkg.log <==
2022/10/15 17:17:36     start deluge: begin to stop version 2.1.1-17

==> /var/log/synoservice.log <==
2022-10-15T17:17:36+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: service_stop.c:23 synoservice: [pkgctl-deluge] stopping ...

==> /var/log/synopkg.log <==
2022/10/15 17:17:37     start deluge 2.1.1-17 Begin start-stop-status stop
2022/10/15 17:17:38     start deluge 2.1.1-17 End start-stop-status stop ret=[0]
2022/10/15 17:17:38     start deluge 2.1.1-17 Begin unload apparmor
2022/10/15 17:17:38     start deluge 2.1.1-17 End unload apparmor ret=[0]
2022/10/15 17:17:38     start deluge: stop version 2.1.1-17 successfully, result 0
2022/10/15 17:17:38     start deluge: begin to start version 2.1.1-17

==> /var/log/synoservice.log <==
2022-10-15T17:17:38+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: service_stop.c:86 synoservice: [pkgctl-deluge] stopped.
2022-10-15T17:17:38+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: service_start.c:74 synoservice: [pkgctl-deluge] starting ...

==> /var/log/synopkg.log <==
2022/10/15 17:17:39     start deluge 2.1.1-17 Begin pre-load apparmor
2022/10/15 17:17:39     start deluge 2.1.1-17 End pre-load apparmor ret=[0]
2022/10/15 17:17:39     start deluge 2.1.1-17 Begin start-stop-status start
2022/10/15 17:17:40     start deluge 2.1.1-17 End start-stop-status start ret=[0]
2022/10/15 17:17:41     start deluge: start version 2.1.1-17 successfully, result 0

==> /var/log/synoservice.log <==
2022-10-15T17:17:41+03:00 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[26295]: service_start.c:178 synoservice: [pkgctl-deluge] started.

==> /var/log/messages <==
2022-10-15T17:17:48+03:00 DiskStation coredump: Process deluged[27025] dumped core on signal [11].
2022-10-15T17:17:49+03:00 DiskStation coredump: Process deluge-web[27026] dumped core on signal [11].

==> /var/log/bash_err.log <==
2022-10-15T17:17:53+03:00 DiskStation sh: BASH_ERR: builtin_error [ (1)"/sbin/init" -> (27049)"synoscgi_SYNO.Core.Package_2_list" -> (27256)"/bin/sh /var/packages/deluge/scripts/start-stop-status status" ] /var/packages/deluge/scripts/start-stop-status:123: kill: (27025) - No such process
2022-10-15T17:17:53+03:00 DiskStation sh: BASH_ERR: builtin_error [ (1)"/sbin/init" -> (27049)"synoscgi_SYNO.Core.Package_2_list" -> (27256)"/bin/sh /var/packages/deluge/scripts/start-stop-status status" ] /var/packages/deluge/scripts/start-stop-status:123: kill: (27026) - No such process

==> /var/log/rm.log <==
2022-10-15T17:17:53+03:00 DiskStation rm: uid: 280533, euid: 280533, arguments:["-f" "/volume1/@appstore/deluge/var/deluge.pid"]

==> /var/log/messages <==
2022-10-15T17:17:54+03:00 DiskStation synoscgi_SYNO.Core.Package_2_list[27041]: list.cpp:329 SYNO.Core.Package.list rollback to direct call

vasamaximov avatar Oct 15 '22 15:10 vasamaximov

also, there are the following *.core files in the /volume1/ dir (attached) @deluge.core.gz @deluge-console.core.gz @deluged.core.gz @deluge-web.core.gz

vasamaximov avatar Oct 15 '22 15:10 vasamaximov

Same issue, but on a different platform: https://github.com/SynoCommunity/spksrc/issues/5419

vasamaximov avatar Oct 19 '22 15:10 vasamaximov

@vanillicacid @th0ma7 Same behavior on DS214play with Intel Atom CE5335 Evansport (32bit)

certrik avatar Oct 31 '22 15:10 certrik

I've initiated a new PR #5477 for updating libtorrent versions. This may (or not) fix the build issues found. To be clear, from all the logs and info gathered so far, the issue seems to be hapening "only" on 32-bit arch running DSM 6.x. I sadly cannot reproduce as I either have 64-bit DSM6 or 32-bit DSM7 at home.

If this does not work I have an alternate option which could be, for the sake of finding where the issue lies, dropping the 32-bit DSM6 libtorrent version down to a working point. I could then create 1) a build specific for this use-case and 2) provide more info to libtorrent developpers on when exactly the issue started hapening. Although, for this to hapen I'll be needing testers, potentially numerous time, to confirm how it's behaving.

On that, testers welcomed once the github-action build complete, to test out output from PR #5477 using the updated version of the library.

th0ma7 avatar Nov 03 '22 23:11 th0ma7

@vanillicacid and @certrik Package for testing located here: https://github.com/SynoCommunity/spksrc/actions/runs/3390023823

th0ma7 avatar Nov 04 '22 21:11 th0ma7

I'm experiencing exactly the same issue on a DS414 and unfortunately the new packages for testing posted above make no difference.

itssimon avatar Nov 08 '22 00:11 itssimon

Thnx @itssimon for testing this out. I've just reverted to a much older version (1.2.10) for 32-bit in hope to find where/when this build issue started. Can you test out the updated version once the github-action from the check tab once it complete building?

th0ma7 avatar Nov 08 '22 12:11 th0ma7

Manually installed python 3.10 and then Deluge packages from Packages for armv7-6.1 for my DSM 6.2.4-25556 Update 6:

packages/deluge.log:2022/11/10 15:59:15 Successfully installed Automat-20.2.0 GeoIP-1.3.2 Mako-1.2.1 MarkupSafe-2.1.1 Twisted-22.4.0 attrs-22.1.0 cffi-1.15.1 constantly-15.1.0 cryptography-3.3.2 deluge-2.1.1 hyperlink-21.0.0 idna-3.3 incremental-21.3.0 libtorrent-1.2.18 pyOpenSSL-21.0.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.21 pyxdg-0.28 rencode-1.0.6 service-identity-21.1.0 setuptools-65.5.1 six-1.16.0 typing_extensions-4.3.0 zope.interface-5.4.0

it upgraded the libtorrent package to 1.2.18, but still no luck, the same behavior when starting Deluge:

==> /var/log/messages <==
2022-11-10T16:01:00+03:00 DiskStation coredump: Process deluged[26398] dumped core on signal [11].
2022-11-10T16:01:01+03:00 DiskStation coredump: Process deluge-web[26399] dumped core on signal [11].

vasamaximov avatar Nov 10 '22 13:11 vasamaximov

Here are the dumps: @deluged.core.gz @deluge-web.core.gz

vasamaximov avatar Nov 10 '22 13:11 vasamaximov