From unknown Fri Jun 20 20:05:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8110: 23.2; Crash when starting as root Resent-From: Eli Barzilay Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Feb 2011 11:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8110 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8110@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12985465177163 (code B ref -1); Thu, 24 Feb 2011 11:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2011 11:21:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PsZGf-0001rT-2C for submit@debbugs.gnu.org; Thu, 24 Feb 2011 06:21:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PsZGb-0001rD-VB for submit@debbugs.gnu.org; Thu, 24 Feb 2011 06:21:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsZGV-0003T0-Ho for submit@debbugs.gnu.org; Thu, 24 Feb 2011 06:21:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:47174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsZGV-0003Su-Eo for submit@debbugs.gnu.org; Thu, 24 Feb 2011 06:21:47 -0500 Received: from [140.186.70.92] (port=58306 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsZGU-00047y-1B for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 06:21:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsZGS-0003SU-Fx for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 06:21:45 -0500 Received: from winooski.ccs.neu.edu ([129.10.115.117]:60789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsZGS-0003SK-Ce for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 06:21:44 -0500 Received: from winooski.ccs.neu.edu (localhost.localdomain [127.0.0.1]) by winooski.ccs.neu.edu (8.14.4/8.14.4) with ESMTP id p1OBLhwC009430 for ; Thu, 24 Feb 2011 06:21:43 -0500 Received: (from eli@localhost) by winooski.ccs.neu.edu (8.14.4/8.14.4/Submit) id p1OBLh1d009426; Thu, 24 Feb 2011 06:21:43 -0500 From: Eli Barzilay MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19814.16199.475718.681612@winooski.ccs.neu.edu> Date: Thu, 24 Feb 2011 06:21:43 -0500 X-Mailer: VM 8.1.93a under 23.2.1 (x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.8 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) I get a crash when I start Emacs as the root user, with some glib error saying: GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL) I did that with `emacs -q' as well as `-Q' so I'm not including the (irrelevant) information about my emacs setup below. However, I ran in with strace so hopefully that can help. The last few lines of the trace are included at the bottom (looks like the server rejects big emails). In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.21.4) of 2010-07-08 on x86-10.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.10904000 configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-optimize-sibling-calls'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US value of $XMODIFIERS: @im=none locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t stat("/var/cache/libx11/compose/", 0x7fff97668bc0) = -1 ENOENT (No such file or directory) getuid() = 0 getgid() = 0 open("/usr/share/X11/locale/iso8859-1/Compose", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0644, st_size=20458, ...}) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=20458, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbdb2dbc000 read(6, "#\n# ISO 8859-1 (Latin1) Compose "..., 4096) = 4096 read(6, ": \"\\252\"\tordfeminine\n"..., 4096) = 4096 read(6, "\t\t: \"\\304\"\tAdiaeresis\n \t"..., 4096) = 4074 read(6, "", 4096) = 0 close(6) = 0 munmap(0x7fbdb2dbc000, 4096) = 0 open("/usr/share/locale/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory) rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x3d13233140}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x3d13233140}, 8) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 6 fcntl(6, F_GETFD) = 0x1 (flags FD_CLOEXEC) fcntl(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(6, {sa_family=AF_FILE, path=@"/tmp/dbus-pNbBGkiToG"}, 23) = 0 geteuid() = 0 getegid() = 0 geteuid() = 0 getegid() = 0 poll([{fd=6, events=POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}]) sendmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS{pid=9176, uid=0, gid=0}}, msg_flags=0}, MSG_NOSIGNAL) = 1 poll([{fd=6, events=POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}]) sendto(6, "AUTH\r\n", 6, MSG_NOSIGNAL, NULL, 0) = 6 poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) recvfrom(6, "REJECTED EXTERNAL DBUS_COOKIE_SH"..., 4096, 0, NULL, NULL) = 46 poll([{fd=6, events=POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}]) sendto(6, "AUTH EXTERNAL 30\r\n", 18, MSG_NOSIGNAL, NULL, 0) = 18 poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) recvfrom(6, "OK 4c6b8ce8847b5a62e9f0a71a00000"..., 4096, 0, NULL, NULL) = 37 poll([{fd=6, events=POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}]) sendto(6, "NEGOTIATE_UNIX_FD\r\n", 19, MSG_NOSIGNAL, NULL, 0) = 19 poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}]) recvfrom(6, "AGREE_UNIX_FD\r\n", 4096, 0, NULL, NULL) = 15 poll([{fd=6, events=POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}]) sendto(6, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7 pipe2([7, 8], O_CLOEXEC) = 0 sched_get_priority_min(SCHED_OTHER) = 0 sched_get_priority_max(SCHED_OTHER) = 0 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fbdb25bc000 mprotect(0x7fbdb25bc000, 4096, PROT_NONE) = 0 clone(child_stack=0x7fbdb2dbbdb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fbdb2dbc9d0, tls=0x7fbdb2dbc700, child_tidptr=0x7fbdb2dbc9d0) = 9177 sched_yield() = 0 sched_yield() = 0 sched_yield() = 0 sched_yield() = 0 pipe2([9, 10], O_CLOEXEC) = 0 poll([{fd=9, events=POLLIN}], 1, 0) = 0 (Timeout) close(9) = 0 close(10) = 0 open("/usr/share/locale/en_US/LC_MESSAGES/GConf2.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/GConf2.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "**\nGLib-GIO:ERROR:gdbusconnectio"..., 117** GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL) ) = 117 kill(9176, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- rt_sigaction(SIGABRT, {SIG_DFL, [], SA_RESTORER, 0x3d13e0eeb0}, {0x4e1710, [], SA_RESTORER, 0x3d13e0eeb0}, 8) = 0 getpgrp() = 9176 ioctl(0, TIOCGPGRP, [9175]) = 0 rt_sigprocmask(SIG_BLOCK, [WINCH], [ABRT], 8) = 0 rt_sigprocmask(SIG_BLOCK, [IO], [ABRT WINCH], 8) = 0 rt_sigaction(SIGIO, {SIG_IGN, [], SA_RESTORER, 0x3d13e0eeb0}, {0x4e3830, [], SA_RESTORER, 0x3d13e0eeb0}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [ABRT], [ABRT WINCH IO], 8) = 0 kill(9176, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT (core dumped) +++ -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! From unknown Fri Jun 20 20:05:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8110: 23.2; Crash when starting as root Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Aug 2018 03:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8110 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Barzilay Cc: 8110@debbugs.gnu.org Received: via spool by 8110-submit@debbugs.gnu.org id=B8110.153568635330898 (code B ref 8110); Fri, 31 Aug 2018 03:33:01 +0000 Received: (at 8110) by debbugs.gnu.org; 31 Aug 2018 03:32:33 +0000 Received: from localhost ([127.0.0.1]:39654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvaAj-00082C-4P for submit@debbugs.gnu.org; Thu, 30 Aug 2018 23:32:33 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:39775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvaAh-00081v-4R; Thu, 30 Aug 2018 23:32:31 -0400 Received: by mail-io0-f174.google.com with SMTP id l7-v6so9359334iok.6; Thu, 30 Aug 2018 20:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yGw1ZA2sKNc/ckycv0h9war/wGHosNhnO5nW74Npbvk=; b=EDai+U1l7GgIaCGqXmpqt9QBO3zQVZR/wHdgwdfQI1cyhAl2SqLYr8k6ah5Kg9Sr5j V+vmp2TVePz9FC9S1GyrCuxhVqcNtYDLOGmu8fX2VlnUUygoMBsqbtQ5XckGki6fOxqv CjjyesW9Ue/QIRfY4UiEVg3I0vStcvoCh5oSieYEf1UcRccZQHq+OnOy8tFkORyC7jS+ eL0nFcsCwok0Xyer7YbkdliV7yzVcNNFjZgikLi6Wt/WCOEZTHn1MJ3lNoy1Cu01HaaV +ZF2krhSIEJSPAFp86yuRJ4cadfgHU7haMqLsIdmzFYm3MC7bP5tayPbyxXEeujALt1x vlig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yGw1ZA2sKNc/ckycv0h9war/wGHosNhnO5nW74Npbvk=; b=G5XnUTSjcwswDQ+EJpz1oeW9ij2ZtuSaDrf9YpPYM8nwaOkyq7ER5zEVb7cmUEks7S tCYzj5S/498gYvfUokFImlETF1Ns5izNvJ1U4R3+CmRu1D4wesLsEgwnDy5bi3SlL/Q9 oMq8o8EikePcKp0yxhrgsxBtOaysMcr3hVx3Ka0X2hLqCfK2FlBP1/HmasQKHC4s00/V 0OY4OfEmm0K4nS8JQ1SnA3ZvPpcG9n9K6NKlqpIIR4+aVj2GqZF/pW0J4fYqB3Cbwewc 3viRT5TLENKHSLa6ivRpepDWn7/Qk65WUzw12inHMoxlB8q7ZBVoXt4tH9adLClVTHXU AJfg== X-Gm-Message-State: APzg51ASdD7zLJKxbmEhM6KLn05KXbJqnoXWwV2PjRZffcXDl0PpjNkJ 9o7t0XD0SC5IjJALNReFa7yJo2bH X-Google-Smtp-Source: ANB0VdaKtdsgoozigRDDiD++BltQTDbwno5S0abGy3ykJBaiKSmj0loOL2zjv/bA6YmtNs1J5qZwoQ== X-Received: by 2002:a6b:c409:: with SMTP id y9-v6mr11451157ioa.77.1535686345398; Thu, 30 Aug 2018 20:32:25 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g6-v6sm4126718iom.48.2018.08.30.20.32.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Aug 2018 20:32:24 -0700 (PDT) From: Noam Postavsky References: <19814.16199.475718.681612@winooski.ccs.neu.edu> Date: Thu, 30 Aug 2018 23:32:23 -0400 In-Reply-To: <19814.16199.475718.681612@winooski.ccs.neu.edu> (Eli Barzilay's message of "Thu, 24 Feb 2011 06:21:43 -0500") Message-ID: <8736uvrz20.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forwarded 8110 https://bugzilla.gnome.org/show_bug.cgi?id=635694 close 8110 quit Eli Barzilay writes: > I get a crash when I start Emacs as the root user, with some glib > error saying: > > GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion > failed: (connection->initialization_error == NULL) > > I did that with `emacs -q' as well as `-Q' Seems to be glib bug, which is fixed now. Similar report with qbzr: https://bugs.launchpad.net/qbzr/+bug/694279