MEGAsync
MEGAsync copied to clipboard
Segment fault at startup
Hi all,
megasync crashes at startup. I am running Fedora 34 on a Thinkpad X395.
MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: 643b2a81ae48a3e0cd5682355a1f3637
Version code: 4503.0
Module name: megasync
Timestamp: 1633544098908
Operating system: Linux
System version: fedora 34/#1 SMP Thu Sep 30 11:55:35 UTC 2021
System release: 5.14.9-200.fc34.x86_64
System arch: x86_64
Error info:
Segmentation fault (11) at address 0
Stacktrace:
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7fba5f90c4f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7fba5f90c4f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP32AuthenticatedSymmetricCipherBase6SetKeyEPKhmRKNS_14NameValuePairsE+0x32) [0x7fba5f8f7762]
/lib64/libcryptopp.so.8(_ZN8CryptoPP21SimpleKeyingInterface12SetKeyWithIVEPKhmS2_m+0x11e) [0x7fba5f8d539e]
megasync(+0x26165e) [0x561c22b0065e]
megasync(+0x1e13ea) [0x561c22a803ea]
megasync(+0x2c5b1e) [0x561c22b64b1e]
megasync(+0x290928) [0x561c22b2f928]
/lib64/libQt5Core.so.5(+0xe94a6) [0x7fba5cc514a6]
/lib64/libpthread.so.0(+0x9299) [0x7fba5cb50299]
/lib64/libc.so.6(clone+0x43) [0x7fba5c6fa353]
cryptopp-8.6.0-1.fc34.x86_64 is currently installed. Megasync will start without a problem after downgrading to cryptopp-8.4.0-2.fc34.x86_64.
Thanks in advance.
Thanks for the report. The fix with the updated cryptoapp will be released soon.
Same here on a Thinkpad X1 running Fedora 34
MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: 683c590b94ff8030fb83d165eb379ff7
Version code: 4503.1
Module name: megasync
Timestamp: 1633666384846
Operating system: Linux
System version: fedora 34/#1 SMP Thu Sep 30 11:55:35 UTC 2021
System release: 5.14.9-200.fc34.x86_64
System arch: x86_64
Error info:
Speicherzugriffsfehler (11) at address 0
Stacktrace:
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7fce159134f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7fce159134f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP32AuthenticatedSymmetricCipherBase6SetKeyEPKhmRKNS_14NameValuePairsE+0x32) [0x7fce158fe762]
/lib64/libcryptopp.so.8(_ZN8CryptoPP21SimpleKeyingInterface12SetKeyWithIVEPKhmS2_m+0x11e) [0x7fce158dc39e]
megasync() [0x6986bc]
megasync() [0x636d8b]
megasync() [0x775167]
megasync() [0x77c600]
megasync() [0x77c6fc]
/lib64/libQt5Core.so.5(+0xe94a6) [0x7fce13e4f4a6]
/lib64/libpthread.so.0(+0x9299) [0x7fce13cc7299]
/lib64/libc.so.6(clone+0x43) [0x7fce13829353]
Now there was an update (in reality a downgrade) from 4503.1 to 4503.0 which does not solve the problem.
MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: e7638041239ac97033c6a754b2727527
Version code: 4503.0
Module name: megasync
Timestamp: 1633676125310
Operating system: Linux
System version: fedora 34/#1 SMP Thu Sep 30 11:55:35 UTC 2021
System release: 5.14.9-200.fc34.x86_64
System arch: x86_64
Error info:
Speicherzugriffsfehler (11) at address 0
Stacktrace:
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7f8f491534f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7f8f491534f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP32AuthenticatedSymmetricCipherBase6SetKeyEPKhmRKNS_14NameValuePairsE+0x32) [0x7f8f4913e762]
/lib64/libcryptopp.so.8(_ZN8CryptoPP21SimpleKeyingInterface12SetKeyWithIVEPKhmS2_m+0x11e) [0x7f8f4911c39e]
megasync(+0x26165e) [0x563b7cac965e]
megasync(+0x1e13ea) [0x563b7ca493ea]
megasync(+0x2c5b1e) [0x563b7cb2db1e]
megasync(+0x290928) [0x563b7caf8928]
/lib64/libQt5Core.so.5(+0xe94a6) [0x7f8f464984a6]
/lib64/libpthread.so.0(+0x9299) [0x7f8f46397299]
/lib64/libc.so.6(clone+0x43) [0x7f8f45f41353]
Although I have been facing the same problem, I think this is a duplicate of #627 (although different Fedora versions are being mentioned, the problem is the same).
MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: 5ff5aaf07bc421bc2c5373e9b6e20954
Version code: 4503.0
Module name: megasync
Timestamp: 1633980872934
Operating system: Linux
System version: fedora 34/#1 SMP Thu Sep 30 11:55:35 UTC 2021
System release: 5.14.9-200.fc34.x86_64
System arch: x86_64
Error info:
Segmentation fault (11) at address 0
Stacktrace:
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7fc045f874f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7fc045f874f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP32AuthenticatedSymmetricCipherBase6SetKeyEPKhmRKNS_14NameValuePairsE+0x32) [0x7fc045f72762]
/lib64/libcryptopp.so.8(_ZN8CryptoPP21SimpleKeyingInterface12SetKeyWithIVEPKhmS2_m+0x11e) [0x7fc045f5039e]
megasync(+0x26165e) [0x55d2d3bc165e]
megasync(+0x1e13ea) [0x55d2d3b413ea]
megasync(+0x2c5b1e) [0x55d2d3c25b1e]
megasync(+0x290928) [0x55d2d3bf0928]
/lib64/libQt5Core.so.5(+0xe94a6) [0x7fc0432cc4a6]
/lib64/libpthread.so.0(+0x9299) [0x7fc0431cb299]
/lib64/libc.so.6(clone+0x43) [0x7fc042d75353]
------------------------------
MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: 6832271ca75bc6129ddac7439abb67d2
Version code: 4503.0
Module name: megasync
Timestamp: 1633980864210
Operating system: Linux
System version: fedora 34/#1 SMP Thu Sep 30 11:55:35 UTC 2021
System release: 5.14.9-200.fc34.x86_64
System arch: x86_64
Error info:
Segmentation fault (11) at address 0
Stacktrace:
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7f89bd85a4f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x41) [0x7f89bd85a4f1]
/lib64/libcryptopp.so.8(_ZN8CryptoPP32AuthenticatedSymmetricCipherBase6SetKeyEPKhmRKNS_14NameValuePairsE+0x32) [0x7f89bd845762]
/lib64/libcryptopp.so.8(_ZN8CryptoPP21SimpleKeyingInterface12SetKeyWithIVEPKhmS2_m+0x11e) [0x7f89bd82339e]
megasync(+0x26165e) [0x5585fc5d465e]
megasync(+0x1e13ea) [0x5585fc5543ea]
megasync(+0x2c5b1e) [0x5585fc638b1e]
megasync(+0x290928) [0x5585fc603928]
/lib64/libQt5Core.so.5(+0xe94a6) [0x7f89bab9f4a6]
/lib64/libpthread.so.0(+0x9299) [0x7f89baa9e299]
/lib64/libc.so.6(clone+0x43) [0x7f89ba648353]
Facing the same issue. tried compiling from git repo but it doesn't compile (final execution of make
), even though I followed the instructions.
Thorwing a bunch of errors (this is a list of only the error lines, not the full compiler ouput):
./control/MegaController.h:71:39: error: ‘std::function’ has not been declared
./control/MegaController.h:73:69: error: class ‘ProgressFuncExecuterListener’ does not have any field named ‘onRequestFinishCallback’
control/Utilities.h:230:47: error: ‘Q_NULLPTR’ was not declared in this scope
./control/MegaController.h:73:103: error: ‘func’ was not declared in this scope
./control/Utilities.h:230:47: error: ‘Q_NULLPTR’ was not declared in this scope
control/Utilities.h:230:47: error: ‘Q_NULLPTR’ was not declared in this scope
./control/MegaController.h:59:10: error: ‘function’ in namespace ‘std’ does not name a template type
./control/MegaController.h:71:39: error: ‘std::function’ has not been declared
./control/MegaController.h:73:69: error: class ‘ProgressFuncExecuterListener’ does not have any field named ‘onRequestFinishCallback’
control/Utilities.h:230:47: error: ‘Q_NULLPTR’ was not declared in this scope
So unfortunately that doesn't work for now either.
downgrading cryptopp
to version 8.4.0-2 fixes the error temporarily, as the OP described.
~~The new 4.5.3-3.1 version does not have the bug. However, it seems (at least in Fedora 34) that whenever I perform a dnf update, the new version gets replaced with the old (with the bug) version 4.5.3.0-1.~~
Nevermind, I got the version scheme wrong. 4.5.3-3.1 is the old version.
Through the brilliant advice from @polmr in Issue #627, this was fixed for me on Fedora 34 because of a "disagreement" between the mega packages—i.e., megasync
and nautilus-megasync
—in the MEGAsync and RPM Fusion repos.
By excluding megasync
and nautilus-megasync
in /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
, uninstalled the "tainted" packages, and reinstalling them from the MEGAsync repo, everything works as expected now.
occurs for me on arch with megasync 4.5.3.0-2