Mail Archives: cygwin/2019/04/04/14:31:36
X-Recipient: | archive-cygwin AT delorie DOT com
|
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:from:to:subject:date:message-id:references
|
| :in-reply-to:content-type:content-transfer-encoding
|
| :mime-version; q=dns; s=default; b=XfX672QqpWLH7WisJQa+2LW5VkSDD
|
| Pft9Q3UQNQpMRIF3Ck06SeqmR3WBlYAwIElguUTiW741+4UTDbXoRp+6uvWlICQj
|
| yQ1a7X+nrgz4s9Z1w/PZnMZbHR8oDed/nh688GSlJleeDaW7hT1DOp12zm9YjxD4
|
| tPSUrwjVHzhaVA=
|
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:from:to:subject:date:message-id:references
|
| :in-reply-to:content-type:content-transfer-encoding
|
| :mime-version; s=default; bh=8XnMIkNFjHt4Jbcx+aBtTmolOF0=; b=kRM
|
| 9bV8bgR4Pe1pnZA5pK/exbwgx8ahKpea6Fh57GBXiaZiYpeUc4WAG7XWhJaVreg3
|
| 1bid5HBUoGoepgzU8jRNBYaTdxXiXLG7Q8ByW5R7feMShKR2j3R+sbI620798LpW
|
| W53WMMmUXyeHGmP1ttkumsC8Q1ghKzwd1b6YmK1M=
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
Authentication-Results: | sourceware.org; auth=none
|
X-Spam-SWARE-Status: | No, score=-3.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=1201, quit
|
X-HELO: | NAM05-BY2-obe.outbound.protection.outlook.com
|
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=flightsafety.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0tlQhN58qm6/aLbQHg2yX+V4vO/ccKWMY9pDWhCo/1s=; b=JAuqPOpqeCCv1ZZbJatT8sSze0n9vR9WWVwGRnQWTAzy3kxPgLjuQVlc/gASjKnXcsY/mrkOSceZSecsH3eBgac4Doe7tHw93Y3mTuKk9siW/TxJA1i+xeBB86aiC3ydpmr6SDfD8jSKCA2586AoMcYhI75enaIZfL6yhR6XHU4=
|
Authentication-Results: | spf=pass (sender IP is 66.109.88.133) smtp.mailfrom=flightsafety.com; cygwin.com; dkim=none (message not signed) header.d=none;cygwin.com; dmarc=pass action=none header.from=flightsafety.com;
|
Received-SPF: | Pass (protection.outlook.com: domain of flightsafety.com designates 66.109.88.133 as permitted sender) receiver=protection.outlook.com; client-ip=66.109.88.133; helo=p0001ws0011.flightsafety.com;
|
From: | "Rockefeller, Harry" <Harry DOT Rockefeller AT flightsafety DOT com>
|
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
|
Subject: | RE: emacs-X11 freezes with mouse cut and paste
|
Date: | Thu, 4 Apr 2019 18:31:07 +0000
|
Message-ID: | <cd8c0aaf38624160945152a8173ec88d@vsrv060ex01.ssd.fsi.com>
|
References: | <fa6ec2233a744738b4efa74af9e9e68c AT vsrv060ex01 DOT ssd DOT fsi DOT com> <614fbba4-3425-4705-3342-99bbe8684ee0 AT cornell DOT edu> <94be9b602dbf4c02b6f7f796895b9475 AT vsrv060ex01 DOT ssd DOT fsi DOT com> <e8d10038-ef11-26e4-9d7a-cb0b8abcca30 AT cornell DOT edu>
|
In-Reply-To: | <e8d10038-ef11-26e4-9d7a-cb0b8abcca30@cornell.edu>
|
MIME-Version: | 1.0
|
X-MS-Exchange-SenderADCheck: | 1
|
X-IsSubscribed: | yes
|
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id x34IVW2N018857
|
>>> Alternatively, instead of running emacs under gdb, you could just run emacs as you normally do and then attach gdb when emacs freezes. >>("gdb -p <PID>") At that point, a backtrace of all threads would be useful.
>> It happened again. Attached to PID as shown above. (gdb) list gave same result as above.
>> (gdb) bt
>> #0 0x00000000773bafb1 in ntdll!DbgBreakPoint () from
>> /cygdrive/c/Windows/SYSTEM32/ntdll.dll
>> #1 0x0000000077462e08 in ntdll!DbgUiRemoteBreakin () from
>> /cygdrive/c/Windows/SYSTEM32/ntdll.dll
>> #2 0x00000000772659cd in KERNEL32!BaseThreadInitThunk () from
>> /cygdrive/c/Windows/system32/kernel32.dll
>> #3 0x000000007739a561 in ntdll!RtlUserThreadStart () from
>> /cygdrive/c/Windows/SYSTEM32/ntdll.dll
>> #4 0x0000000000000000 in ?? ()
>> Backtrace stopped: previous frame inner to this frame (corrupt stack?)
>>
>> Does this tell me the problem is not Cygwin? Perhaps BLODA or bad hardware, maybe bad mouse?
>
>Not yet. When you attach gdb to a process, it creates a new thread to be used by gdb. What you're seeing above is the backtrace in that thread. >You need to switch to the main thread before you can get a useful backtrace:
>
>(gdb) thread 1
>(gdb) bt
>Ken
Here it is:
(gdb) bt
#0 0x00000001004e4e57 in readable_events (flags=1) at /usr/src/debug/emacs-26.1-1/src/keyboard.c:3338
#1 0x00000001004e5a85 in get_input_pending (flags=flags AT entry=1) at /usr/src/debug/emacs-26.1-1/src/keyboard.c:6824
#2 0x00000001004e5b3d in swallow_events (do_display=do_display AT entry=false)
at /usr/src/debug/emacs-26.1-1/src/keyboard.c:4264
#3 0x0000000100592e0e in wait_reading_process_output (time_limit=<optimized out>, nsecs=<optimized out>,
read_kbd=read_kbd AT entry=0, do_display=do_display AT entry=false, wait_for_cell=4305482867,
wait_proc=wait_proc AT entry=0x0, just_wait_proc=just_wait_proc AT entry=0)
at /usr/src/debug/emacs-26.1-1/src/process.c:5547
#4 0x00000001004c5d19 in x_get_foreign_selection (selection_symbol=<optimized out>, target_type=9360, time_stamp=0,
frame=25790477765) at /usr/src/debug/emacs-26.1-1/src/xselect.c:1201
#5 0x0000000100551ab0 in Ffuncall (nargs=<optimized out>, args=args AT entry=0xffffaef8)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2769
#6 0x0000000100588100 in exec_byte_code (bytestr=<optimized out>, vector=4294947221, maxdepth=<optimized out>,
args_template=args_template AT entry=4106, nargs=<optimized out>, nargs AT entry=2, args=<optimized out>,
args AT entry=0xffffb198) at /usr/src/debug/emacs-26.1-1/src/bytecode.c:629
#7 0x0000000100554187 in funcall_lambda (fun=4311658037, nargs=nargs AT entry=2, arg_vector=arg_vector AT entry=0xffffb198)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2970
#8 0x0000000100551a2b in Ffuncall (nargs=nargs AT entry=3, args=0xffffb190) at /usr/src/debug/emacs-26.1-1/src/eval.c:2783
#9 0x0000000100553560 in Fapply (nargs=2, args=0xffffb2e0) at /usr/src/debug/emacs-26.1-1/src/eval.c:2389
#10 0x0000000100551ab0 in Ffuncall (nargs=<optimized out>, args=args AT entry=0xffffb2d8)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2769
#11 0x0000000100588100 in exec_byte_code (bytestr=<optimized out>, vector=4294948333, maxdepth=<optimized out>,
args_template=args_template AT entry=514, nargs=<optimized out>, nargs AT entry=2, args=<optimized out>,
args AT entry=0xffffb5f0) at /usr/src/debug/emacs-26.1-1/src/bytecode.c:629
#12 0x0000000100554187 in funcall_lambda (fun=4311084885, nargs=nargs AT entry=2, arg_vector=arg_vector AT entry=0xffffb5f0)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2970
#13 0x0000000100551a2b in Ffuncall (nargs=3, args=args AT entry=0xffffb5e8) at /usr/src/debug/emacs-26.1-1/src/eval.c:2783
#14 0x0000000100588100 in exec_byte_code (bytestr=<optimized out>, vector=4294949125, maxdepth=<optimized out>,
args_template=args_template AT entry=2050, nargs=<optimized out>, nargs AT entry=2, args=<optimized out>,
args AT entry=0xffffb908) at /usr/src/debug/emacs-26.1-1/src/bytecode.c:629
#15 0x0000000100554187 in funcall_lambda (fun=4302454965, nargs=nargs AT entry=2, arg_vector=arg_vector AT entry=0xffffb908)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2970
#16 0x0000000100551a2b in Ffuncall (nargs=3, args=args AT entry=0xffffb900) at /usr/src/debug/emacs-26.1-1/src/eval.c:2783
#17 0x0000000100588100 in exec_byte_code (bytestr=<optimized out>, vector=4294949869, maxdepth=<optimized out>,
args_template=args_template AT entry=1030, nargs=<optimized out>, nargs AT entry=1, args=<optimized out>,
args AT entry=0xffffbbf0) at /usr/src/debug/emacs-26.1-1/src/bytecode.c:629
#18 0x0000000100554187 in funcall_lambda (fun=4302453685, nargs=nargs AT entry=1, arg_vector=arg_vector AT entry=0xffffbbf0)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2970
#19 0x0000000100551a2b in Ffuncall (nargs=2, args=args AT entry=0xffffbbe8) at /usr/src/debug/emacs-26.1-1/src/eval.c:2783
#20 0x0000000100588100 in exec_byte_code (bytestr=<optimized out>, vector=4294950549, maxdepth=<optimized out>,
args_template=args_template AT entry=2, nargs=<optimized out>, nargs AT entry=0, args=<optimized out>,
args AT entry=0xffffbe98) at /usr/src/debug/emacs-26.1-1/src/bytecode.c:629
#21 0x0000000100554187 in funcall_lambda (fun=4302454245, nargs=nargs AT entry=0, arg_vector=arg_vector AT entry=0xffffbe98)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2970
#22 0x0000000100551a2b in Ffuncall (nargs=1, args=args AT entry=0xffffbe90) at /usr/src/debug/emacs-26.1-1/src/eval.c:2783
#23 0x0000000100588100 in exec_byte_code (bytestr=<optimized out>, vector=4294951421, maxdepth=<optimized out>,
args_template=args_template AT entry=1030, nargs=<optimized out>, nargs AT entry=1, args=<optimized out>,
args AT entry=0xffffc200) at /usr/src/debug/emacs-26.1-1/src/bytecode.c:629
#24 0x0000000100554187 in funcall_lambda (fun=4302432069, nargs=nargs AT entry=1, arg_vector=arg_vector AT entry=0xffffc200)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2970
#25 0x0000000100551a2b in Ffuncall (nargs=nargs AT entry=2, args=args AT entry=0xffffc1f8)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2783
#26 0x000000010054e423 in Ffuncall_interactively (nargs=2, args=0xffffc1f8)
at /usr/src/debug/emacs-26.1-1/src/callint.c:252
---Type <return> to continue, or q <return> to quit---
#27 0x0000000100551ab0 in Ffuncall (nargs=nargs AT entry=10043408, args=0xffffc1f0,
args AT entry=0x100588100 <exec_byte_code+704>) at /usr/src/debug/emacs-26.1-1/src/eval.c:2769
#28 0x000000010054ed4f in Fcall_interactively (function=<optimized out>, record_flag=<optimized out>,
keys=<optimized out>) at /usr/src/debug/emacs-26.1-1/src/callint.c:854
#29 0x0000000100551ab0 in Ffuncall (nargs=<optimized out>, args=args AT entry=0xffffc448)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2769
#30 0x0000000100588100 in exec_byte_code (bytestr=<optimized out>, vector=4294952853, maxdepth=<optimized out>,
args_template=args_template AT entry=4102, nargs=<optimized out>, nargs AT entry=1, args=<optimized out>,
args AT entry=0xffffc798) at /usr/src/debug/emacs-26.1-1/src/bytecode.c:629
#31 0x0000000100554187 in funcall_lambda (fun=4302011021, nargs=nargs AT entry=1, arg_vector=arg_vector AT entry=0xffffc798)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2970
#32 0x0000000100551a2b in Ffuncall (nargs=nargs AT entry=2, args=args AT entry=0xffffc790)
at /usr/src/debug/emacs-26.1-1/src/eval.c:2783
#33 0x0000000100551b7f in call1 (fn=fn AT entry=16080, arg1=<optimized out>) at /usr/src/debug/emacs-26.1-1/src/eval.c:2620
#34 0x00000001004ed24c in command_loop_1 () at /usr/src/debug/emacs-26.1-1/src/keyboard.c:1482
#35 0x0000000100550beb in internal_condition_case (bfun=bfun AT entry=0x1004ecdf0 <command_loop_1>,
handlers=handlers AT entry=20928, hfun=hfun AT entry=0x1004e3ca0 <cmd_error>) at /usr/src/debug/emacs-26.1-1/src/eval.c:1332
#36 0x00000001004de414 in command_loop_2 (ignore=<optimized out>) at /usr/src/debug/emacs-26.1-1/src/keyboard.c:1110
#37 0x0000000100550b5a in internal_catch (tag=tag AT entry=50496, func=func AT entry=0x1004de3f0 <command_loop_2>,
arg=arg AT entry=0) at /usr/src/debug/emacs-26.1-1/src/eval.c:1097
#38 0x00000001004de3a8 in command_loop () at /usr/src/debug/emacs-26.1-1/src/keyboard.c:1089
#39 0x00000001004e387d in recursive_edit_1 () at /usr/src/debug/emacs-26.1-1/src/keyboard.c:695
#40 0x00000001004e3bd4 in Frecursive_edit () at /usr/src/debug/emacs-26.1-1/src/keyboard.c:766
#41 0x00000001005e20d1 in main (argc=<optimized out>, argv=0xffffcc70) at /usr/src/debug/emacs-26.1-1/src/emacs.c:1717
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -