{"action":"created","issue":{"url":"https://api.github.com/repos/meganz/MEGAsync/issues/232","repository_url":"https://api.github.com/repos/meganz/MEGAsync","labels_url":"https://api.github.com/repos/meganz/MEGAsync/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/meganz/MEGAsync/issues/232/comments","events_url":"https://api.github.com/repos/meganz/MEGAsync/issues/232/events","html_url":"https://github.com/meganz/MEGAsync/issues/232","id":368089590,"node_id":"MDU6SXNzdWUzNjgwODk1OTA=","number":232,"title":"segfaults with QT_SCALE_FACTOR=1","user":{"login":"dreamcat4","id":63074,"node_id":"MDQ6VXNlcjYzMDc0","avatar_url":"https://avatars3.githubusercontent.com/u/63074?v=4","gravatar_id":"","url":"https://api.github.com/users/dreamcat4","html_url":"https://github.com/dreamcat4","followers_url":"https://api.github.com/users/dreamcat4/followers","following_url":"https://api.github.com/users/dreamcat4/following{/other_user}","gists_url":"https://api.github.com/users/dreamcat4/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamcat4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamcat4/subscriptions","organizations_url":"https://api.github.com/users/dreamcat4/orgs","repos_url":"https://api.github.com/users/dreamcat4/repos","events_url":"https://api.github.com/users/dreamcat4/events{/privacy}","received_events_url":"https://api.github.com/users/dreamcat4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-09T08:11:57Z","updated_at":"2018-11-27T21:16:38Z","closed_at":null,"author_association":"NONE","body":"Everything was OK, until I tried also logging in to my account on Firefox. At which point the `megasync` program began crashing. And then immediately upon re-launch. Clearing my user settings folder did allow me to then see a login screen. But immediately upon login in, it crashes again. This seems to be something strange.\r\n\r\nHere is a dump from existing user data folder (immediately upon startup, no GUI is shown)\r\n\r\n```\r\nMEGAprivate ERROR DUMP\r\nApplication: MEGAsync\r\nVersion code: 3701.0\r\nModule name: megasync\r\nOperating system: Linux\r\nSystem version:  ubuntu 18.04/#201810032137 SMP PREEMPT Thu Oct 4 01:43:36 UTC 2018\r\nSystem release:  4.18.12-041812-lowlatency\r\nSystem arch: x86_64\r\nError info:\r\nSegmentation fault (11) at address 0x7f1cd6643260\r\nStacktrace:\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e685c) [0x7f1cbfff885c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e685c) [0x7f1cbfff885c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e6d1f) [0x7f1cbfff8d1f]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e74f8) [0x7f1cbfff94f8]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN11QMessageBox9addButtonENS_14StandardButtonE+0x11) [0x7f1cc0082501]\r\n/usr/bin/megasync(+0x16d1cd) [0x55d2baf991cd]\r\n/usr/bin/megasync(+0x33005e) [0x55d2bb15c05e]\r\n/usr/bin/megasync(+0xd9f33) [0x55d2baf05f33]\r\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f1cbd91ab97]\r\n/usr/bin/megasync(+0xdaa9a) [0x55d2baf06a9a]\r\n```\r\n\r\n\r\nand here is a crash dump from deleted user settings folder, then 'login screen' in the megasync utility window, then immediate crash upon clicking the 'login' button.\r\n\r\n\r\nCleared user data folder. Fresh login attempt. Correct username email. Incorrect password:\r\n\r\n```\r\nMEGAprivate ERROR DUMP\r\nApplication: MEGAsync\r\nVersion code: 3701.0\r\nModule name: megasync\r\nOperating system: Linux\r\nSystem version:  ubuntu 18.04/#201810032137 SMP PREEMPT Thu Oct 4 01:43:36 UTC 2018\r\nSystem release:  4.18.12-041812-lowlatency\r\nSystem arch: x86_64\r\nError info:\r\nSegmentation fault (11) at address 0x7fb53f093260\r\nStacktrace:\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e685c) [0x7fb528a4885c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e685c) [0x7fb528a4885c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e6d1f) [0x7fb528a48d1f]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e74f8) [0x7fb528a494f8]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN11QMessageBox9addButtonENS_14StandardButtonE+0x11) [0x7fb528ad2501]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x373316) [0x7fb528ad5316]\r\n/usr/bin/megasync(+0x10ff9f) [0x564f8de0ff9f]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0x9b) [0x7fb5275520db]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c) [0x7fb5288b682c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2a4) [0x7fb5288be0f4]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x118) [0x7fb5275229a8]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1ed) [0x7fb52752511d]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2e42c3) [0x7fb52757c2c3]\r\n/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7) [0x7fb523abc287]\r\n/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c4c0) [0x7fb523abc4c0]\r\n/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fb523abc54c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5f) [0x7fb52757b8ef]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x13a) [0x7fb5275209ea]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x94) [0x7fb527529a84]\r\n/usr/bin/megasync(+0xd9f40) [0x564f8ddd9f40]\r\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fb52636ab97]\r\n/usr/bin/megasync(+0xdaa9a) [0x564f8dddaa9a]\r\n```\r\n\r\nThen I can restart the program. This time the tray icon and it's menu loads up OK. 'Show Status' then opens the login screen (not logged in). And Settings goes to Proxies tab. But all the settings tabs and options are greyed out / cannot click on them.\r\n\r\nAt this point I try to login again. But this time with my correct password. And click 'Next'. It then asks me if i want a full sync or selective sync. I click 'skip'.\r\n\r\nCan edit settings now. Then I try to add a sync folder, in there. I click on the 'local folder' text box. And it immediately crashes again. With the following dump:\r\n\r\n```\r\nMEGAprivate ERROR DUMP\r\nApplication: MEGAsync\r\nVersion code: 3701.0\r\nModule name: megasync\r\nOperating system: Linux\r\nSystem version:  ubuntu 18.04/#201810032137 SMP PREEMPT Thu Oct 4 01:43:36 UTC 2018\r\nSystem release:  4.18.12-041812-lowlatency\r\nSystem arch: x86_64\r\nError info:\r\nSegmentation fault (11) at address 0x7fdae50d6378\r\nStacktrace:\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e685c) [0x7fdacea8b85c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e685c) [0x7fdacea8b85c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x353a81) [0x7fdaceaf8a81]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x34e8b9) [0x7fdaceaf38b9]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN18QFileDialogPrivate4initERK4QUrlRK7QStringS5_+0x248) [0x7fdaceaf4f78]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN11QFileDialogC2EP7QWidgetRK7QStringS4_S4_+0x8d) [0x7fdaceaf517d]\r\n/usr/bin/megasync(+0x1296da) [0x564d6bb746da]\r\n/usr/bin/megasync(+0x11b5e8) [0x564d6bb665e8]\r\n/usr/bin/megasync(+0x33867e) [0x564d6bd8367e]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x929) [0x7fdacd594679]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN15QAbstractButton7clickedEb+0x42) [0x7fdace9eab82]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x245d9a) [0x7fdace9ead9a]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x24717a) [0x7fdace9ec17a]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0xfd) [0x7fdace9ec36d]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN7QWidget5eventEP6QEvent+0x1f8) [0x7fdace938038]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c) [0x7fdace8f982c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x7ff) [0x7fdace90164f]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x118) [0x7fdacd5659a8]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x1d2) [0x7fdace900622]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1ae14b) [0x7fdace95314b]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1b07ba) [0x7fdace9557ba]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c) [0x7fdace8f982c]\r\n/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2a4) [0x7fdace9010f4]\r\n/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x118) [0x7fdacd5659a8]\r\n/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE+0x6f3) [0x7fdace13d523]\r\n/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE+0x135) [0x7fdace13eff5]\r\n/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xab) [0x7fdace1162eb]\r\n/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x9d1c0) [0x7fdac03081c0]\r\n/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7) [0x7fdac9aff287]\r\n/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c4c0) [0x7fdac9aff4c0]\r\n/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fdac9aff54c]\r\n```\r\n\r\nAnd I didn't even finish the 'add sync folder' operation. Because had not selected the remote folder yet, the one in the mega account.\r\n\r\nSo basically: It can login without crashing. But cannot add any sync folders whatsoever. Immediately it crashes."},"comment":{"url":"https://api.github.com/repos/meganz/MEGAsync/issues/comments/442220031","html_url":"https://github.com/meganz/MEGAsync/issues/232#issuecomment-442220031","issue_url":"https://api.github.com/repos/meganz/MEGAsync/issues/232","id":442220031,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjIyMDAzMQ==","user":{"login":"dreamcat4","id":63074,"node_id":"MDQ6VXNlcjYzMDc0","avatar_url":"https://avatars3.githubusercontent.com/u/63074?v=4","gravatar_id":"","url":"https://api.github.com/users/dreamcat4","html_url":"https://github.com/dreamcat4","followers_url":"https://api.github.com/users/dreamcat4/followers","following_url":"https://api.github.com/users/dreamcat4/following{/other_user}","gists_url":"https://api.github.com/users/dreamcat4/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamcat4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamcat4/subscriptions","organizations_url":"https://api.github.com/users/dreamcat4/orgs","repos_url":"https://api.github.com/users/dreamcat4/repos","events_url":"https://api.github.com/users/dreamcat4/events{/privacy}","received_events_url":"https://api.github.com/users/dreamcat4/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T21:16:38Z","updated_at":"2018-11-27T21:16:38Z","author_association":"NONE","body":"Hi again. What have you been doing towards fixing this QT related bug? May I make a small suggestion:\r\n\r\nThis bug only occurs when adding a ***local* sync folder, by clicking on the icon next to the emtpy textbox. And that is when it is supposed to open the file dialog. But crashes instead of displaying anything.\r\n\r\nWell this has been happening again to me today, and unfortunately the unsetting of QT_SCALE_FACTOR env variable is not working anymore.\r\n\r\nSo my suggestion is: just make that test box free text editable\r\n\r\n![Image of the problem text field, that is not editable](https://i.imgur.com/xOboyzo.png)\r\n\r\nThen it crashes, due to some QT bug. Stacktrace:\r\n\r\nhttps://gist.github.com/dreamcat4/e42dc45c9634b97cdf09cc8f857dbf98\r\n\r\nJust please - give me an alternative way to enter the local sync folder path. With copy-paste (ctrl+v). Or Free text entry by the keyboard. Then you can fix this bug on your own schedule without drastically affecting user(s) in the meantime. Thank you."}}
{"actor":{"display_login":"dreamcat4"}}