From owner-freebsd-xfce@FreeBSD.ORG Sun May 3 07:02:39 2015 Return-Path: Delivered-To: xfce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E9E58B7 for ; Sun, 3 May 2015 07:02:39 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 185521B10 for ; Sun, 3 May 2015 07:02:38 +0000 (UTC) Received: by wgin8 with SMTP id n8so123086867wgi.0 for ; Sun, 03 May 2015 00:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=BNLUD5feafMdwae6XTZpfnpR3HhFSRK+bsMagIj1imA=; b=W90NKr0dbUm3QpwLE71ZBBAorFBRJUghzAkK4QXru8cB9J1ISS4dJ0JFMWPx+H5bYG liIkwx5o0f8EZ+PyvXBPhSRedqmFtCB5C9PpNr+84+73U4fsX2o8sYBP2B282Y0dy95S /qSZe3fuEWRQuLGAVWo4oDnIKrTDsOI14OmWxpJ4aUz2CtBTHhYXl8AA4cY3ZdKIL0DU gcfCxfR84aP9097Gz14ZTiPFgUU7b3TpiHD4pXlQInN/vz95B9eKE/u34tP09FpUC8ym zH5CJFINmsPXPtrYwGEr0HH8zh2O7bs7b1G677J16yTUnWREDgzNoWiMK/V34f4ROVFi 4Jrg== X-Received: by 10.194.62.132 with SMTP id y4mr31593227wjr.91.1430636556664; Sun, 03 May 2015 00:02:36 -0700 (PDT) Received: from chouffe (AMarseille-655-1-742-86.w109-208.abo.wanadoo.fr. [109.208.195.86]) by mx.google.com with ESMTPSA id xb3sm14795644wjc.38.2015.05.03.00.02.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 May 2015 00:02:35 -0700 (PDT) Date: Sun, 3 May 2015 09:02:51 +0200 From: Olivier Duchateau To: Will Brokenbourgh Cc: xfce@FreeBSD.org Subject: Re: FreeBSD Port: Thunar-1.6.7_1 Message-Id: <20150503090251.7d1b0d7921103071d817fd32@gmail.com> In-Reply-To: <55459528.4040809@yahoo.com> References: <55457444.2090305@yahoo.com> <55457E52.3040508@yahoo.com> <55459528.4040809@yahoo.com> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.27; i386-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2015 07:02:39 -0000 On Sat, 02 May 2015 20:25:28 -0700 Will Brokenbourgh via freebsd-xfce wrote: > On 05/02/15 18:48, Will Brokenbourgh wrote: > > On 05/02/15 18:05, Will Brokenbourgh wrote: > >> Greetings maintainers! Thank you for all of your hard work! :-) > >> > >> I am using the binary package of Thunar on FreeBSD 10.1 amd64. It has > >> now crashed several times since my clean system install yesterday, > >> and almost every crash the error message is: > >> > >>> GLib (gthread-posix.c): Unexpected error from C library during > >>> 'pthread_mutex_lock': Invalid argument. Aborting. > >> > >> The crashes seem to happen during moderate disk usage, but there is > >> no definite pattern and trying to intentionally crash it repeatedly > >> is difficult. > >> > >> First notable crash was when I had selected several files with Thunar > >> in ~/.local/share/applications using Ctrl+left click, then > >> right-clicked one of the selected items and chose 'Delete'. In the > >> middle of the delete operation, Thunar crashed with the above message. > >> > >> Another notable crash: Thunar was opened to a folder in my home > >> folder, sitting unused and idle, minimized/iconified. I opened xterm > >> (from lxpanel, NOT Thunar), then performed 'sudo pkg install > >> smplayer'. Thunar crashed with the above message at the latter part > >> of the package installation. I have noticed a few times in the past > >> that some apps will crash while sitting idle when I am performing > >> operations with pkg in xterm. > >> > >> I have also tried building Thunar from the ports tree with > >> WITH_DEBUG, but when I opened the core dump with gdb, the backtrace > >> only provided useless numeric addresses, no function names or files. > >> > >> uname -a: > >>> FreeBSD will-freebsd 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue > >>> Apr 7 01:09:46 UTC 2015 > >>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > >> > >> dmesg at time of crash: > >>> pid 941 (thunar), uid 1001: exited on signal 6 (core dumped) > >> > >> Other apps running: > >> openbox, lxpanel, thunderbird, firefox and xterm > >> > >> Hardware info: > >> * AMD 6-core processor (dmesg: "AMD FX(tm)-6300 Six-Core > >> Processor (3511.78-MHz K8-class CPU)") > >> * Asus M5A97 LE R2.0 motherboard > >> * Radeon HD 5450 video card > >> * 8 GB RAM > >> * 500 GB 7,200 RPM Samsung hdd (dmesg: "SAMSUNG HD502HJ 1AJ10001") > >> > >> On Ubuntu and other Linux distros, Thunar is very stable and hasn't > >> crashed like this on the same hardware. > >> > >> Please let me know if I need to provide additional information. > >> > >> Thank you and God bless! :-) > >> > >> Will Brokenbourgh > >> > > > > Hello again, maintainers, > > > > I was finally able to get Thunar built with debug symbols and started > > it under gdb. In Thunar, I navigated to a folder in my home > > directory, double-clicked a sound file to play it, then minimized > > Thunar. I then performed the following commands repeatedly and Thunar > > crashed while sitting unused/idle: > > > > sudo pkg remove -y smplayer && \ > > sudo pkg autoremove -y && \ > > sudo pkg clean -ay && \ > > sudo pkg install -y smplayer && \ > > sudo ldconfig > > > > The gdb output and backtrace are below: > > - - - - - > > will@will-freebsd:~ % gdb thunar > > GNU gdb 6.1.1 [FreeBSD] > > Copyright 2004 Free Software Foundation, Inc. > > [...snip...] > > This GDB was configured as "amd64-marcel-freebsd"... > > (gdb) r > > Starting program: /usr/local/bin/thunar > > [New LWP 101083] > > [New Thread 80a006400 (LWP 101083/thunar)] > > [New Thread 80a301000 (LWP 101096/thunar)] > > This is SMPlayer v. 14.9.0 running on Other OS > > GLib (gthread-posix.c): Unexpected error from C library during > > 'pthread_mutex_lock': Invalid argument. Aborting. > > [New Thread 80a010000 (LWP 101094/thunar)] > > > > Program received signal SIGABRT, Aborted. > > [Switching to Thread 80a010000 (LWP 101094/thunar)] > > 0x0000000803e0c6ca in thr_kill () from /lib/libc.so.7 > > (gdb) bt > > #0 0x0000000803e0c6ca in thr_kill () from /lib/libc.so.7 > > #1 0x0000000803ee1149 in abort () from /lib/libc.so.7 > > #2 0x0000000803920c55 in g_mutex_lock () from > > /usr/local/lib/libglib-2.0.so.0 > > #3 0x0000000803920c1e in g_mutex_lock () from > > /usr/local/lib/libglib-2.0.so.0 > > #4 0x00000008030eaebb in g_file_monitor_emit_event () from > > /usr/local/lib/libgio-2.0.so.0 > > #5 0x00000008038dbfb8 in g_main_context_dispatch () from > > /usr/local/lib/libglib-2.0.so.0 > > #6 0x00000008038dc34e in g_main_context_pending () from > > /usr/local/lib/libglib-2.0.so.0 > > #7 0x00000008038dc3d4 in g_main_context_iteration () from > > /usr/local/lib/libglib-2.0.so.0 > > #8 0x00000008038ddbb6 in g_main_context_invoke_full () from > > /usr/local/lib/libglib-2.0.so.0 > > #9 0x000000080390202a in g_thread_unref () from > > /usr/local/lib/libglib-2.0.so.0 > > #10 0x0000000802c524f5 in pthread_create () from /lib/libthr.so.3 > > #11 0x0000000000000000 in ?? () > > - - - - - > > > > If I can provide any other information, please let me know. > > > > Thank you! :-) > > > > Will Brokenbourgh > > Hello again maintainers, > > On closer inspection, this appears to be a problem with devel/glib20, > and not Thunar, as I am now seeing Firefox and Thunderbird crashing with > the same error message. > > I have submitted a problem report on the bug tracker for glib: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199872 > > Thank you, :-) > > Will Brokenbourgh Hi Will, Thanks you for you feedback about Thunar. I known some users reported that Thunar crashes [1], [2] often. I think it's better to add also your backtrace, in order to help developers. Thunar is rather complex, sorry :( Regards, [1] https://bugzilla.xfce.org/show_bug.cgi?id=10596 [2] https://bugzilla.xfce.org/show_bug.cgi?id=11880 > > _______________________________________________ > freebsd-xfce@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xfce > To unsubscribe, send any mail to "freebsd-xfce-unsubscribe@freebsd.org" -- olivier