From owner-freebsd-ports-bugs@freebsd.org Sat Jul 20 17:26:26 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 84ACAC3211 for ; Sat, 20 Jul 2019 17:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 654D28993D for ; Sat, 20 Jul 2019 17:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 62EBFC320E; Sat, 20 Jul 2019 17:26:26 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62AC0C320D for ; Sat, 20 Jul 2019 17:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 447748993C for ; Sat, 20 Jul 2019 17:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1FFC3DB76 for ; Sat, 20 Jul 2019 17:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x6KHQPSg080695 for ; Sat, 20 Jul 2019 17:26:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x6KHQPOv080693 for ports-bugs@FreeBSD.org; Sat, 20 Jul 2019 17:26:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239349] segfault on nextcloud because of glib2 Date: Sat, 20 Jul 2019 17:26:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lfen@tuta.io X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 447748993C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2019 17:26:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239349 Bug ID: 239349 Summary: segfault on nextcloud because of glib2 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: lfen@tuta.io packages: nextcloudclient and glib-2=20 nextcloudclient was working fine, until 2 days ago. I dont know why, but I get segfault and the issue may be in glib-2 I just had to start nextcloud to get the crash (after maybe 2 seconds of wa= it). Here is what gdb see at crash time. Thread 1 received signal SIGSEGV, Segmentation fault. 0x000000080d40772f in g_strfreev () from /usr/local/lib/libglib-2.0.so.0 (gdb) bt #0 0x000000080d40772f in g_strfreev () at /usr/local/lib/libglib-2.0.so.0 #1 0x000000080d43115a in g_spawn_command_line_sync () at /usr/local/lib/libglib-2.0.so.0 #2 0x000000080d2582c1 in () at /usr/local/lib/libgio-2.0.so.0 #3 0x000000080d257e5d in g_dbus_address_get_for_bus_sync () at /usr/local/lib/libgio-2.0.so.0 #4 0x000000080d264578 in () at /usr/local/lib/libgio-2.0.so.0 #5 0x000000080d264679 in g_bus_get () at /usr/local/lib/libgio-2.0.so.0 #6 0x000000080bbd80aa in () at /usr/local/lib/libsecret-1.so.0 #7 0x000000080d1d4837 in g_async_initable_new_valist_async () at /usr/local/lib/libgio-2.0.so.0 #8 0x000000080d1d4754 in g_async_initable_new_async () at /usr/local/lib/libgio-2.0.so.0 #9 0x000000080bbd582b in secret_service_get () at /usr/local/lib/libsecret-1.so.0 #10 0x000000080bbd06f7 in secret_service_lookup () at /usr/local/lib/libsecret-1.so.0 #11 0x000000080bbd2b1c in secret_password_lookup () at /usr/local/lib/libsecret-1.so.0 #12 0x0000000801b92e45 in LibSecretKeyring::findPassword(QString const&, QString const&, QKeychain::JobPrivate*) () at /usr/local/lib/libqt5keychain.so.1 #13 0x0000000801b8b833 in QKeychain::ReadPasswordJobPrivate::scheduledStart= () () at /usr/local/lib/libqt5keychain.so.1 #14 0x0000000801b8adaa in QKeychain::JobExecutor::startNextIfNoneRunning() = () at /usr/local/lib/libqt5keychain.so.1 #15 0x0000000801b8a47c in QKeychain::JobExecutor::enqueue(QKeychain::Job*) = () at /usr/local/lib/libqt5keychain.so.1 #16 0x000000080cc6a7d1 in QObject::event(QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5 #17 0x000000080be819e1 in QApplicationPrivate::notify_helper(QObject*, QEve= nt*) () at /usr/local/lib/qt5/libQt5Widgets.so.5 #18 0x000000080be82f28 in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5 #19 0x000000080cc3e111 in QCoreApplication::notifyInternal2(QObject*, QEven= t*) () at /usr/local/lib/qt5/libQt5Core.so.5 #20 0x000000080cc3f1e3 in QCoreApplicationPrivate::sendPostedEvents(QObject= *, int, QThreadData*) () at /usr/local/lib/qt5/libQt5Core.so.5 #21 0x000000080cc97b78 in () at /usr/local/lib/qt5/libQt5Core.so.5 #22 0x000000080d3e6b77 in g_main_context_dispatch () at /usr/local/lib/libglib-2.0.so.0 #23 0x000000080d3e6f03 in () at /usr/local/lib/libglib-2.0.so.0 #24 0x000000080d3e6fb4 in g_main_context_iteration () at /usr/local/lib/libglib-2.0.so.0 #25 0x000000080cc97546 in QEventDispatcherGlib::processEvents(QFlags) = () at /usr/local/lib/qt5/libQt5Core.so.5 #26 0x000000080cc39a0e in QEventLoop::exec(QFlags) () at /usr/local/lib/qt5/libQt5Core.so.5 #27 0x000000080cc3e82e in QCoreApplication::exec() () at /usr/local/lib/qt5/libQt5Core.so.5 #28 0x000000000118ff73 in () #29 0x000000000117d10b in () #30 0x00000008012e0000 in () #31 0x0000000000000000 in () My log file [OCC::Application::setupLogging "################## Nextcloud locale:[en_US] ui_lang:[] version:[2.5.3git] os:[FreeBSD 12.0-RELEASE-p7]" [OCC::(anonymous namespace)::applicationTrPath Running from build location! Translations may be incomplete! [OCC::Application::setupTranslations Using "en_US" translation [unknown QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abdel' [OCC::SocketApi::SocketApi server started, listening at=20 "/tmp/runtime-abdel/Nextcloud/socket" [OCC::FolderMan::FolderMan setting remote poll timer interval to 5000 = msec [OCC::AccountManager::loadAccountHelper Account for QUrl("https://192.168.5.2") using auth type "webflow" [OCC::WebFlowCredentials::createQNAM Get QNAM [OCC::ownCloudGui::setupContextMenu Tray menu workarounds: noabouttosho= w: false fakedoubleclick: false showhide: false manualvisibility: false [OCC::AccessManager::createRequest 6 "GET" "https://192.168.5.2/ocs/v2.php/core/navigation/apps?absolute=3Dtrue&format= =3Djson" has X-Request-ID "14495008-9794-43db-b136-32284ddabe48" [OCC::AbstractNetworkJob::start OCC::OcsNavigationAppsJob created f= or "https://192.168.5.2" + "ocs/v2.php/core/navigation/apps" "" [OCC::FolderMan::setupFolders Setup folders from settings file [OCC::ConfigFile::setupDefaultExcludeFilePaths Adding user defined ignore = list to csync: "/home/abdel/.config/Nextcloud/sync-exclude.lst" [OCC::FolderMan::addFolderInternal Adding folder to Folder Map=20 OCC::Folder(0x81aece800) "1" [OCC::FolderMan::scheduleFolder Schedule folder "1" to sync! [OCC::FolderMan::scheduleFolder Folder is not ready to sync, not scheduled! [OCC::ownCloudGui::slotSyncStateChange Sync state changed for folder=20 "https://192.168.5.2/remote.php/webdav/" : "Not yet Started" [OCC::SyncJournalDb::checkConnect sqlite3 version "3.28.0" [OCC::SyncJournalDb::checkConnect sqlite3 journal_mode=3D "wal" [OCC::ClientProxy::setupQtProxyFromConfig Set proxy configuration to = use the prefered system proxy for http tcp connections [OCC::WebFlowCredentials::fetchFromKeychain Fetch from keyhchain! [unknown static bool LibSecretKeyring::findPassword(const QString &, const QString &, QKeychain::JobPrivate *) to get this log I ran the application with following argument nextcloud --logflush --logdebug --logdir /tmp/nxtcdbg other info: # nextcloud --version Nextcloud version 2.5.2git Git revision ca624def40d5e431bc84a157ffba1bc187d5ecee Using Qt 5.12.2, built against Qt 5.12.2 Using 'OpenSSL 1.1.1a-freebsd 20 Nov 2018' # which nextcloud /usr/local/bin/nextcloud Important note: All packages were installed using binary packages (pkg command). And I trie= d to remove glib-2 and I installed it from ports (/usr/ports/devel/glib20), and I added -g flag and enabled debugging and now nextcloud is working again. And yes my binaris were updated when i had the crash. (few hours ago from n= ow) --=20 You are receiving this mail because: You are the assignee for the bug.=