From owner-freebsd-gecko@FreeBSD.ORG Fri Apr 22 08:09:08 2011 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF653106564A; Fri, 22 Apr 2011 08:09:08 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9648FC0A; Fri, 22 Apr 2011 08:09:08 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 36E354; Fri, 22 Apr 2011 10:09:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Fri, 22 Apr 2011 10:09:08 +0200 From: Bernhard Froehlich To: =?UTF-8?Q?=D0=98=D0=BB=D1=8C=D1=8F_=D0=95=D1=80=D0=BC=D0=BE=D0=BB?= =?UTF-8?Q?=D0=B8=D0=BD?= In-Reply-To: References: Message-ID: <845eeed9cbe6d6f8c965611575a23d85@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0208.4DB137A3.0087,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: ports@FreeBSD.org, gecko@FreeBSD.org Subject: Re: firefox crash - because of pthread_attr_setdetachstate X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2011 08:09:08 -0000 On Fri, 22 Apr 2011 11:12:48 +0400, Илья Ермолин wrote: > As I can see from settings PGO allready disabled Yeah, sorry have seen it too late. >From the stacktrace it looks like it's somewhere in the gnome area and someone with more knowledge about glib or pthread should check that line: GThread-ERROR **: file gthread-posix.c: line 340 (g_thread_create_posix_impl): error 'Invalid Argument' during 'pthread_attr_setdetachstate (&attr, joinable ? PTHREAD_CREATE_JOINABLE : PTHREAD_CREATE_DETACHED)' I've cc'd ports@ because there are a few more clever people. :o) -- Bernhard Froehlich http://www.bluelife.at/ > 2011/4/22 Bernhard Froehlich > >> On Fri, 22 Apr 2011 10:35:58 +0400, Илья Ермолин wrote: >> > Hi, >> > I have firefox4 builded from ports, but its crashes with strange >> back >> > trace... >> > >> > [cgi@free-cgi ~]$ firefox -g >> > /usr/local/lib/firefox/run-mozilla.sh -g >> /usr/local/lib/firefox/firefox-bin >> > MOZILLA_FIVE_HOME=/usr/local/lib/firefox >> > >> > >> > LD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/plugins:/usr/local/lib/firefox >> > DISPLAY=:0.0 >> > DYLD_LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox >> > >> > >> > LIBRARY_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox/components:/usr/local/lib/firefox >> >       >>  SHLIB_PATH=/usr/local/lib/firefox:/usr/local/lib/firefox >> >           >> LIBPATH=/usr/local/lib/firefox:/usr/local/lib/firefox >> >        ADDON_PATH=/usr/local/lib/firefox >> >       MOZ_PROGRAM=/usr/local/lib/firefox/firefox-bin >> >       MOZ_TOOLKIT= >> >         moz_debug=1 >> >      moz_debugger= >> > moz_debugger_args= >> > ddd: not found >> > /usr/bin/gdb  --args /usr/local/lib/firefox/firefox-bin >> > GNU gdb 6.1.1 [FreeBSD] >> > Copyright 2004 Free Software Foundation, Inc. >> > GDB is free software, covered by the GNU General Public License, >> and you are >> > welcome to change it and/or distribute copies of it under certain >> > conditions. >> > Type "show copying" to see the conditions. >> > There is absolutely no warranty for GDB.  Type "show warranty" >> for details. >> > This GDB was configured as "amd64-marcel-freebsd"... >> > (gdb) r >> > Starting program: /usr/local/lib/firefox/firefox-bin >> > [New LWP 100307] >> > [New Thread 809c041c0 (LWP 100307)] >> > >> > GThread-ERROR **: file gthread-posix.c: line 340 >> > (g_thread_create_posix_impl): error Недопустимый >> аргумент during >> > pthread_attr_setdetachstate (&attr, joinable ? >> PTHREAD_CREATE_JOINABLE : >> > PTHREAD_CREATE_DETACHED) >> > aborting... >> >>>>> Недопустимый аргумент - is Invalid >> Argument in translation from >> > Russian >> > >> > (gdb) bt >> > #0  0x00000008063c6fcc in kill () from /lib/libc.so.7 >> > #1  0x00000008063c5dcb in abort () from /lib/libc.so.7 >> > #2  0x00000008057ccc05 in g_logv () from >> /usr/local/lib/libglib-2.0.so.0 >> > #3  0x00000008057cced3 in g_log () from >> /usr/local/lib/libglib-2.0.so.0 >> > #4  0x000000080567c184 in g_thread_create_posix_impl () >> >    from /usr/local/lib/libgthread-2.0.so.0 >> > #5  0x00000008057ea060 in g_thread_create_full () >> >    from /usr/local/lib/libglib-2.0.so.0 >> > #6  0x0000000804f897e5 in g_dbus_proxy_get_cached_property_names >> () >> >    from /usr/local/lib/libgio-2.0.so.0 >> > #7  0x0000000804f7b37c in g_dbus_connection_get_stream () >> >    from /usr/local/lib/libgio-2.0.so.0 >> > #8  0x0000000804f775f7 in g_bus_get_sync () from >> > /usr/local/lib/libgio-2.0.so.0 >> > #9  0x000000080bb4acbd in gconf_get_server () >> >    from /usr/local/lib/libgconf-2.so.4 >> > #10 0x000000080bb4af45 in gconf_activate_server () >> >    from /usr/local/lib/libgconf-2.so.4 >> > #11 0x000000080bb57924 in gconf_get_config_server () >> >    from /usr/local/lib/libgconf-2.so.4 >> > #12 0x000000080bb58434 in gconf_engine_connect () >> >    from /usr/local/lib/libgconf-2.so.4 >> > #13 0x000000080bb58639 in gconf_engine_get_database () >> >    from /usr/local/lib/libgconf-2.so.4 >> > ---Type to continue, or q to quit--- >> > #14 0x000000080bb58d37 in gconf_engine_notify_add () >> >    from /usr/local/lib/libgconf-2.so.4 >> > #15 0x000000080bb60bea in gconf_client_add_dir () >> >    from /usr/local/lib/libgconf-2.so.4 >> > #16 0x0000000809e578c2 in gnome_gtk_module_info_get () >> >    from /usr/local/lib/libgnomeui-2.so.0 >> > #17 0x000000080a352b03 in gnome_program_postinit () >> >    from /usr/local/lib/libgnome-2.so.0 >> > #18 0x000000080a352ea3 in gnome_program_postinit () >> >    from /usr/local/lib/libgnome-2.so.0 >> > #19 0x000000080a3530fd in gnome_program_initv () >> >    from /usr/local/lib/libgnome-2.so.0 >> > #20 0x000000080a3531f4 in gnome_program_init () >> >    from /usr/local/lib/libgnome-2.so.0 >> > #21 0x0000000800bfca76 in nsNativeAppSupportUnix::Start >> (this=Variable >> > "this" is not available. >> > ) >> >     at nsNativeAppSupportUnix.cpp:533 >> > #22 0x0000000800beef3f in XRE_main (argc=Variable "argc" is not >> available. >> > ) at nsAppRunner.cpp:3364 >> > #23 0x0000000000401416 in main (argc=1, argv=0x7fffffffe240) >> >     at nsBrowserApp.cpp:158 >> > >> > Some additiional info: >> > [cgi@free-cgi ~]$ uname -a >> > FreeBSD free-cgi.neoflex.ru [1] 8.2-RELEASE FreeBSD 8.2-RELEASE >> #3: Sun Mar  6 >> > 13:40:59 MSK 2011 >> > root@free-cgi.neoflex.ru:/usr/obj/usr/src/sys/FREE-SL510-01 >> > amd64 >> > >> > In this test I dont use any x11-wm, but just before starting >> firefox I run >> > this commands: >> > [cgi@free-cgi ~]$ Xorg & >> > [cgi@free-cgi ~]$ export DISPLAY=:0.0 >> > >> > Options for firefox build: >> > >> > [cgi@free-cgi /var/db/ports/firefox]$ cat options >> > # This file is auto-generated by make config. >> > # No user-servicable parts inside! >> > # Options for firefox-4.0_1,1 >> > _OPTIONS_READ=firefox-4.0_1,1 >> > WITHOUT_DBUS=true >> > WITHOUT_PGO=true >> > WITH_SMB=true >> > WITH_DEBUG=true >> > WITHOUT_LOGGING=true >> > WITHOUT_OPTIMIZED_CFLAGS=true >> > >> > pkg_info output attached... >> >> Please try disabling PGO. >> >> -- >> Bernhard Fröhlich >> http://www.bluelife.at/ [2]