GNU bug report logs - #11081
24.0.94; "emacsclient --create-frame" occasionally crashes daemon or causes daemon to hang

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Brad Town <brad@HIDDEN>; dated Fri, 23 Mar 2012 23:59:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 11081 <at> debbugs.gnu.org:


Received: (at 11081) by debbugs.gnu.org; 1 Apr 2012 09:33:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 01 05:33:41 2012
Received: from localhost ([127.0.0.1]:34290 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SEHAL-0000kG-5Q
	for submit <at> debbugs.gnu.org; Sun, 01 Apr 2012 05:33:41 -0400
Received: from mailout.melmac.se ([62.20.26.67]:50659)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1SEHAJ-0000k8-6d
	for 11081 <at> debbugs.gnu.org; Sun, 01 Apr 2012 05:33:40 -0400
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id 6F7179CEC
	for <11081 <at> debbugs.gnu.org>; Sun,  1 Apr 2012 11:33:28 +0200 (CEST)
Received: (qmail 26144 invoked by uid 89); 1 Apr 2012 09:30:22 -0000
Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@46.59.42.18)
	by mail01.melmac.se with ESMTPA; 1 Apr 2012 09:30:22 -0000
Received: from [172.20.199.13] (zeplin [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id B07BD7FA06C;
	Sun,  1 Apr 2012 11:33:27 +0200 (CEST)
Subject: Re: bug#11081: 24.0.94;
	"emacsclient --create-frame" occasionally crashes daemon or
	causes	daemon to hang
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: =?iso-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN>
In-Reply-To: <83k420k5v6.fsf@HIDDEN>
Date: Sun, 1 Apr 2012 11:33:28 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <32C38409-1EB5-4864-B217-07F05D7925C5@HIDDEN>
References: <CAEkDjn1_OOSat=e9_-yR62Un2+bFd=f=PAxR2JJtpLdDyqq9Rw@HIDDEN>
	<19E64786-E333-41A4-8D38-471649D69D0B@HIDDEN>
	<CAEkDjn3XKRP3TzhcX+S89V_c8OHtw15jsGm+OBgWv=X8p3M1hg@HIDDEN>
	<BEBED992-481E-4131-9AD0-DD6D39EFB331@HIDDEN>
	<83k420k5v6.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.1257)
X-Spam-Score: -1.2 (-)
X-Debbugs-Envelope-To: 11081
Cc: 11081 <at> debbugs.gnu.org, brad@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)


31 mar 2012 kl. 20:00 skrev Eli Zaretskii:

>> From: Jan Dj=E4rv <jan.h.d@HIDDEN>
>> Date: Sat, 31 Mar 2012 19:16:55 +0200
>> Cc: 11081 <at> debbugs.gnu.org
>>=20
>> The crash happens because of the abort in the SELECTED_FRAME macro:
>>=20
>> #define SELECTED_FRAME()				\
>>     ((FRAMEP (selected_frame)				\
>>       && FRAME_LIVE_P (XFRAME (selected_frame)))	\
>>      ? XFRAME (selected_frame)				\
>>      : (abort (), (struct frame *) 0))
>>=20
>> FRAME_LIVE_P return false.  There is some timing issue here, but I =
dont easily see it yet.  Anybody got a clue?
>=20
> You are saying that the selected frame was already deleted when the
> code in update_tool_bar gets to its last lines, is that it?

No, the new frame that is being created is not live when this code is =
executed.  The crash happens when emacsclient --create-frame is run, not =
when exiting the frame.  The f->terminal is indeed NULL, and =
x_display_list is NULL.

	Jan D.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11081; Package emacs. Full text available.

Message received at 11081 <at> debbugs.gnu.org:


Received: (at 11081) by debbugs.gnu.org; 31 Mar 2012 18:01:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 31 14:01:06 2012
Received: from localhost ([127.0.0.1]:33164 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SE2bp-0001w4-Ra
	for submit <at> debbugs.gnu.org; Sat, 31 Mar 2012 14:01:06 -0400
Received: from mtaout22.012.net.il ([80.179.55.172]:38905)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <eliz@HIDDEN>) id 1SE2bn-0001vv-4e
	for 11081 <at> debbugs.gnu.org; Sat, 31 Mar 2012 14:01:04 -0400
Received: from conversion-daemon.a-mtaout22.012.net.il by
	a-mtaout22.012.net.il (HyperSendmail v2007.08) id
	<0M1R00F00GHFKX00@HIDDEN> for
	11081 <at> debbugs.gnu.org; Sat, 31 Mar 2012 21:00:43 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([84.228.100.223]) by a-mtaout22.012.net.il
	(HyperSendmail v2007.08) with ESMTPA id
	<0M1R00E2DGP5DUK1@HIDDEN>;
	Sat, 31 Mar 2012 21:00:43 +0300 (IDT)
Date: Sat, 31 Mar 2012 21:00:45 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#11081: 24.0.94;
	"emacsclient --create-frame" occasionally crashes daemon or
	causes	daemon to hang
In-reply-to: <BEBED992-481E-4131-9AD0-DD6D39EFB331@HIDDEN>
To: Jan =?iso-8859-1?Q?Dj=E4rv?= <jan.h.d@HIDDEN>
Message-id: <83k420k5v6.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: QUOTED-PRINTABLE
X-012-Sender: halo1@HIDDEN
References: <CAEkDjn1_OOSat=e9_-yR62Un2+bFd=f=PAxR2JJtpLdDyqq9Rw@HIDDEN>
	<19E64786-E333-41A4-8D38-471649D69D0B@HIDDEN>
	<CAEkDjn3XKRP3TzhcX+S89V_c8OHtw15jsGm+OBgWv=X8p3M1hg@HIDDEN>
	<BEBED992-481E-4131-9AD0-DD6D39EFB331@HIDDEN>
X-Spam-Score: -1.2 (-)
X-Debbugs-Envelope-To: 11081
Cc: 11081 <at> debbugs.gnu.org, brad@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

> From: Jan Dj=E4rv <jan.h.d@HIDDEN>
> Date: Sat, 31 Mar 2012 19:16:55 +0200
> Cc: 11081 <at> debbugs.gnu.org
>=20
> The crash happens because of the abort in the SELECTED_FRAME macro:
>=20
> #define SELECTED_FRAME()=09=09=09=09\
>      ((FRAMEP (selected_frame)=09=09=09=09\
>        && FRAME_LIVE_P (XFRAME (selected_frame)))=09\
>       ? XFRAME (selected_frame)=09=09=09=09\
>       : (abort (), (struct frame *) 0))
>=20
> FRAME_LIVE_P return false.  There is some timing issue here, but I =
dont easily see it yet.  Anybody got a clue?

You are saying that the selected frame was already deleted when the
code in update_tool_bar gets to its last lines, is that it?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11081; Package emacs. Full text available.

Message received at 11081 <at> debbugs.gnu.org:


Received: (at 11081) by debbugs.gnu.org; 31 Mar 2012 17:17:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 31 13:17:11 2012
Received: from localhost ([127.0.0.1]:33109 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SE1vK-0000sz-07
	for submit <at> debbugs.gnu.org; Sat, 31 Mar 2012 13:17:11 -0400
Received: from mailout.melmac.se ([62.20.26.67]:41235)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1SE1vE-0000sn-2Q
	for 11081 <at> debbugs.gnu.org; Sat, 31 Mar 2012 13:17:06 -0400
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id 8EA169CDF
	for <11081 <at> debbugs.gnu.org>; Sat, 31 Mar 2012 19:16:56 +0200 (CEST)
Received: (qmail 5244 invoked by uid 89); 31 Mar 2012 17:13:51 -0000
Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@46.59.42.18)
	by mail01.melmac.se with ESMTPA; 31 Mar 2012 17:13:51 -0000
Received: from [172.20.199.13] (zeplin [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id 16EFA7FA06C;
	Sat, 31 Mar 2012 19:16:56 +0200 (CEST)
Subject: Re: bug#11081: 24.0.94;
	"emacsclient --create-frame" occasionally crashes daemon or causes
	daemon to hang
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: =?iso-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN>
In-Reply-To: <CAEkDjn3XKRP3TzhcX+S89V_c8OHtw15jsGm+OBgWv=X8p3M1hg@HIDDEN>
Date: Sat, 31 Mar 2012 19:16:55 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <BEBED992-481E-4131-9AD0-DD6D39EFB331@HIDDEN>
References: <CAEkDjn1_OOSat=e9_-yR62Un2+bFd=f=PAxR2JJtpLdDyqq9Rw@HIDDEN>
	<19E64786-E333-41A4-8D38-471649D69D0B@HIDDEN>
	<CAEkDjn3XKRP3TzhcX+S89V_c8OHtw15jsGm+OBgWv=X8p3M1hg@HIDDEN>
To: Brad Town <brad@HIDDEN>
X-Mailer: Apple Mail (2.1257)
X-Spam-Score: -1.2 (-)
X-Debbugs-Envelope-To: 11081
Cc: 11081 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

Hello.


29 mar 2012 kl. 18:27 skrev Brad Town:

> When I was using GDB, I only saw the hang, and that's what I attempted
> to capture. If you have a quick suggestion as to how I might be able
> to get better information for you, let me know.
>=20
> Another interesting item: The problem goes away when I rebuild with
> the GTK toolkit. Unfortunately, I use Emacs as a daemon, and the Lucid
> toolkit is recommended for that setup.

Not surprising, the crash happens when the display engine updates the =
tool bar, and the Gtk+ build handles tool bars totally different.
I think the backtrace you posted is wrong, it looks like a normal run.  =
The backtrace I get consistently is below.
The crash happens because of the abort in the SELECTED_FRAME macro:

#define SELECTED_FRAME()				\
     ((FRAMEP (selected_frame)				\
       && FRAME_LIVE_P (XFRAME (selected_frame)))	\
      ? XFRAME (selected_frame)				\
      : (abort (), (struct frame *) 0))

FRAME_LIVE_P return false.  There is some timing issue here, but I dont =
easily see it yet.  Anybody got a clue?

	Jan D.


(gdb) bt full
#0  abort () at /home/jhd/src/emacs/current/src/emacs.c:394
No locals.
#1  0x081d6ed2 in store_symval_forwarding (valcontents=3D0x84af60c, =
newval=3D139255978, buf=3D0x84d2dd0) at =
/home/jhd/src/emacs/current/src/data.c:933
        base =3D 0x85cfeb2 ""
        p =3D 0xb6207b86 " \266\262\376\\\b\206{ \266\216{ =
\266\252\340L\bN\277\177\b\226{ \266\316z \266\236{ \266\016z \266\246{ =
\266>y \266\256{ \266~$\177\b\266{ \266~x \266\276{ \266\026\326~\b\306{ =
\266\266\177 \266\316{ \266\366~ \266\326{ \266\066~ \266\336{ \266"
#2  0x081d7617 in set_internal (symbol=3D139286250, newval=3D139255978, =
where=3D139255978, bindflag=3D0) at =
/home/jhd/src/emacs/current/src/data.c:1252
        buf =3D 0x84d2dd0
        innercontents =3D 0x84af60c
        voide =3D 0
        sym =3D 0x84d56e8
        tem1 =3D 139255978
#3  0x081d71eb in Fset (symbol=3D139286250, newval=3D139255978) at =
/home/jhd/src/emacs/current/src/data.c:1068
No locals.
#4  0x081d7977 in Fset_default (symbol=3D139286250, value=3D139255978) =
at /home/jhd/src/emacs/current/src/data.c:1402
        valcontents =3D 0x84af60c
        sym =3D 0x84d56e8
#5  0x081f0cdf in unbind_to (count=3D6, value=3D139255978) at =
/home/jhd/src/emacs/current/src/eval.c:3467
        this_binding =3D {
          symbol =3D 139286250,=20
          old_value =3D 139255978,=20
          func =3D 0,=20
          unused =3D 0
        }
        quitf =3D 139255978
        gcpro1 =3D {
          next =3D 0x50,=20
          var =3D 0xbf806a2c,=20
          nvars =3D -1082103252
        }
        gcpro2 =3D {
          next =3D 0xbf805698,=20
          var =3D 0x81f8281,=20
          nvars =3D 141846045
        }
#6  0x0808055a in update_tool_bar (f=3D0x86c5a58, save_match_data=3D0) =
at /home/jhd/src/emacs/current/src/xdisp.c:11287
        count =3D 6
        frame =3D 141318749
        new_n_tool_bar =3D 13
        gcpro1 =3D {
          next =3D 0xbf806a2c,=20
          var =3D 0xbf8056e8,=20
          nvars =3D 134742197
        }
        prev =3D 0x84d2dd0
        new_tool_bar =3D 141846045
        window =3D 141316517
        w =3D 0x86c51a0
        do_update =3D 1
#7  0x0807fdb7 in prepare_menu_bars () at =
/home/jhd/src/emacs/current/src/xdisp.c:10959
        tail =3D 142493830
        frame =3D 141318749
        count =3D 5
        menu_bar_hooks_run =3D 1
        all_windows =3D 1
        gcpro1 =3D {
          next =3D 0x0,=20
          var =3D 0x84da318,=20
          nvars =3D -1082108352
        }
        gcpro2 =3D {
          next =3D 0xbf805738,=20
          var =3D 0x8052f8b,=20
          nvars =3D 139307824
        }
        f =3D 0x86c5a58
        tooltip_frame =3D 139255978
#8  0x08083508 in redisplay_internal () at =
/home/jhd/src/emacs/current/src/xdisp.c:12821
        w =3D 0x86c51a0
        sw =3D 0x86c51a0
        fr =3D 0x86c5a58
        pending =3D 0
        must_finish =3D 1
        tlbufpos =3D {
          charpos =3D 192,=20
          bytepos =3D 192
        }
        tlendpos =3D {
          charpos =3D 0,=20
          bytepos =3D 0
        }
        number_of_visible_frames =3D 2
        count =3D 3
        count1 =3D 5
        sf =3D 0x86c5a58
        polling_stopped_here =3D 0
        old_frame =3D 141318749
        consider_all_windows_p =3D 1
#9  0x080848e4 in redisplay_preserve_echo_area (from_where=3D12) at =
/home/jhd/src/emacs/current/src/xdisp.c:13433
No locals.
#10 0x08239cc5 in wait_reading_process_output (time_limit=3D30, =
microsecs=3D0, read_kbd=3D-1, do_display=3D1, wait_for_cell=3D139255978, =
wait_proc=3D0x0, just_wait_proc=3D0) at =
/home/jhd/src/emacs/current/src/process.c:4854
        nread =3D 1771
        timeout_reduced_for_timers =3D 0
        channel =3D 4
        nfds =3D 1
        Available =3D {
          fds_bits =3D {0 <repeats 32 times>}
        }
        Writeok =3D {
          fds_bits =3D {0 <repeats 32 times>}
        }
        check_write =3D 1
        check_delay =3D 0
        no_avail =3D 0
        xerrno =3D 11
        proc =3D 140231989
        timeout =3D {
          tv_sec =3D 29,=20
          tv_usec =3D 999983
        }
        end_time =3D {
          tv_sec =3D 1333213601,=20
          tv_usec =3D 861883
        }
        wait_channel =3D -1
        got_some_input =3D 1
        count =3D 2
#11 0x0805ce28 in sit_for (timeout=3D120, reading=3D1, do_display=3D1) =
at /home/jhd/src/emacs/current/src/dispnew.c:6063
        sec =3D 30
        usec =3D 0
#12 0x0816c2c4 in read_char (commandflag=3D1, nmaps=3D2, =
maps=3D0xbf806f20, prev_event=3D139255978, used_mouse_menu=3D0xbf806fc4, =
end_time=3D0x0) at /home/jhd/src/emacs/current/src/keyboard.c:2692
        tem0 =3D 140234266
        timeout =3D 30
        delay_level =3D 4
        buffer_size =3D 1
        c =3D 139255978
        jmpcount =3D 2
        local_getcjmp =3D {{
            __jmpbuf =3D {0, -1082099968, -1082100508, -1082102056, =
-200402081, -642984912},=20
            __mask_was_saved =3D 0,=20
            __saved_mask =3D {
              __val =3D {139681980, 192, 3212864808, 139275728, =
139681980, 1, 3212864840, 136618291, 139681980, 191, 3212864840, =
136611281, 139278186, 139255978, 3212864840, 136621441, 139255978, =
139359410, 1, 139278186, 192, 3212866788, 3212864872, 136611108, =
142604710, 139278186, 1, 0, 139278186, 192, 3212864904, 136621441}
            }
          }}
        save_jump =3D {{
            __jmpbuf =3D {0, 0, 0, 0, 0, 0},=20
            __mask_was_saved =3D 0,=20
            __saved_mask =3D {
              __val =3D {0 <repeats 32 times>}
            }
          }}
        key_already_recorded =3D 0
        tem =3D 139275733
        save =3D 139278186
        previous_echo_area_message =3D 139255978
        also_record =3D 139255978
        reread =3D 0
        gcpro1 =3D {
          next =3D 0x0,=20
          var =3D 0x0,=20
          nvars =3D 139278186
        }
        gcpro2 =3D {
          next =3D 0xbf806e78,=20
          var =3D 0x824af2d,=20
          nvars =3D 139275728
        }
        polling_stopped_here =3D 0
        orig_kboard =3D 0x84d5c78
#13 0x0817707e in read_key_sequence (keybuf=3D0xbf807100, bufsize=3D30, =
prompt=3D139255978, dont_downcase_last=3D0, can_return_switch_frame=3D1, =
fix_current_buffer=3D1) at =
/home/jhd/src/emacs/current/src/keyboard.c:9328
        interrupted_kboard =3D 0x84d5c78
        interrupted_frame =3D 0x84da318
        key =3D 139275733
        used_mouse_menu =3D 0
        echo_local_start =3D 0
        last_real_key_start =3D 0
        keys_local_start =3D 0
        local_first_binding =3D 0
        from_string =3D 139255978
        count =3D 2
        t =3D 0
        echo_start =3D 0
        keys_start =3D 0
        nmaps =3D 2
        nmaps_allocated =3D 2
        defs =3D 0xbf806f00
        submaps =3D 0xbf806f20
        orig_local_map =3D 142486110
        orig_keymap =3D 139255978
        localized_local_map =3D 0
        first_binding =3D 0
        first_unbound =3D 31
        mock_input =3D 0
        fkey =3D {
          parent =3D 139464142,=20
          map =3D 139464142,=20
          start =3D 0,=20
          end =3D 0
        }
        keytran =3D {
          parent =3D 139243206,=20
          map =3D 139243206,=20
          start =3D 0,=20
          end =3D 0
        }
        indec =3D {
          parent =3D 139464150,=20
          map =3D 139464150,=20
          start =3D 0,=20
          end =3D 0
        }
        shift_translated =3D 0
        delayed_switch_frame =3D 139255978
        original_uppercase =3D -1082101688
        original_uppercase_position =3D -1
        dummyflag =3D 0
        starting_buffer =3D 0x84d2dd0
        fake_prefixed_keys =3D 139255978
        gcpro1 =3D {
          next =3D 0xbf806fc8,=20
          var =3D 0x84d2a18,=20
          nvars =3D 139357354
        }
#14 0x0816a0f4 in command_loop_1 () at =
/home/jhd/src/emacs/current/src/keyboard.c:1449
        cmd =3D 139789570
        keybuf =3D {96, 12, -1082101400, 136252639, 139325930, =
139255978, 0, 139740386, 139255978, 137495029, 139465670, 139325930, =
139255978, 0, 0, 136252186, 139325930, 139255978, 139255978, 1, =
139325928, 139255978, 139255978, -1082099808, -1082099968, -1082100508, =
-1082101352, 136242878, 2, 139465670}
        i =3D 2
        prev_modiff =3D 11
        prev_buffer =3D 0x84d2dd0
        already_adjusted =3D 0
#15 0x081ed558 in internal_condition_case (bfun=3D0x8169da0 =
<command_loop_1>, handlers=3D139287058, hfun=3D0x8169745 <cmd_error>) at =
/home/jhd/src/emacs/current/src/eval.c:1515
        val =3D 139465670
        c =3D {
          tag =3D 139255978,=20
          val =3D 139255978,=20
          next =3D 0xbf8072f8,=20
          gcpro =3D 0x0,=20
          jmp =3D {{
              __jmpbuf =3D {-1082099808, -1082099968, -1082100508, =
-1082101064, -197854369, -914522576},=20
              __mask_was_saved =3D 0,=20
              __saved_mask =3D {
                __val =3D {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3212866224, 0, =
0, 15989016, 134533712, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10239680, 3077890736, =
139205696, 3212866468, 135814826, 2, 4294967295, 3212866176}
              }
            }},=20
          backlist =3D 0x0,=20
          handlerlist =3D 0x0,=20
          lisp_eval_depth =3D 0,=20
          pdlcount =3D 2,=20
          poll_suppress_count =3D 1,=20
          interrupt_input_blocked =3D 0,=20
          byte_stack =3D 0x0
        }
        h =3D {
          handler =3D 139287058,=20
          var =3D 139255978,=20
          chosen_clause =3D 0,=20
          tag =3D 0xbf8071d0,=20
          next =3D 0x0
        }
#16 0x08169af1 in command_loop_2 (ignore=3D139255978) at =
/home/jhd/src/emacs/current/src/keyboard.c:1160
        val =3D -1082099808
#17 0x081ed054 in internal_catch (tag=3D139285010, func=3D0x8169acd =
<command_loop_2>, arg=3D139255978) at =
/home/jhd/src/emacs/current/src/eval.c:1272
        c =3D {
          tag =3D 139285010,=20
          val =3D 139255978,=20
          next =3D 0x0,=20
          gcpro =3D 0x0,=20
          jmp =3D {{
              __jmpbuf =3D {-1082099808, -1082099968, -1082100508, =
-1082100792, -198001825, -914886608},=20
              __mask_was_saved =3D 0,=20
              __saved_mask =3D {
                __val =3D {0 <repeats 20 times>, 139255978, 3212866504, =
136148503, 138869208, 139255978, 139275728, 0, 139378056, 3212867488, 0, =
136147330, 139275728}
              }
            }},=20
          backlist =3D 0x0,=20
          handlerlist =3D 0x0,=20
          lisp_eval_depth =3D 0,=20
          pdlcount =3D 2,=20
          poll_suppress_count =3D 1,=20
          interrupt_input_blocked =3D 0,=20
          byte_stack =3D 0x0
        }
#18 0x08169aad in command_loop () at =
/home/jhd/src/emacs/current/src/keyboard.c:1139
No locals.
#19 0x0816937e in recursive_edit_1 () at =
/home/jhd/src/emacs/current/src/keyboard.c:759
        count =3D 1
        val =3D -1
#20 0x081694cf in Frecursive_edit () at =
/home/jhd/src/emacs/current/src/keyboard.c:823
        count =3D 0
        buffer =3D 139255978
#21 0x08167959 in main (argc=3D3, argv=3D0xbf807834) at =
/home/jhd/src/emacs/current/src/emacs.c:1715
        dummy =3D 0
        stack_bottom_variable =3D 8 '\b'
        do_initial_setlocale =3D 1
        skip_args =3D 1
        rlim =3D {
          rlim_cur =3D 8388608,=20
          rlim_max =3D 18446744073709551615
        }
        no_loadup =3D 0
        junk =3D 0x0
        dname_arg =3D 0x0
        ch_to_dir =3D 0x1 <Address 0x1 out of bounds>

	Jan D.


>=20
> Brad
>=20
> On Sat, Mar 24, 2012 at 5:01 AM, Jan Dj=E4rv <jan.h.d@HIDDEN> =
wrote:
>> Hello.
>>=20
>> You don't show the reason for the crash (segmentation violation, or =
something like that).
>> Can you do that?
>>=20
>>        Jan D.
>>=20
>> 24 mar 2012 kl. 00:19 skrev Brad Town:
>>=20
>>> This bug report will be sent to the Bug-GNU-Emacs mailing list
>>> and the GNU bug tracker at debbugs.gnu.org.  Please check that
>>> the From: line contains a valid email address.  After a delay of up
>>> to one day, you should receive an acknowledgement at that address.
>>>=20
>>> Please write in English if possible, as the Emacs maintainers
>>> usually do not have translators for other languages.
>>>=20
>>> Please describe exactly what actions triggered the bug, and
>>> the precise symptoms of the bug.  If you can, give a recipe
>>> starting from `emacs -Q':
>>>=20
>>> --- recipe ---
>>> * Run /usr/local/bin/emacs -Q --daemon
>>> * Repeat the following until hang or crash:
>>> ** Run /usr/local/bin/emacsclient --create-frame
>>> ** When the frame appears, C-x C-c to exit
>>>=20
>>> gdb `bt full' output:
>>>=20
>>> --- cut here ---
>>> #0  0x00007fe6caa6b583 in __select_nocancel () at
>>> ../sysdeps/unix/syscall-template.S:82
>>> No locals.
>>> #1  0x00000000004ec561 in xg_select (max_fds=3D4, =
rfds=3D0x7fff3103bb40,
>>> wfds=3D0x7fff3103bac0, efds=3D0x0, timeout=3D<optimized out>) at
>>> xgselect.c:100
>>>        all_rfds =3D {
>>>          fds_bits =3D {8, 0 <repeats 15 times>}
>>>        }
>>>        all_wfds =3D {
>>>          fds_bits =3D {0 <repeats 16 times>}
>>>        }
>>>        tmo =3D {
>>>          tv_sec =3D 1332543996,
>>>          tv_usec =3D 800572
>>>        }
>>>        tmop =3D 0x7fff3103bc30
>>>        context =3D 0xe97a40
>>>        have_wfds =3D 1
>>>        n_gfds =3D <optimized out>
>>>        our_tmo =3D 0
>>>        retval =3D <optimized out>
>>>        our_fds =3D <optimized out>
>>>        i =3D <optimized out>
>>>        nfds =3D <optimized out>
>>>        tmo_in_millisec =3D -1
>>> #2  0x00000000005b0e44 in wait_reading_process_output
>>> (time_limit=3D<optimized out>, microsecs=3D<optimized out>, =
read_kbd=3D-1,
>>> do_display=3D<optimized out>,
>>>    wait_for_cell=3D<optimized out>, wait_proc=3D0x0, =
just_wait_proc=3D0) at
>>> process.c:4608
>>>        timeout_reduced_for_timers =3D 0
>>>        channel =3D -514
>>>        nfds =3D <optimized out>
>>>        Available =3D {
>>>          fds_bits =3D {8, 0 <repeats 15 times>}
>>>        }
>>>        Writeok =3D {
>>>          fds_bits =3D {0 <repeats 16 times>}
>>>        }
>>>        check_write =3D 1
>>>        check_delay =3D 0
>>>        no_avail =3D 1
>>>        xerrno =3D 2
>>>        proc =3D <optimized out>
>>>        timeout =3D {
>>>          tv_sec =3D 99928,
>>>          tv_usec =3D 160649
>>>        }
>>>        end_time =3D {
>>>          tv_sec =3D 0,
>>>          tv_usec =3D 0
>>>        }
>>>        wait_channel =3D -1
>>>        got_some_input =3D 0
>>> #3  0x000000000050735d in kbd_buffer_get_event (end_time=3D<optimized
>>> out>, used_mouse_menu=3D<optimized out>, kbp=3D<optimized out>) at
>>> keyboard.c:3853
>>>        c =3D <optimized out>
>>>        obj =3D <optimized out>
>>> #4  read_char (commandflag=3D<optimized out>, nmaps=3D<optimized =
out>,
>>> maps=3D<optimized out>, prev_event=3D<optimized out>,
>>> used_mouse_menu=3D<optimized out>, end_time=3D0x0)
>>>    at keyboard.c:2799
>>>        kb =3D <optimized out>
>>>        c =3D 11995778
>>>        local_getcjmp =3D {{
>>>            __jmpbuf =3D {11995778, 7083285557197970914, 1, 1, =
12085424,
>>> 140734015717488, -7083456576088662558, 7083286322900934114},
>>>            __mask_was_saved =3D 0,
>>>            __saved_mask =3D {
>>>              __val =3D {0, 1, 0, 11065426, 9585369, 11065416, =
9893797,
>>> 0, 3120373890685015296, 111, 9893744, 9893749, 9893744, 0, 2,
>>> 11995778}
>>>            }
>>>          }}
>>>        save_jump =3D {{
>>>            __jmpbuf =3D {0, 0, 0, 0, 0, 0, 0, 0},
>>>            __mask_was_saved =3D 0,
>>>            __saved_mask =3D {
>>>              __val =3D {0 <repeats 16 times>}
>>>            }
>>>          }}
>>>        key_already_recorded =3D 0
>>>        tem =3D <optimized out>
>>>        save =3D <optimized out>
>>>        previous_echo_area_message =3D 11995778
>>>        also_record =3D 11995778
>>>        reread =3D 0
>>>        polling_stopped_here =3D 1
>>>        orig_kboard =3D 0xb7d720
>>> #5  0x0000000000509438 in read_key_sequence (keybuf=3D<optimized =
out>,
>>> bufsize=3D<optimized out>, prompt=3D<optimized out>,
>>> dont_downcase_last=3D<optimized out>,
>>>    can_return_switch_frame=3D<optimized out>,
>>> fix_current_buffer=3D<optimized out>) at keyboard.c:9326
>>>        interrupted_kboard =3D 0xb7d720
>>>        key =3D 1
>>>        used_mouse_menu =3D 0
>>>        echo_local_start =3D 0
>>>        last_real_key_start =3D 32767
>>>        keys_local_start =3D 0
>>>        from_string =3D <optimized out>
>>>        count =3D 2
>>>        t =3D <optimized out>
>>>        echo_start =3D <optimized out>
>>>        keys_start =3D 0
>>>        nmaps =3D <optimized out>
>>>        nmaps_allocated =3D 2
>>>        defs =3D 0x7fff3103c050
>>>        submaps =3D <optimized out>
>>>        orig_local_map =3D 17529222
>>>        orig_keymap =3D 11995778
>>>        localized_local_map =3D 0
>>>        first_binding =3D <optimized out>
>>>        first_unbound =3D <optimized out>
>>>        mock_input =3D <optimized out>
>>>        fkey =3D {
>>>          parent =3D 12419798,
>>>          map =3D 12419798,
>>>          start =3D 0,
>>>          end =3D 0
>>>        }
>>>        keytran =3D {
>>>          parent =3D 11975078,
>>>          map =3D 11975078,
>>>          start =3D 0,
>>>          end =3D 0
>>>        }
>>>        indec =3D {
>>>          parent =3D 12419814,
>>>          map =3D 12419814,
>>>          start =3D 0,
>>>          end =3D 0
>>>        }
>>>        shift_translated =3D 0
>>>        delayed_switch_frame =3D 11995778
>>>        original_uppercase =3D 11995778
>>>        original_uppercase_position =3D -1
>>>        starting_buffer =3D 0xb77790
>>>        fake_prefixed_keys =3D 11995778
>>> #6  0x000000000050b76b in command_loop_1 () at keyboard.c:1448
>>>        cmd =3D 0
>>>        keybuf =3D {140629218229288, 9192392, 4611686018427404288,
>>> 4611686018427389952, 0, 1, 140734015718320, 5712078, =
140629320511784,
>>> 0, 140629320254704,
>>>          140629320307912, 4233728, 140629218281056, 140629320511784,
>>> 0, 140629320254704, 140629320307912, 4232831, 140629218281056,
>>> 4214280, 4294967296, 0, 11995778, 64,
>>>          12241542, 140734015719856, 4611686018427518976, 11995778, =
5640642}
>>>        i =3D 822331824
>>>        prev_modiff =3D 0
>>>        prev_buffer =3D 0x0
>>> #7  0x00000000005740c1 in internal_condition_case (bfun=3D<optimized
>>> out>, handlers=3D<optimized out>, hfun=3D<optimized out>) at =
eval.c:1515
>>>        val =3D -514
>>>        c =3D {
>>>          tag =3D 11995778,
>>>          val =3D 11995778,
>>>          next =3D 0x7fff3103c570,
>>>          gcpro =3D 0x0,
>>>          jmp =3D {{
>>>              __jmpbuf =3D {12712224, 7083285089474616802, 11995778,
>>> 140734015719856, 0, 1, -7083456572643041822, 7083286383632227810},
>>>              __mask_was_saved =3D 0,
>>>              __saved_mask =3D {
>>>                __val =3D {140629320307912, 140734015718528, =
4294967295,
>>> 140734015718568, 1, 8606112, 0, 0, 1, 0, 140629318338513, 1, 0, 0,
>>> 140629218252208, 0}
>>>              }
>>>            }},
>>>          backlist =3D 0x0,
>>>          handlerlist =3D 0x0,
>>>          lisp_eval_depth =3D 0,
>>>          pdlcount =3D 2,
>>>          poll_suppress_count =3D 1,
>>>          interrupt_input_blocked =3D 0,
>>>          byte_stack =3D 0x0
>>>        }
>>>        h =3D {
>>>          handler =3D 12047842,
>>>          var =3D 11995778,
>>>          chosen_clause =3D 11995778,
>>>          tag =3D 0x7fff3103c400,
>>>          next =3D 0x0
>>>        }
>>> #8  0x0000000000502f2e in command_loop_2 (ignore=3D<optimized out>) =
at
>>> keyboard.c:1159
>>>        val =3D -514
>>> #9  0x00000000005741e8 in internal_catch (tag=3D<optimized out>,
>>> func=3D<optimized out>, arg=3D<optimized out>) at eval.c:1272
>>>        c =3D {
>>>          tag =3D 12043634,
>>>          val =3D 11995778,
>>>          next =3D 0x0,
>>>          gcpro =3D 0x0,
>>>          jmp =3D {{
>>>              __jmpbuf =3D {12712224, 7083285089474616802, 11995778,
>>> 140734015719856, 0, 1, -7083456572592710174, 7083286383603523042},
>>>              __mask_was_saved =3D 0,
>>>              __saved_mask =3D {
>>>                __val =3D {0, 0, 0, 0, 624, 272, 22, 0, 0, 0,
>>> 140629221879360, 140734015720184, 344, 12221746, 5710197,
>>> 140734015719080}
>>>              }
>>>            }},
>>>          backlist =3D 0x0,
>>>          handlerlist =3D 0x0,
>>>          lisp_eval_depth =3D 0,
>>>          pdlcount =3D 2,
>>>          poll_suppress_count =3D 1,
>>>          interrupt_input_blocked =3D 0,
>>>          byte_stack =3D 0x0
>>>        }
>>> #10 0x00000000005035fa in command_loop () at keyboard.c:1138
>>> No locals.
>>> #11 recursive_edit_1 () at keyboard.c:758
>>>        val =3D <optimized out>
>>> #12 0x000000000050370c in Frecursive_edit () at keyboard.c:822
>>>        buffer =3D 11995778
>>> #13 0x00000000004f7a40 in main (argc=3D0, argv=3D0x7fff3103caf8) at =
emacs.c:1715
>>>        dummy =3D 140629320309128
>>>        stack_bottom_variable =3D 0 '\000'
>>>        do_initial_setlocale =3D <optimized out>
>>>        skip_args =3D 1
>>>        rlim =3D {
>>>          rlim_cur =3D 8720000,
>>>          rlim_max =3D 18446744073709551615
>>>        }
>>>        no_loadup =3D 0
>>>        junk =3D 0x0
>>>        dname_arg =3D 0x0
>>>        ch_to_dir =3D 0x7fff3103ca18 "M\254\232\312\346\177"
>>> --- cut here ---
>>>=20
>>> `xbacktrace' gives no output.
>>>=20
>>> --- recipe ---
>>>=20
>>> If Emacs crashed, and you have the Emacs process in the gdb =
debugger,
>>> please include the output from the following gdb commands:
>>>    `bt full' and `xbacktrace'.
>>> For information about debugging Emacs, please read the file
>>> /usr/local/share/emacs/24.0.94/etc/DEBUG.
>>>=20
>>>=20
>>> In GNU Emacs 24.0.94.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d =
scroll bars)
>>> of 2012-03-23 on torgo.mtv.corp.google.com
>>> Windowing system distributor `The X.Org Foundation', version =
11.0.10706000
>>> Configured using:
>>> `configure '--with-x-toolkit=3Dlucid''
>>>=20
>>> Important settings:
>>>  value of $LC_ALL: nil
>>>  value of $LC_COLLATE: en_US.UTF-8
>>>  value of $LC_CTYPE: nil
>>>  value of $LC_MESSAGES: nil
>>>  value of $LC_MONETARY: en_US.UTF-8
>>>  value of $LC_NUMERIC: en_US.UTF-8
>>>  value of $LC_TIME: en_US.UTF-8
>>>  value of $LANG: en_US.UTF-8
>>>  value of $XMODIFIERS: nil
>>>  locale-coding-system: utf-8-unix
>>>  default enable-multibyte-characters: t
>>>=20
>>> Major mode: Lisp Interaction
>>>=20
>>> Minor modes in effect:
>>>  tooltip-mode: t
>>>  mouse-wheel-mode: t
>>>  tool-bar-mode: t
>>>  menu-bar-mode: t
>>>  file-name-shadow-mode: t
>>>  global-font-lock-mode: t
>>>  font-lock-mode: t
>>>  auto-composition-mode: t
>>>  auto-encryption-mode: t
>>>  auto-compression-mode: t
>>>  line-number-mode: t
>>>  transient-mark-mode: t
>>>=20
>>> Recent input:
>>> C-x C-c M-x r e p o r t - <tab> <return>
>>>=20
>>> Recent messages:
>>> ("/usr/local/bin/emacs")
>>> Starting Emacs daemon.
>>> When done with this frame, type C-x 5 0
>>> (No files need saving)
>>> When done with this frame, type C-x 5 0
>>>=20
>>> Load-path shadows:
>>> None found.
>>>=20
>>> Features:
>>> (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 =
mml
>>> easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
>>> mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
>>> ietf-drums mm-util mail-prsvr mail-utils server time-date tooltip
>>> ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
>>> fontset image fringe lisp-mode register page menu-bar rfn-eshadow =
timer
>>> select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
>>> frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
>>> tai-viet lao korean japanese hebrew greek romanian slovak czech =
european
>>> ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook =
help
>>> simple abbrev minibuffer loaddefs button faces cus-face files
>>> text-properties overlay sha1 md5 base64 format env code-pages mule
>>> custom widget hashtable-print-readable backquote =
make-network-process
>>> dbusbind dynamic-setting system-font-setting font-render-setting
>>> x-toolkit x multi-tty emacs)
>>>=20
>>>=20
>>=20





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11081; Package emacs. Full text available.

Message received at 11081 <at> debbugs.gnu.org:


Received: (at 11081) by debbugs.gnu.org; 29 Mar 2012 16:59:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 29 12:59:27 2012
Received: from localhost ([127.0.0.1]:45081 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SDIh3-0007tH-TY
	for submit <at> debbugs.gnu.org; Thu, 29 Mar 2012 12:59:27 -0400
Received: from mail-gx0-f172.google.com ([209.85.161.172]:43810)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <townba@HIDDEN>) id 1SDIh1-0007t9-Es
	for 11081 <at> debbugs.gnu.org; Thu, 29 Mar 2012 12:59:25 -0400
Received: by ggmi1 with SMTP id i1so1585323ggm.3
	for <11081 <at> debbugs.gnu.org>; Thu, 29 Mar 2012 09:27:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=KxMus8I0308vFjd/COmSUVUOIoec4Bqm9kf+Kh/wzE0=;
	b=piaF9BPcU8U3gqLLGq5bP3B2dIOAGfkIdcANyNKqEnrulPaB7EdHVjMAH7wSyuun7K
	ioSa9EXsEmX1u5j9uUn7UVBX+gfztDaw8TO958rnBeM4DOI3rKbsdp2uwF3qow6YRtD5
	pzRgCmA/a0AtSKQ0S2LoDXNua1OfF01jgLNvWvxZcc2I0rZRulH8oXZ2ycrWE+fSwmAe
	P1Hk5grxEuICPs8C+hgOQFdXAdMVuvmbQzrz5Bo4u9wDe6brZqfU0I0wDrH7uo9UeFZL
	JaMrMtzErW75/uB+fZQ0+N2dJYqbOt5g0nFujFYbwMAtTBWHrUnNBCbvFs487TUD4ufh
	yeFw==
MIME-Version: 1.0
Received: by 10.68.132.41 with SMTP id or9mr1670429pbb.8.1333038474835; Thu,
	29 Mar 2012 09:27:54 -0700 (PDT)
Received: by 10.68.10.138 with HTTP; Thu, 29 Mar 2012 09:27:54 -0700 (PDT)
In-Reply-To: <19E64786-E333-41A4-8D38-471649D69D0B@HIDDEN>
References: <CAEkDjn1_OOSat=e9_-yR62Un2+bFd=f=PAxR2JJtpLdDyqq9Rw@HIDDEN>
	<19E64786-E333-41A4-8D38-471649D69D0B@HIDDEN>
Date: Thu, 29 Mar 2012 09:27:54 -0700
X-Google-Sender-Auth: keme14UTGY4s60M1GaJ1btOonAE
Message-ID: <CAEkDjn3XKRP3TzhcX+S89V_c8OHtw15jsGm+OBgWv=X8p3M1hg@HIDDEN>
Subject: Re: bug#11081: 24.0.94; "emacsclient --create-frame" occasionally
	crashes daemon or causes daemon to hang
From: Brad Town <brad@HIDDEN>
To: =?UTF-8?Q?Jan_Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 11081
Cc: 11081 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

When I was using GDB, I only saw the hang, and that's what I attempted
to capture. If you have a quick suggestion as to how I might be able
to get better information for you, let me know.

Another interesting item: The problem goes away when I rebuild with
the GTK toolkit. Unfortunately, I use Emacs as a daemon, and the Lucid
toolkit is recommended for that setup.

Brad

On Sat, Mar 24, 2012 at 5:01 AM, Jan Dj=C3=A4rv <jan.h.d@HIDDEN> wrote:
> Hello.
>
> You don't show the reason for the crash (segmentation violation, or somet=
hing like that).
> Can you do that?
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Jan D.
>
> 24 mar 2012 kl. 00:19 skrev Brad Town:
>
>> This bug report will be sent to the Bug-GNU-Emacs mailing list
>> and the GNU bug tracker at debbugs.gnu.org. =C2=A0Please check that
>> the From: line contains a valid email address. =C2=A0After a delay of up
>> to one day, you should receive an acknowledgement at that address.
>>
>> Please write in English if possible, as the Emacs maintainers
>> usually do not have translators for other languages.
>>
>> Please describe exactly what actions triggered the bug, and
>> the precise symptoms of the bug. =C2=A0If you can, give a recipe
>> starting from `emacs -Q':
>>
>> --- recipe ---
>> * Run /usr/local/bin/emacs -Q --daemon
>> * Repeat the following until hang or crash:
>> ** Run /usr/local/bin/emacsclient --create-frame
>> ** When the frame appears, C-x C-c to exit
>>
>> gdb `bt full' output:
>>
>> --- cut here ---
>> #0 =C2=A00x00007fe6caa6b583 in __select_nocancel () at
>> ../sysdeps/unix/syscall-template.S:82
>> No locals.
>> #1 =C2=A00x00000000004ec561 in xg_select (max_fds=3D4, rfds=3D0x7fff3103=
bb40,
>> wfds=3D0x7fff3103bac0, efds=3D0x0, timeout=3D<optimized out>) at
>> xgselect.c:100
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0all_rfds =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fds_bits =3D {8, 0 <repeats 15 times>}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0all_wfds =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fds_bits =3D {0 <repeats 16 times>}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0tmo =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tv_sec =3D 1332543996,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tv_usec =3D 800572
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0tmop =3D 0x7fff3103bc30
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0context =3D 0xe97a40
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0have_wfds =3D 1
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0n_gfds =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0our_tmo =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0retval =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0our_fds =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0i =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0nfds =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0tmo_in_millisec =3D -1
>> #2 =C2=A00x00000000005b0e44 in wait_reading_process_output
>> (time_limit=3D<optimized out>, microsecs=3D<optimized out>, read_kbd=3D-=
1,
>> do_display=3D<optimized out>,
>> =C2=A0 =C2=A0wait_for_cell=3D<optimized out>, wait_proc=3D0x0, just_wait=
_proc=3D0) at
>> process.c:4608
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0timeout_reduced_for_timers =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0channel =3D -514
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0nfds =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0Available =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fds_bits =3D {8, 0 <repeats 15 times>}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0Writeok =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fds_bits =3D {0 <repeats 16 times>}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0check_write =3D 1
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0check_delay =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0no_avail =3D 1
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0xerrno =3D 2
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0proc =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0timeout =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tv_sec =3D 99928,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tv_usec =3D 160649
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0end_time =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tv_sec =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tv_usec =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0wait_channel =3D -1
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0got_some_input =3D 0
>> #3 =C2=A00x000000000050735d in kbd_buffer_get_event (end_time=3D<optimiz=
ed
>> out>, used_mouse_menu=3D<optimized out>, kbp=3D<optimized out>) at
>> keyboard.c:3853
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0c =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0obj =3D <optimized out>
>> #4 =C2=A0read_char (commandflag=3D<optimized out>, nmaps=3D<optimized ou=
t>,
>> maps=3D<optimized out>, prev_event=3D<optimized out>,
>> used_mouse_menu=3D<optimized out>, end_time=3D0x0)
>> =C2=A0 =C2=A0at keyboard.c:2799
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0kb =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0c =3D 11995778
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0local_getcjmp =3D {{
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__jmpbuf =3D {11995778, 7083285=
557197970914, 1, 1, 12085424,
>> 140734015717488, -7083456576088662558, 7083286322900934114},
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__mask_was_saved =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__saved_mask =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__val =3D {0, 1, 0, 1106=
5426, 9585369, 11065416, 9893797,
>> 0, 3120373890685015296, 111, 9893744, 9893749, 9893744, 0, 2,
>> 11995778}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0save_jump =3D {{
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__jmpbuf =3D {0, 0, 0, 0, 0, 0,=
 0, 0},
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__mask_was_saved =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__saved_mask =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__val =3D {0 <repeats 16=
 times>}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0key_already_recorded =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0tem =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0save =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0previous_echo_area_message =3D 11995778
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0also_record =3D 11995778
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0reread =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0polling_stopped_here =3D 1
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0orig_kboard =3D 0xb7d720
>> #5 =C2=A00x0000000000509438 in read_key_sequence (keybuf=3D<optimized ou=
t>,
>> bufsize=3D<optimized out>, prompt=3D<optimized out>,
>> dont_downcase_last=3D<optimized out>,
>> =C2=A0 =C2=A0can_return_switch_frame=3D<optimized out>,
>> fix_current_buffer=3D<optimized out>) at keyboard.c:9326
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0interrupted_kboard =3D 0xb7d720
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0key =3D 1
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0used_mouse_menu =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0echo_local_start =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0last_real_key_start =3D 32767
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0keys_local_start =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0from_string =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0count =3D 2
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0t =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0echo_start =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0keys_start =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0nmaps =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0nmaps_allocated =3D 2
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0defs =3D 0x7fff3103c050
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0submaps =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0orig_local_map =3D 17529222
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0orig_keymap =3D 11995778
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0localized_local_map =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0first_binding =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0first_unbound =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0mock_input =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0fkey =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0parent =3D 12419798,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0map =3D 12419798,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0start =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0end =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0keytran =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0parent =3D 11975078,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0map =3D 11975078,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0start =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0end =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0indec =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0parent =3D 12419814,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0map =3D 12419814,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0start =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0end =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0shift_translated =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0delayed_switch_frame =3D 11995778
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0original_uppercase =3D 11995778
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0original_uppercase_position =3D -1
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0starting_buffer =3D 0xb77790
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0fake_prefixed_keys =3D 11995778
>> #6 =C2=A00x000000000050b76b in command_loop_1 () at keyboard.c:1448
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0cmd =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0keybuf =3D {140629218229288, 9192392, 4611686=
018427404288,
>> 4611686018427389952, 0, 1, 140734015718320, 5712078, 140629320511784,
>> 0, 140629320254704,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0140629320307912, 4233728, 140629218281=
056, 140629320511784,
>> 0, 140629320254704, 140629320307912, 4232831, 140629218281056,
>> 4214280, 4294967296, 0, 11995778, 64,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A012241542, 140734015719856, 46116860184=
27518976, 11995778, 5640642}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0i =3D 822331824
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0prev_modiff =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0prev_buffer =3D 0x0
>> #7 =C2=A00x00000000005740c1 in internal_condition_case (bfun=3D<optimize=
d
>> out>, handlers=3D<optimized out>, hfun=3D<optimized out>) at eval.c:1515
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0val =3D -514
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0c =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tag =3D 11995778,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0val =3D 11995778,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0next =3D 0x7fff3103c570,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gcpro =3D 0x0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0jmp =3D {{
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__jmpbuf =3D {12712224, =
7083285089474616802, 11995778,
>> 140734015719856, 0, 1, -7083456572643041822, 7083286383632227810},
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__mask_was_saved =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__saved_mask =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__val =3D {140629=
320307912, 140734015718528, 4294967295,
>> 140734015718568, 1, 8606112, 0, 0, 1, 0, 140629318338513, 1, 0, 0,
>> 140629218252208, 0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}},
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0backlist =3D 0x0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0handlerlist =3D 0x0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lisp_eval_depth =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pdlcount =3D 2,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0poll_suppress_count =3D 1,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0interrupt_input_blocked =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0byte_stack =3D 0x0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0h =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0handler =3D 12047842,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0var =3D 11995778,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0chosen_clause =3D 11995778,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tag =3D 0x7fff3103c400,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0next =3D 0x0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> #8 =C2=A00x0000000000502f2e in command_loop_2 (ignore=3D<optimized out>)=
 at
>> keyboard.c:1159
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0val =3D -514
>> #9 =C2=A00x00000000005741e8 in internal_catch (tag=3D<optimized out>,
>> func=3D<optimized out>, arg=3D<optimized out>) at eval.c:1272
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0c =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tag =3D 12043634,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0val =3D 11995778,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0next =3D 0x0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gcpro =3D 0x0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0jmp =3D {{
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__jmpbuf =3D {12712224, =
7083285089474616802, 11995778,
>> 140734015719856, 0, 1, -7083456572592710174, 7083286383603523042},
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__mask_was_saved =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__saved_mask =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__val =3D {0, 0, =
0, 0, 624, 272, 22, 0, 0, 0,
>> 140629221879360, 140734015720184, 344, 12221746, 5710197,
>> 140734015719080}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}},
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0backlist =3D 0x0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0handlerlist =3D 0x0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lisp_eval_depth =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pdlcount =3D 2,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0poll_suppress_count =3D 1,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0interrupt_input_blocked =3D 0,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0byte_stack =3D 0x0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> #10 0x00000000005035fa in command_loop () at keyboard.c:1138
>> No locals.
>> #11 recursive_edit_1 () at keyboard.c:758
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0val =3D <optimized out>
>> #12 0x000000000050370c in Frecursive_edit () at keyboard.c:822
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0buffer =3D 11995778
>> #13 0x00000000004f7a40 in main (argc=3D0, argv=3D0x7fff3103caf8) at emac=
s.c:1715
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0dummy =3D 140629320309128
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0stack_bottom_variable =3D 0 '\000'
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0do_initial_setlocale =3D <optimized out>
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0skip_args =3D 1
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0rlim =3D {
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rlim_cur =3D 8720000,
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rlim_max =3D 18446744073709551615
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0no_loadup =3D 0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0junk =3D 0x0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0dname_arg =3D 0x0
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0ch_to_dir =3D 0x7fff3103ca18 "M\254\232\312\3=
46\177"
>> --- cut here ---
>>
>> `xbacktrace' gives no output.
>>
>> --- recipe ---
>>
>> If Emacs crashed, and you have the Emacs process in the gdb debugger,
>> please include the output from the following gdb commands:
>> =C2=A0 =C2=A0`bt full' and `xbacktrace'.
>> For information about debugging Emacs, please read the file
>> /usr/local/share/emacs/24.0.94/etc/DEBUG.
>>
>>
>> In GNU Emacs 24.0.94.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scrol=
l bars)
>> of 2012-03-23 on torgo.mtv.corp.google.com
>> Windowing system distributor `The X.Org Foundation', version 11.0.107060=
00
>> Configured using:
>> `configure '--with-x-toolkit=3Dlucid''
>>
>> Important settings:
>> =C2=A0value of $LC_ALL: nil
>> =C2=A0value of $LC_COLLATE: en_US.UTF-8
>> =C2=A0value of $LC_CTYPE: nil
>> =C2=A0value of $LC_MESSAGES: nil
>> =C2=A0value of $LC_MONETARY: en_US.UTF-8
>> =C2=A0value of $LC_NUMERIC: en_US.UTF-8
>> =C2=A0value of $LC_TIME: en_US.UTF-8
>> =C2=A0value of $LANG: en_US.UTF-8
>> =C2=A0value of $XMODIFIERS: nil
>> =C2=A0locale-coding-system: utf-8-unix
>> =C2=A0default enable-multibyte-characters: t
>>
>> Major mode: Lisp Interaction
>>
>> Minor modes in effect:
>> =C2=A0tooltip-mode: t
>> =C2=A0mouse-wheel-mode: t
>> =C2=A0tool-bar-mode: t
>> =C2=A0menu-bar-mode: t
>> =C2=A0file-name-shadow-mode: t
>> =C2=A0global-font-lock-mode: t
>> =C2=A0font-lock-mode: t
>> =C2=A0auto-composition-mode: t
>> =C2=A0auto-encryption-mode: t
>> =C2=A0auto-compression-mode: t
>> =C2=A0line-number-mode: t
>> =C2=A0transient-mark-mode: t
>>
>> Recent input:
>> C-x C-c M-x r e p o r t - <tab> <return>
>>
>> Recent messages:
>> ("/usr/local/bin/emacs")
>> Starting Emacs daemon.
>> When done with this frame, type C-x 5 0
>> (No files need saving)
>> When done with this frame, type C-x 5 0
>>
>> Load-path shadows:
>> None found.
>>
>> Features:
>> (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
>> easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
>> mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
>> ietf-drums mm-util mail-prsvr mail-utils server time-date tooltip
>> ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
>> fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
>> select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
>> frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
>> tai-viet lao korean japanese hebrew greek romanian slovak czech european
>> ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
>> simple abbrev minibuffer loaddefs button faces cus-face files
>> text-properties overlay sha1 md5 base64 format env code-pages mule
>> custom widget hashtable-print-readable backquote make-network-process
>> dbusbind dynamic-setting system-font-setting font-render-setting
>> x-toolkit x multi-tty emacs)
>>
>>
>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11081; Package emacs. Full text available.

Message received at 11081 <at> debbugs.gnu.org:


Received: (at 11081) by debbugs.gnu.org; 24 Mar 2012 12:32:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 24 08:32:57 2012
Received: from localhost ([127.0.0.1]:36360 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SBQ9O-0005Tv-I3
	for submit <at> debbugs.gnu.org; Sat, 24 Mar 2012 08:32:57 -0400
Received: from mailout.melmac.se ([62.20.26.67]:42060)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1SBQ8p-0005T5-Hv
	for 11081 <at> debbugs.gnu.org; Sat, 24 Mar 2012 08:32:53 -0400
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id 5E4479CC7
	for <11081 <at> debbugs.gnu.org>; Sat, 24 Mar 2012 13:01:18 +0100 (CET)
Received: (qmail 18780 invoked by uid 89); 24 Mar 2012 11:58:23 -0000
Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@46.59.42.18)
	by mail01.melmac.se with ESMTPA; 24 Mar 2012 11:58:23 -0000
Received: from [172.20.199.13] (zeplin [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id CA90B7FA06C;
	Sat, 24 Mar 2012 13:01:17 +0100 (CET)
Subject: Re: bug#11081: 24.0.94;
	"emacsclient --create-frame" occasionally crashes daemon or causes
	daemon to hang
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: =?iso-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN>
In-Reply-To: <CAEkDjn1_OOSat=e9_-yR62Un2+bFd=f=PAxR2JJtpLdDyqq9Rw@HIDDEN>
Date: Sat, 24 Mar 2012 13:01:20 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <19E64786-E333-41A4-8D38-471649D69D0B@HIDDEN>
References: <CAEkDjn1_OOSat=e9_-yR62Un2+bFd=f=PAxR2JJtpLdDyqq9Rw@HIDDEN>
To: Brad Town <brad@HIDDEN>
X-Mailer: Apple Mail (2.1257)
X-Spam-Score: -1.2 (-)
X-Debbugs-Envelope-To: 11081
Cc: 11081 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

Hello.

You don't show the reason for the crash (segmentation violation, or =
something like that).
Can you do that?

	Jan D.

24 mar 2012 kl. 00:19 skrev Brad Town:

> This bug report will be sent to the Bug-GNU-Emacs mailing list
> and the GNU bug tracker at debbugs.gnu.org.  Please check that
> the From: line contains a valid email address.  After a delay of up
> to one day, you should receive an acknowledgement at that address.
>=20
> Please write in English if possible, as the Emacs maintainers
> usually do not have translators for other languages.
>=20
> Please describe exactly what actions triggered the bug, and
> the precise symptoms of the bug.  If you can, give a recipe
> starting from `emacs -Q':
>=20
> --- recipe ---
> * Run /usr/local/bin/emacs -Q --daemon
> * Repeat the following until hang or crash:
> ** Run /usr/local/bin/emacsclient --create-frame
> ** When the frame appears, C-x C-c to exit
>=20
> gdb `bt full' output:
>=20
> --- cut here ---
> #0  0x00007fe6caa6b583 in __select_nocancel () at
> ../sysdeps/unix/syscall-template.S:82
> No locals.
> #1  0x00000000004ec561 in xg_select (max_fds=3D4, rfds=3D0x7fff3103bb40,=

> wfds=3D0x7fff3103bac0, efds=3D0x0, timeout=3D<optimized out>) at
> xgselect.c:100
>        all_rfds =3D {
>          fds_bits =3D {8, 0 <repeats 15 times>}
>        }
>        all_wfds =3D {
>          fds_bits =3D {0 <repeats 16 times>}
>        }
>        tmo =3D {
>          tv_sec =3D 1332543996,
>          tv_usec =3D 800572
>        }
>        tmop =3D 0x7fff3103bc30
>        context =3D 0xe97a40
>        have_wfds =3D 1
>        n_gfds =3D <optimized out>
>        our_tmo =3D 0
>        retval =3D <optimized out>
>        our_fds =3D <optimized out>
>        i =3D <optimized out>
>        nfds =3D <optimized out>
>        tmo_in_millisec =3D -1
> #2  0x00000000005b0e44 in wait_reading_process_output
> (time_limit=3D<optimized out>, microsecs=3D<optimized out>, =
read_kbd=3D-1,
> do_display=3D<optimized out>,
>    wait_for_cell=3D<optimized out>, wait_proc=3D0x0, just_wait_proc=3D0)=
 at
> process.c:4608
>        timeout_reduced_for_timers =3D 0
>        channel =3D -514
>        nfds =3D <optimized out>
>        Available =3D {
>          fds_bits =3D {8, 0 <repeats 15 times>}
>        }
>        Writeok =3D {
>          fds_bits =3D {0 <repeats 16 times>}
>        }
>        check_write =3D 1
>        check_delay =3D 0
>        no_avail =3D 1
>        xerrno =3D 2
>        proc =3D <optimized out>
>        timeout =3D {
>          tv_sec =3D 99928,
>          tv_usec =3D 160649
>        }
>        end_time =3D {
>          tv_sec =3D 0,
>          tv_usec =3D 0
>        }
>        wait_channel =3D -1
>        got_some_input =3D 0
> #3  0x000000000050735d in kbd_buffer_get_event (end_time=3D<optimized
> out>, used_mouse_menu=3D<optimized out>, kbp=3D<optimized out>) at
> keyboard.c:3853
>        c =3D <optimized out>
>        obj =3D <optimized out>
> #4  read_char (commandflag=3D<optimized out>, nmaps=3D<optimized out>,
> maps=3D<optimized out>, prev_event=3D<optimized out>,
> used_mouse_menu=3D<optimized out>, end_time=3D0x0)
>    at keyboard.c:2799
>        kb =3D <optimized out>
>        c =3D 11995778
>        local_getcjmp =3D {{
>            __jmpbuf =3D {11995778, 7083285557197970914, 1, 1, =
12085424,
> 140734015717488, -7083456576088662558, 7083286322900934114},
>            __mask_was_saved =3D 0,
>            __saved_mask =3D {
>              __val =3D {0, 1, 0, 11065426, 9585369, 11065416, 9893797,
> 0, 3120373890685015296, 111, 9893744, 9893749, 9893744, 0, 2,
> 11995778}
>            }
>          }}
>        save_jump =3D {{
>            __jmpbuf =3D {0, 0, 0, 0, 0, 0, 0, 0},
>            __mask_was_saved =3D 0,
>            __saved_mask =3D {
>              __val =3D {0 <repeats 16 times>}
>            }
>          }}
>        key_already_recorded =3D 0
>        tem =3D <optimized out>
>        save =3D <optimized out>
>        previous_echo_area_message =3D 11995778
>        also_record =3D 11995778
>        reread =3D 0
>        polling_stopped_here =3D 1
>        orig_kboard =3D 0xb7d720
> #5  0x0000000000509438 in read_key_sequence (keybuf=3D<optimized out>,
> bufsize=3D<optimized out>, prompt=3D<optimized out>,
> dont_downcase_last=3D<optimized out>,
>    can_return_switch_frame=3D<optimized out>,
> fix_current_buffer=3D<optimized out>) at keyboard.c:9326
>        interrupted_kboard =3D 0xb7d720
>        key =3D 1
>        used_mouse_menu =3D 0
>        echo_local_start =3D 0
>        last_real_key_start =3D 32767
>        keys_local_start =3D 0
>        from_string =3D <optimized out>
>        count =3D 2
>        t =3D <optimized out>
>        echo_start =3D <optimized out>
>        keys_start =3D 0
>        nmaps =3D <optimized out>
>        nmaps_allocated =3D 2
>        defs =3D 0x7fff3103c050
>        submaps =3D <optimized out>
>        orig_local_map =3D 17529222
>        orig_keymap =3D 11995778
>        localized_local_map =3D 0
>        first_binding =3D <optimized out>
>        first_unbound =3D <optimized out>
>        mock_input =3D <optimized out>
>        fkey =3D {
>          parent =3D 12419798,
>          map =3D 12419798,
>          start =3D 0,
>          end =3D 0
>        }
>        keytran =3D {
>          parent =3D 11975078,
>          map =3D 11975078,
>          start =3D 0,
>          end =3D 0
>        }
>        indec =3D {
>          parent =3D 12419814,
>          map =3D 12419814,
>          start =3D 0,
>          end =3D 0
>        }
>        shift_translated =3D 0
>        delayed_switch_frame =3D 11995778
>        original_uppercase =3D 11995778
>        original_uppercase_position =3D -1
>        starting_buffer =3D 0xb77790
>        fake_prefixed_keys =3D 11995778
> #6  0x000000000050b76b in command_loop_1 () at keyboard.c:1448
>        cmd =3D 0
>        keybuf =3D {140629218229288, 9192392, 4611686018427404288,
> 4611686018427389952, 0, 1, 140734015718320, 5712078, 140629320511784,
> 0, 140629320254704,
>          140629320307912, 4233728, 140629218281056, 140629320511784,
> 0, 140629320254704, 140629320307912, 4232831, 140629218281056,
> 4214280, 4294967296, 0, 11995778, 64,
>          12241542, 140734015719856, 4611686018427518976, 11995778, =
5640642}
>        i =3D 822331824
>        prev_modiff =3D 0
>        prev_buffer =3D 0x0
> #7  0x00000000005740c1 in internal_condition_case (bfun=3D<optimized
> out>, handlers=3D<optimized out>, hfun=3D<optimized out>) at =
eval.c:1515
>        val =3D -514
>        c =3D {
>          tag =3D 11995778,
>          val =3D 11995778,
>          next =3D 0x7fff3103c570,
>          gcpro =3D 0x0,
>          jmp =3D {{
>              __jmpbuf =3D {12712224, 7083285089474616802, 11995778,
> 140734015719856, 0, 1, -7083456572643041822, 7083286383632227810},
>              __mask_was_saved =3D 0,
>              __saved_mask =3D {
>                __val =3D {140629320307912, 140734015718528, =
4294967295,
> 140734015718568, 1, 8606112, 0, 0, 1, 0, 140629318338513, 1, 0, 0,
> 140629218252208, 0}
>              }
>            }},
>          backlist =3D 0x0,
>          handlerlist =3D 0x0,
>          lisp_eval_depth =3D 0,
>          pdlcount =3D 2,
>          poll_suppress_count =3D 1,
>          interrupt_input_blocked =3D 0,
>          byte_stack =3D 0x0
>        }
>        h =3D {
>          handler =3D 12047842,
>          var =3D 11995778,
>          chosen_clause =3D 11995778,
>          tag =3D 0x7fff3103c400,
>          next =3D 0x0
>        }
> #8  0x0000000000502f2e in command_loop_2 (ignore=3D<optimized out>) at
> keyboard.c:1159
>        val =3D -514
> #9  0x00000000005741e8 in internal_catch (tag=3D<optimized out>,
> func=3D<optimized out>, arg=3D<optimized out>) at eval.c:1272
>        c =3D {
>          tag =3D 12043634,
>          val =3D 11995778,
>          next =3D 0x0,
>          gcpro =3D 0x0,
>          jmp =3D {{
>              __jmpbuf =3D {12712224, 7083285089474616802, 11995778,
> 140734015719856, 0, 1, -7083456572592710174, 7083286383603523042},
>              __mask_was_saved =3D 0,
>              __saved_mask =3D {
>                __val =3D {0, 0, 0, 0, 624, 272, 22, 0, 0, 0,
> 140629221879360, 140734015720184, 344, 12221746, 5710197,
> 140734015719080}
>              }
>            }},
>          backlist =3D 0x0,
>          handlerlist =3D 0x0,
>          lisp_eval_depth =3D 0,
>          pdlcount =3D 2,
>          poll_suppress_count =3D 1,
>          interrupt_input_blocked =3D 0,
>          byte_stack =3D 0x0
>        }
> #10 0x00000000005035fa in command_loop () at keyboard.c:1138
> No locals.
> #11 recursive_edit_1 () at keyboard.c:758
>        val =3D <optimized out>
> #12 0x000000000050370c in Frecursive_edit () at keyboard.c:822
>        buffer =3D 11995778
> #13 0x00000000004f7a40 in main (argc=3D0, argv=3D0x7fff3103caf8) at =
emacs.c:1715
>        dummy =3D 140629320309128
>        stack_bottom_variable =3D 0 '\000'
>        do_initial_setlocale =3D <optimized out>
>        skip_args =3D 1
>        rlim =3D {
>          rlim_cur =3D 8720000,
>          rlim_max =3D 18446744073709551615
>        }
>        no_loadup =3D 0
>        junk =3D 0x0
>        dname_arg =3D 0x0
>        ch_to_dir =3D 0x7fff3103ca18 "M\254\232\312\346\177"
> --- cut here ---
>=20
> `xbacktrace' gives no output.
>=20
> --- recipe ---
>=20
> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
>    `bt full' and `xbacktrace'.
> For information about debugging Emacs, please read the file
> /usr/local/share/emacs/24.0.94/etc/DEBUG.
>=20
>=20
> In GNU Emacs 24.0.94.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d =
scroll bars)
> of 2012-03-23 on torgo.mtv.corp.google.com
> Windowing system distributor `The X.Org Foundation', version =
11.0.10706000
> Configured using:
> `configure '--with-x-toolkit=3Dlucid''
>=20
> Important settings:
>  value of $LC_ALL: nil
>  value of $LC_COLLATE: en_US.UTF-8
>  value of $LC_CTYPE: nil
>  value of $LC_MESSAGES: nil
>  value of $LC_MONETARY: en_US.UTF-8
>  value of $LC_NUMERIC: en_US.UTF-8
>  value of $LC_TIME: en_US.UTF-8
>  value of $LANG: en_US.UTF-8
>  value of $XMODIFIERS: nil
>  locale-coding-system: utf-8-unix
>  default enable-multibyte-characters: t
>=20
> Major mode: Lisp Interaction
>=20
> Minor modes in effect:
>  tooltip-mode: t
>  mouse-wheel-mode: t
>  tool-bar-mode: t
>  menu-bar-mode: t
>  file-name-shadow-mode: t
>  global-font-lock-mode: t
>  font-lock-mode: t
>  auto-composition-mode: t
>  auto-encryption-mode: t
>  auto-compression-mode: t
>  line-number-mode: t
>  transient-mark-mode: t
>=20
> Recent input:
> C-x C-c M-x r e p o r t - <tab> <return>
>=20
> Recent messages:
> ("/usr/local/bin/emacs")
> Starting Emacs daemon.
> When done with this frame, type C-x 5 0
> (No files need saving)
> When done with this frame, type C-x 5 0
>=20
> Load-path shadows:
> None found.
>=20
> Features:
> (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 =
mml
> easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
> mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
> ietf-drums mm-util mail-prsvr mail-utils server time-date tooltip
> ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
> fontset image fringe lisp-mode register page menu-bar rfn-eshadow =
timer
> select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
> frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
> tai-viet lao korean japanese hebrew greek romanian slovak czech =
european
> ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook =
help
> simple abbrev minibuffer loaddefs button faces cus-face files
> text-properties overlay sha1 md5 base64 format env code-pages mule
> custom widget hashtable-print-readable backquote make-network-process
> dbusbind dynamic-setting system-font-setting font-render-setting
> x-toolkit x multi-tty emacs)
>=20
>=20





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11081; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Mar 2012 23:58:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 23 19:58:42 2012
Received: from localhost ([127.0.0.1]:35922 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SBENR-0000u9-An
	for submit <at> debbugs.gnu.org; Fri, 23 Mar 2012 19:58:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39833)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <townba@HIDDEN>) id 1SBEFR-0000gH-5R
	for submit <at> debbugs.gnu.org; Fri, 23 Mar 2012 19:50:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <townba@HIDDEN>) id 1SBDlT-00085D-Qi
	for submit <at> debbugs.gnu.org; Fri, 23 Mar 2012 19:19:25 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:43614)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <townba@HIDDEN>) id 1SBDlT-000855-K4
	for submit <at> debbugs.gnu.org; Fri, 23 Mar 2012 19:19:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48717)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <townba@HIDDEN>) id 1SBDlR-00059q-6U
	for bug-gnu-emacs@HIDDEN; Fri, 23 Mar 2012 19:19:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <townba@HIDDEN>) id 1SBDlO-00084b-Dn
	for bug-gnu-emacs@HIDDEN; Fri, 23 Mar 2012 19:19:20 -0400
Received: from mail-iy0-f169.google.com ([209.85.210.169]:54461)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <townba@HIDDEN>) id 1SBDlO-00084M-49
	for bug-gnu-emacs@HIDDEN; Fri, 23 Mar 2012 19:19:18 -0400
Received: by iajr24 with SMTP id r24so6512037iaj.0
	for <bug-gnu-emacs@HIDDEN>; Fri, 23 Mar 2012 16:19:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:date:x-google-sender-auth:message-id:subject
	:from:to:content-type;
	bh=6I8ivJBBhbnMh0WHn7N3BhN2jvB7UDvzz2zFZoEYxic=;
	b=GVXF2+Mjv7+DuVXSQ4RcExt7So5qQQ+R+zA/0aFi8J25VhNYIdg1OZek9Cy5XyllBW
	XZvMEgGmDaXfQx0Uw4edHI9Zn+r7v0Bf2euauZCTzOlTYLq/szJ1c3fslB58pE87Vnzd
	f44vzBCyaEYFufqmVcMixvUlpzKWNigUUGJetHawbqvS9IE+qiVhN1aeawXc6s2rS+o3
	ZptHYbfXKf1qB9qC49RhJzE2rdzAUk8zjiHyYYxAmtkIB3Ewm/yS4X8r3Uw4Wtzf++Qh
	XvRN1+Gh+4fSs9kX9iNf50Z3Zedx3TD1gfKyK6KW3urCZY99OrRYJ3Aw/qwiZaE/Kwi7
	r1Gg==
MIME-Version: 1.0
Received: by 10.68.201.201 with SMTP id kc9mr21448358pbc.50.1332544755103;
	Fri, 23 Mar 2012 16:19:15 -0700 (PDT)
Received: by 10.68.10.138 with HTTP; Fri, 23 Mar 2012 16:19:15 -0700 (PDT)
Date: Fri, 23 Mar 2012 16:19:15 -0700
X-Google-Sender-Auth: 7pEcp8DqDqNDrBsfE1ei3-MJa8g
Message-ID: <CAEkDjn1_OOSat=e9_-yR62Un2+bFd=f=PAxR2JJtpLdDyqq9Rw@HIDDEN>
Subject: 24.0.94; "emacsclient --create-frame" occasionally crashes daemon or
	causes daemon to hang
From: Brad Town <brad@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 23 Mar 2012 19:58:35 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

--- recipe ---
* Run /usr/local/bin/emacs -Q --daemon
* Repeat the following until hang or crash:
** Run /usr/local/bin/emacsclient --create-frame
** When the frame appears, C-x C-c to exit

gdb `bt full' output:

--- cut here ---
#0  0x00007fe6caa6b583 in __select_nocancel () at
../sysdeps/unix/syscall-template.S:82
No locals.
#1  0x00000000004ec561 in xg_select (max_fds=4, rfds=0x7fff3103bb40,
wfds=0x7fff3103bac0, efds=0x0, timeout=<optimized out>) at
xgselect.c:100
        all_rfds = {
          fds_bits = {8, 0 <repeats 15 times>}
        }
        all_wfds = {
          fds_bits = {0 <repeats 16 times>}
        }
        tmo = {
          tv_sec = 1332543996,
          tv_usec = 800572
        }
        tmop = 0x7fff3103bc30
        context = 0xe97a40
        have_wfds = 1
        n_gfds = <optimized out>
        our_tmo = 0
        retval = <optimized out>
        our_fds = <optimized out>
        i = <optimized out>
        nfds = <optimized out>
        tmo_in_millisec = -1
#2  0x00000000005b0e44 in wait_reading_process_output
(time_limit=<optimized out>, microsecs=<optimized out>, read_kbd=-1,
do_display=<optimized out>,
    wait_for_cell=<optimized out>, wait_proc=0x0, just_wait_proc=0) at
process.c:4608
        timeout_reduced_for_timers = 0
        channel = -514
        nfds = <optimized out>
        Available = {
          fds_bits = {8, 0 <repeats 15 times>}
        }
        Writeok = {
          fds_bits = {0 <repeats 16 times>}
        }
        check_write = 1
        check_delay = 0
        no_avail = 1
        xerrno = 2
        proc = <optimized out>
        timeout = {
          tv_sec = 99928,
          tv_usec = 160649
        }
        end_time = {
          tv_sec = 0,
          tv_usec = 0
        }
        wait_channel = -1
        got_some_input = 0
#3  0x000000000050735d in kbd_buffer_get_event (end_time=<optimized
out>, used_mouse_menu=<optimized out>, kbp=<optimized out>) at
keyboard.c:3853
        c = <optimized out>
        obj = <optimized out>
#4  read_char (commandflag=<optimized out>, nmaps=<optimized out>,
maps=<optimized out>, prev_event=<optimized out>,
used_mouse_menu=<optimized out>, end_time=0x0)
    at keyboard.c:2799
        kb = <optimized out>
        c = 11995778
        local_getcjmp = {{
            __jmpbuf = {11995778, 7083285557197970914, 1, 1, 12085424,
140734015717488, -7083456576088662558, 7083286322900934114},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0, 1, 0, 11065426, 9585369, 11065416, 9893797,
0, 3120373890685015296, 111, 9893744, 9893749, 9893744, 0, 2,
11995778}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        key_already_recorded = 0
        tem = <optimized out>
        save = <optimized out>
        previous_echo_area_message = 11995778
        also_record = 11995778
        reread = 0
        polling_stopped_here = 1
        orig_kboard = 0xb7d720
#5  0x0000000000509438 in read_key_sequence (keybuf=<optimized out>,
bufsize=<optimized out>, prompt=<optimized out>,
dont_downcase_last=<optimized out>,
    can_return_switch_frame=<optimized out>,
fix_current_buffer=<optimized out>) at keyboard.c:9326
        interrupted_kboard = 0xb7d720
        key = 1
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 32767
        keys_local_start = 0
        from_string = <optimized out>
        count = 2
        t = <optimized out>
        echo_start = <optimized out>
        keys_start = 0
        nmaps = <optimized out>
        nmaps_allocated = 2
        defs = 0x7fff3103c050
        submaps = <optimized out>
        orig_local_map = 17529222
        orig_keymap = 11995778
        localized_local_map = 0
        first_binding = <optimized out>
        first_unbound = <optimized out>
        mock_input = <optimized out>
        fkey = {
          parent = 12419798,
          map = 12419798,
          start = 0,
          end = 0
        }
        keytran = {
          parent = 11975078,
          map = 11975078,
          start = 0,
          end = 0
        }
        indec = {
          parent = 12419814,
          map = 12419814,
          start = 0,
          end = 0
        }
        shift_translated = 0
        delayed_switch_frame = 11995778
        original_uppercase = 11995778
        original_uppercase_position = -1
        starting_buffer = 0xb77790
        fake_prefixed_keys = 11995778
#6  0x000000000050b76b in command_loop_1 () at keyboard.c:1448
        cmd = 0
        keybuf = {140629218229288, 9192392, 4611686018427404288,
4611686018427389952, 0, 1, 140734015718320, 5712078, 140629320511784,
0, 140629320254704,
          140629320307912, 4233728, 140629218281056, 140629320511784,
0, 140629320254704, 140629320307912, 4232831, 140629218281056,
4214280, 4294967296, 0, 11995778, 64,
          12241542, 140734015719856, 4611686018427518976, 11995778, 5640642}
        i = 822331824
        prev_modiff = 0
        prev_buffer = 0x0
#7  0x00000000005740c1 in internal_condition_case (bfun=<optimized
out>, handlers=<optimized out>, hfun=<optimized out>) at eval.c:1515
        val = -514
        c = {
          tag = 11995778,
          val = 11995778,
          next = 0x7fff3103c570,
          gcpro = 0x0,
          jmp = {{
              __jmpbuf = {12712224, 7083285089474616802, 11995778,
140734015719856, 0, 1, -7083456572643041822, 7083286383632227810},
              __mask_was_saved = 0,
              __saved_mask = {
                __val = {140629320307912, 140734015718528, 4294967295,
140734015718568, 1, 8606112, 0, 0, 1, 0, 140629318338513, 1, 0, 0,
140629218252208, 0}
              }
            }},
          backlist = 0x0,
          handlerlist = 0x0,
          lisp_eval_depth = 0,
          pdlcount = 2,
          poll_suppress_count = 1,
          interrupt_input_blocked = 0,
          byte_stack = 0x0
        }
        h = {
          handler = 12047842,
          var = 11995778,
          chosen_clause = 11995778,
          tag = 0x7fff3103c400,
          next = 0x0
        }
#8  0x0000000000502f2e in command_loop_2 (ignore=<optimized out>) at
keyboard.c:1159
        val = -514
#9  0x00000000005741e8 in internal_catch (tag=<optimized out>,
func=<optimized out>, arg=<optimized out>) at eval.c:1272
        c = {
          tag = 12043634,
          val = 11995778,
          next = 0x0,
          gcpro = 0x0,
          jmp = {{
              __jmpbuf = {12712224, 7083285089474616802, 11995778,
140734015719856, 0, 1, -7083456572592710174, 7083286383603523042},
              __mask_was_saved = 0,
              __saved_mask = {
                __val = {0, 0, 0, 0, 624, 272, 22, 0, 0, 0,
140629221879360, 140734015720184, 344, 12221746, 5710197,
140734015719080}
              }
            }},
          backlist = 0x0,
          handlerlist = 0x0,
          lisp_eval_depth = 0,
          pdlcount = 2,
          poll_suppress_count = 1,
          interrupt_input_blocked = 0,
          byte_stack = 0x0
        }
#10 0x00000000005035fa in command_loop () at keyboard.c:1138
No locals.
#11 recursive_edit_1 () at keyboard.c:758
        val = <optimized out>
#12 0x000000000050370c in Frecursive_edit () at keyboard.c:822
        buffer = 11995778
#13 0x00000000004f7a40 in main (argc=0, argv=0x7fff3103caf8) at emacs.c:1715
        dummy = 140629320309128
        stack_bottom_variable = 0 '\000'
        do_initial_setlocale = <optimized out>
        skip_args = 1
        rlim = {
          rlim_cur = 8720000,
          rlim_max = 18446744073709551615
        }
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x7fff3103ca18 "M\254\232\312\346\177"
--- cut here ---

`xbacktrace' gives no output.

--- recipe ---

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/share/emacs/24.0.94/etc/DEBUG.


In GNU Emacs 24.0.94.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-03-23 on torgo.mtv.corp.google.com
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
Configured using:
 `configure '--with-x-toolkit=lucid''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_US.UTF-8
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-c M-x r e p o r t - <tab> <return>

Recent messages:
("/usr/local/bin/emacs")
Starting Emacs daemon.
When done with this frame, type C-x 5 0
(No files need saving)
When done with this frame, type C-x 5 0

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils server time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting system-font-setting font-render-setting
x-toolkit x multi-tty emacs)




Acknowledgement sent to Brad Town <brad@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11081; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.