unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12425: 24.2.50; gud-mi failing with threads 'Cannot get thread event message:
@ 2012-09-12 11:37 Wilfried Gösgens
  2020-08-20 18:19 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Wilfried Gösgens @ 2012-09-12 11:37 UTC (permalink / raw)
  To: 12425


[-- Attachment #1.1: Type: text/plain, Size: 5078 bytes --]

Hi Emacs buggers,  

When running my employers programms in the new emacs24 gdb behaves bad
because of the threadding model. Its a per request worker thread model;
I wasn't able to reproduce the problem with citadels threadded
components.

I tried to compile from latest git, run with '-q' problem persists.

since this used to work with emacs-GUD in emacs 23 without troubles, I
retried using other gdb-mi frontends: kdevelop; worked without problems.

i've straced GDB to show the IO's between emacs and GDB <see attachment>  

In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-05 on wxwilli.o3sis.com
Bzr revision: 109889 dmantipov@yandex.ru-20120905125503-4glyixnraxwev4et
Windowing system distributor `The X.Org Foundation', version 11.0.11203000
Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  delete-selection-mode: t
  pc-selection-mode: t
  global-ede-mode: t
  global-semanticdb-minor-mode: t
  global-semantic-idle-completions-mode: t
  global-semantic-idle-scheduler-mode: t
  global-semantic-idle-summary-mode: t
  semantic-mode: t
  diff-auto-refine-mode: t
  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
  blink-cursor-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-f s r c / o 3 <tab> s r c / a p p s <tab> g e 
t r <tab> c <tab> <return> <C-f7> <return> r u n SPC 
- O R B d e b u g <return> <help-echo> <help-echo> 
<down-mouse-1> <mouse-1> <double-down-mouse-1> <mouse-movement> 
<mouse-movement> <double-drag-mouse-1> <down-mouse-1> 
<mouse-1> C-x k <return> y e s <return> <C-f7> <return> 
r u n SPC - O R B d e b u g <return> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<debug> <mi> <current-thread> M-x r e p o r t <tab> 
<return>

Recent messages:
Loading /home/willi/.xemacs/custom.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Cannot find image file `test.png' [2 times]
Package pc-select is obsolete!
Package pc-mode is obsolete!
Cannot find image file `test.png' [22 times]
Loading cc-langs...done
Loading semantic/db-file...done
Note: file is write protected
Loading vc-svn...done

Load-path shadows:
~/.emacs.d/goto-addr hides /usr/local/share/emacs/24.2.50/lisp/net/goto-addr

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils inversion semantic/tag-file semantic/db-typecache
semantic/find semantic/complete eieio-opt gdb-mi bindat json gud
vc-dispatcher vc-svn eldoc help-fns semantic/db-file cedet-files
semantic/bovine/c semantic/decorate/include semantic/db-find
semantic/db-ref semantic/decorate/mode semantic/decorate pulse
semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep
semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn
cc-langs pc-mode delsel pc-select ede/linux ede/emacs ede/cpp-root
ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar
eieio-custom semantic/db-mode semantic/db eieio-base semantic/idle
semantic/format semantic/tag-ls semantic/ctxt semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw eieio
byte-opt bytecomp byte-compile cconv mode-local cedet plsql sql comint
ansi-color align imenu server whitespace oddmuse simple-wiki
track-scroll psvn edmacro kmacro wid-edit cl-macs gv cl cl-lib log-edit
ring pcvs-util add-log diff-mode easy-mmode pp elp ediff-merg ediff-diff
ediff-wind ediff-mult ediff-help ediff-init ediff-util dired
column-marker vcard-mode php-mode derived cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs speedbar
sb-image ezimage dframe easymenu goto-addr thingatpt time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment 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 macroexp 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 move-toolbar gtk
x-toolkit x multi-tty emacs)


  

-- 
 o__
 _> / _
(_) \(_)...

[-- Attachment #1.2: Type: text/html, Size: 5796 bytes --]

[-- Attachment #2: loggdb.txt --]
[-- Type: text/plain, Size: 32494 bytes --]

Process 8736 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
read(5, 0xbfeeaeeb, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
write(7, "+", 1)                        = 1
sigreturn()                             = ? (mask now [])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 1 ([{fd=5, revents=POLLIN}])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(5, "+", 1)                         = 1
read(5, 0xbfeeb28b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
waitpid(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}], WNOHANG|__WCLONE) = 8769
waitpid(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP} | 0x30000], WNOHANG|__WCLONE) = 8749
ptrace(PTRACE_GETEVENTMSG, 8749, 0, 0xbfeeb0dc) = 0
ptrace(PTRACE_POKEUSER, 8769, offsetof(struct user, u_debugreg), 0) = 0
ptrace(PTRACE_POKEUSER, 8769, offsetof(struct user, u_debugreg) + 4, 0) = 0
ptrace(PTRACE_POKEUSER, 8769, offsetof(struct user, u_debugreg) + 8, 0) = 0
ptrace(PTRACE_POKEUSER, 8769, offsetof(struct user, u_debugreg) + 12, 0) = 0
ptrace(PTRACE_POKEUSER, 8769, offsetof(struct user, u_debugreg) + 28, 0) = 0
ptrace(PTRACE_PEEKTEXT, 8769, 0xb7c4d180, [0xb7ab9730]) = 0
ptrace(PTRACE_GETREGS, 8769, 0, 0xbfeead68) = 0
ptrace(PTRACE_GETFPXREGS, 8769, 0, 0xbfeeabb0) = 0
ptrace(0x19 /* PTRACE_??? */, 8769, 0x6, 0xbfeeae40) = 0
open("/proc/8769/mem", O_RDONLY|O_LARGEFILE) = 10
pread64(10, "pk\246\266XK}\10pk\246\266\1\0\0\0\24\24\376\267\0a\232\301\313\223<\375\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\320{&\267,\261\304\267A\"\0\0'\"\0\0\340k\246\266\354\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\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, "~\"[New Thread 0xb6a66b70 (LWP 8769)]\\n\"\n", 40) = 40
ptrace(PTRACE_PEEKTEXT, 8769, 0xb6a66d7c, [0x1000000]) = 0
ptrace(PTRACE_POKEDATA, 8769, 0xb6a66d7c, 0x1000100) = 0
ptrace(PTRACE_PEEKTEXT, 8769, 0xb7c4b168, [0x1]) = 0
ptrace(PTRACE_POKEDATA, 8769, 0xb7c4b168, 0x1) = 0
write(1, "*running,thread-id=\"4\"\n", 23) = 23
ptrace(PTRACE_CONT, 8769, 0, SIG_0)     = 0
ptrace(PTRACE_CONT, 8749, 0, SIG_0)     = 0
waitpid(-1, 0xbfeeb224, WNOHANG|__WCLONE) = 0
waitpid(-1, 0xbfeeb224, WNOHANG)        = 0
open("/proc/8743/status", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "Name:\to3sis_appsrv\nState:\tS (sleeping)\nTgid:\t8743\nPid:\t8743\nPPid:\t8736\nTracerPid:\t8736\nUid:\t1000\t1000\t1000\t1000\nGid:\t1000\t1000\t1000\t1000\nFDSize:\t32\nGroups:\t4 29 100 109 119 1000 \nVmPeak:\t   38424 kB\nVmSize:\t   38424 kB\nVmLck:\t       0 kB\nVmHWM:\t    4632 kB\nVmRSS:\t    4632 kB\nVmData:\t   28284 kB\nVmStk:\t     136 kB\nVmExe:\t    4504 kB\nVmLib:\t    4892 kB\nVmPTE:\t      32 kB\nVmSwap:\t       0 kB\nThreads:\t4\nSigQ:\t0/28747\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000021003000\nSigCgt:\t0000000180004200\nCapInh:\t0000000000000000\nCapPrm:\t0000000000000000\nCapEff:\t0000000000000000\nCapBnd:\tffffffffffffffff\nCpus_allowed:\t3\nCpus_allowed_list:\t0-1\nMems_allowed:\t1\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t114\nnonvoluntary_ctxt_switches:\t30\n", 1024) = 778
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, -1) = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
read(5, 0xbfeeaeeb, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
write(7, "+", 1)                        = 1
sigreturn()                             = ? (mask now [])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 1 ([{fd=5, revents=POLLIN}])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(5, "+", 1)                         = 1
read(5, 0xbfeeb28b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
waitpid(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP}], WNOHANG|__WCLONE) = 8749
ptrace(PTRACE_GETSIGINFO, 8749, 0, {si_signo=SIGTRAP, si_code=0x80, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}) = 0
ptrace(PTRACE_PEEKUSER, 8749, offsetof(struct user, u_debugreg) + 24, [0x4000]) = 0
tkill(8749, SIG_0)                      = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/8743/task/8749/stat", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "8749 (o3sis_appsrv) t 8736 8743 8743 34821 8743 8256 7 0 0 0 0 0 0 0 20 0 4 0 821410 39346176 1158 4294967295 134512640 139121678 3221223648 3081142828 3083050097 0 0 553660416 16896 3238260495 0 0 -1 1 0 0 0 0 0\n", 1024) = 213
read(10, "", 1024)                      = 0
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
read(5, 0xbfeeb25b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
write(7, "+", 1)                        = 1
ptrace(PTRACE_PEEKTEXT, 8749, 0xb7c4d180, [0xb7ab9730]) = 0
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeeb0e8) = 0
ptrace(PTRACE_GETFPXREGS, 8749, 0, 0xbfeeaf30) = 0
ptrace(0x19 /* PTRACE_??? */, 8749, 0x6, 0xbfeeb1c0) = 0
open("/proc/8749/mem", O_RDONLY|O_LARGEFILE) = 10
pread64(10, "p\213\246\267(J}\10p\213\246\267\1\0\0\0\24\24\376\267\0a\232\301\313\223<\375\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0,\261\304\267\320{&\267-\"\0\0'\"\0\0\340\213\246\267\354\377\377\377\0\0\0\0\0\0\0\0D\204\246\267\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\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0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 1168, 3081145200) = 1168
close(10)                               = 0
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeeaf58) = 0
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeeaf1c) = 0
ptrace(PTRACE_SETREGS, 8749, 0, 0xbfeeaf1c) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/proc/8749/mem", O_RDONLY|O_LARGEFILE) = 10
pread64(10, "^\211\341\203\344\360PTRh\300\222=\10h\320", 16, 134531818) = 16
close(10)                               = 0
open("/proc/8749/mem", O_RDONLY|O_LARGEFILE) = 10
pread64(10, "\314\211\345]\303\215t&\0\215\274'\0\0\0\0", 16, 3083050096) = 16
close(10)                               = 0
ptrace(PTRACE_PEEKTEXT, 8749, 0x804cae8, [0x895eed31]) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804cae8, 0x8955ed31) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804caec, 0x8dc35de5) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804caf0, 0x8d002674) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804caf4, 0x27bc) = 0
ptrace(PTRACE_PEEKTEXT, 8749, 0x804caf8, [0x3d92d068]) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804caf8, 0x3d920000) = 0
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeeae5c) = 0
ptrace(PTRACE_SETREGS, 8749, 0, 0xbfeeae5c) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeead58) = 0
ptrace(PTRACE_PEEKTEXT, 8749, 0x804cae8, [0x8955ed31]) = 0
ptrace(PTRACE_SINGLESTEP, 8749, 0, SIG_0) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
read(5, "+", 1)                         = 1
read(5, 0xbfeea8fb, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
write(7, "+", 1)                        = 1
sigreturn()                             = ? (mask now [])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 1 ([{fd=5, revents=POLLIN}])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(5, "+", 1)                         = 1
read(5, 0xbfeeb28b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
waitpid(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP}], WNOHANG|__WCLONE) = 8749
ptrace(PTRACE_GETSIGINFO, 8749, 0, {si_signo=SIGTRAP, si_code=TRAP_TRACE, si_pid=134531819, si_uid=0, si_value={int=0, ptr=0}}) = 0
ptrace(PTRACE_PEEKUSER, 8749, offsetof(struct user, u_debugreg) + 24, [0x4000]) = 0
tkill(8749, SIG_0)                      = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/8743/task/8749/stat", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "8749 (o3sis_appsrv) t 8736 8743 8743 34821 8743 8256 12 0 0 0 0 0 0 0 20 0 4 0 821410 39346176 1158 4294967295 134512640 139121678 3221223648 3081142824 134531819 0 0 553660416 16896 3238260495 0 0 -1 0 0 0 0 0 0\n", 1024) = 213
read(10, "", 1024)                      = 0
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
read(5, 0xbfeeb25b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
write(7, "+", 1)                        = 1
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeeaf58) = 0
ptrace(PTRACE_PEEKTEXT, 8749, 0xb7c4d180, [0xb7ab9730]) = 0
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeeb0e8) = 0
ptrace(PTRACE_GETFPXREGS, 8749, 0, 0xbfeeaf30) = 0
ptrace(0x19 /* PTRACE_??? */, 8749, 0x6, 0xbfeeb1c0) = 0
open("/proc/8749/mem", O_RDONLY|O_LARGEFILE) = 10
pread64(10, "p\213\246\267(J}\10p\213\246\267\1\0\0\0\24\24\376\267\0a\232\301\313\223<\375\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0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\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 1168, 3081145200) = 1168
close(10)                               = 0
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeeaf58) = 0
ptrace(PTRACE_PEEKTEXT, 8749, 0x804cae8, [0x8955ed31]) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804cae8, 0x895eed31) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804caec, 0xf0e483e1) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804caf0, 0x68525450) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804caf4, 0x83d92c0) = 0
ptrace(PTRACE_PEEKTEXT, 8749, 0x804caf8, [0x3d920000]) = 0
ptrace(PTRACE_POKEDATA, 8749, 0x804caf8, 0x3d92d068) = 0
ptrace(PTRACE_GETREGS, 8749, 0, 0xbfeeaebc) = 0
ptrace(PTRACE_SETREGS, 8749, 0, 0xbfeeaebc) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
ptrace(PTRACE_CONT, 8749, 0, SIG_0)     = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 1 ([{fd=5, revents=POLLIN}])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(5, "+", 1)                         = 1
read(5, 0xbfeeb28b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
waitpid(-1, 0xbfeeb224, WNOHANG|__WCLONE) = 0
waitpid(-1, 0xbfeeb224, WNOHANG)        = 0
open("/proc/8743/status", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "Name:\to3sis_appsrv\nState:\tS (sleeping)\nTgid:\t8743\nPid:\t8743\nPPid:\t8736\nTracerPid:\t8736\nUid:\t1000\t1000\t1000\t1000\nGid:\t1000\t1000\t1000\t1000\nFDSize:\t32\nGroups:\t4 29 100 109 119 1000 \nVmPeak:\t   38424 kB\nVmSize:\t   38424 kB\nVmLck:\t       0 kB\nVmHWM:\t    4632 kB\nVmRSS:\t    4632 kB\nVmData:\t   28284 kB\nVmStk:\t     136 kB\nVmExe:\t    4504 kB\nVmLib:\t    4892 kB\nVmPTE:\t      32 kB\nVmSwap:\t       0 kB\nThreads:\t4\nSigQ:\t1/28747\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000021003000\nSigCgt:\t0000000180004200\nCapInh:\t0000000000000000\nCapPrm:\t0000000000000000\nCapEff:\t0000000000000000\nCapBnd:\tffffffffffffffff\nCpus_allowed:\t3\nCpus_allowed_list:\t0-1\nMems_allowed:\t1\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t114\nnonvoluntary_ctxt_switches:\t30\n", 1024) = 778
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
read(5, 0xbfeeab7b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
write(7, "+", 1)                        = 1
sigreturn()                             = ? (mask now [])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 1 ([{fd=5, revents=POLLIN}])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(5, "+", 1)                         = 1
read(5, 0xbfeeb28b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
waitpid(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP}], WNOHANG|__WCLONE) = 8769
ptrace(PTRACE_GETSIGINFO, 8769, 0, {si_signo=SIGTRAP, si_code=0x80, si_pid=0, si_uid=0, si_value={int=0, ptr=0}}) = 0
ptrace(PTRACE_PEEKUSER, 8769, offsetof(struct user, u_debugreg) + 24, [0x4000]) = 0
tkill(8769, SIG_0)                      = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/8743/task/8769/stat", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "8769 (o3sis_appsrv) t 8736 8743 8743 34821 8743 8256 27 0 0 0 0 0 0 0 20 0 4 0 827453 39346176 1158 4294967295 134512640 139121678 3221223648 3064357788 3083050113 0 0 553660416 16896 3238260495 0 0 -1 0 0 0 0 0 0\n", 1024) = 214
read(10, "", 1024)                      = 0
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
read(5, 0xbfeeb25b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
write(7, "+", 1)                        = 1
ptrace(PTRACE_GETREGS, 8769, 0, 0xbfeeaf58) = 0
ptrace(PTRACE_PEEKTEXT, 8769, 0xb7c4d194, [0xb6a66b70]) = 0
open("/proc/8769/mem", O_RDONLY|O_LARGEFILE) = 10
pread64(10, "\0\0\0\0\0\0\0\0\t\0\0\0pk\246\266", 16, 3064360364) = 16
close(10)                               = 0
ptrace(PTRACE_POKEDATA, 8769, 0xb6a66dac, 0) = 0
ptrace(PTRACE_POKEDATA, 8769, 0xb6a66db0, 0) = 0
ptrace(PTRACE_POKEDATA, 8769, 0xb6a66db4, 0) = 0
ptrace(PTRACE_POKEDATA, 8769, 0xb6a66db8, 0) = 0
ptrace(PTRACE_PEEKTEXT, 8769, 0xb6a66dbc, [0xb6a66b70]) = 0
ptrace(PTRACE_POKEDATA, 8769, 0xb7c4d194, 0xb6a66b70) = 0
ptrace(PTRACE_POKEDATA, 8769, 0xb6a66dbc, 0) = 0
open("/proc/8769/mem", O_RDONLY|O_LARGEFILE) = 10
pread64(10, "pk\246\266XK}\10pk\246\266\1\0\0\0\24\24\376\267\0a\232\301\313\223<\375\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\320{&\267,\261\304\267A\"\0\0'\"\0\0\340k\246\266\354\377\377\377\0\0\0\0\0\0\0\0Dd\246\266\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\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\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 1168, 3064359792) = 1168
close(10)                               = 0
ptrace(PTRACE_PEEKTEXT, 8769, 0xb7c4d194, [0xb6a66b70]) = 0
open("/proc/8769/mem", O_RDONLY|O_LARGEFILE) = 10
pread64(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16, 3064360364) = 16
close(10)                               = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x81ce705, [INT], SA_RESTART}, {0x80acd39, [INT], SA_RESTART}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0)     = 1 ([{fd=0, revents=POLLIN}])
write(1, "&\"Cannot get thread event message: debugger service failed\\n\"\n", 62) = 62
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=0, events=POLLIN}], 3, 0) = 2 ([{fd=5, revents=POLLIN}, {fd=0, revents=POLLIN}])
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(5, "+", 1)                         = 1
read(5, 0xbfeeb28b, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
waitpid(-1, 0xbfeeb224, WNOHANG|__WCLONE) = 0
waitpid(-1, 0xbfeeb224, WNOHANG)        = 0
open("/proc/8743/status", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "Name:\to3sis_appsrv\nState:\tS (sleeping)\nTgid:\t8743\nPid:\t8743\nPPid:\t8736\nTracerPid:\t8736\nUid:\t1000\t1000\t1000\t1000\nGid:\t1000\t1000\t1000\t1000\nFDSize:\t32\nGroups:\t4 29 100 109 119 1000 \nVmPeak:\t   38424 kB\nVmSize:\t   38424 kB\nVmLck:\t       0 kB\nVmHWM:\t    4632 kB\nVmRSS:\t    4632 kB\nVmData:\t   28284 kB\nVmStk:\t     136 kB\nVmExe:\t    4504 kB\nVmLib:\t    4892 kB\nVmPTE:\t      32 kB\nVmSwap:\t       0 kB\nThreads:\t4\nSigQ:\t0/28747\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000021003000\nSigCgt:\t0000000180004200\nCapInh:\t0000000000000000\nCapPrm:\t0000000000000000\nCapEff:\t0000000000000000\nCapBnd:\tffffffffffffffff\nCpus_allowed:\t3\nCpus_allowed_list:\t0-1\nMems_allowed:\t1\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t114\nnonvoluntary_ctxt_switches:\t30\n", 1024) = 778
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon -echo ...}) = 0
read(0, "13-thread-info\n", 1024)       = 15
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
tkill(8769, SIG_0)                      = 0
tkill(8750, SIG_0)                      = 0
tkill(8749, SIG_0)                      = 0
tkill(8743, SIG_0)                      = 0
open("/proc/8743/task/8769/stat", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "8769 (o3sis_appsrv) t 8736 8743 8743 34821 8743 8256 27 0 0 0 0 0 0 0 20 0 4 0 827453 39346176 1158 4294967295 134512640 139121678 3221223648 3064357788 3083050113 0 0 553660416 16896 3238260495 0 0 -1 0 0 0 0 0 0\n", 1024) = 214
read(10, "", 1024)                      = 0
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
open("/proc/8743/task/8750/stat", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "8750 (o3sis_appsrv) S 8736 8743 8743 34821 8743 8256 0 0 0 0 0 0 0 0 20 0 4 0 821410 39346176 1158 4294967295 134512640 139121678 3221223648 3072750156 3086881828 0 0 553660416 16896 3238890109 0 0 -1 0 0 0 0 0 0\n", 1024) = 213
read(10, "", 1024)                      = 0
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
open("/proc/8743/task/8749/stat", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "8749 (o3sis_appsrv) S 8736 8743 8743 34821 8743 8256 17 0 0 0 0 0 0 0 20 0 4 0 821410 39346176 1158 4294967295 134512640 139121678 3221223648 3081142904 3086881828 0 0 553660416 16896 3242779802 0 0 -1 0 0 0 0 0 0\n", 1024) = 214
read(10, "", 1024)                      = 0
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
open("/proc/8743/task/8743/stat", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "8743 (o3sis_appsrv) S 8736 8743 8743 34821 8743 8192 1675 0 0 0 15 1 0 0 20 0 4 0 821304 39346176 1158 4294967295 134512640 139121678 3221223648 3221221060 3086881828 0 0 553660416 16896 3238357488 0 0 17 0 0 0 0 0 0\n", 1024) = 217
read(10, "", 1024)                      = 0
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
open("/proc/8743/task/8769/comm", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "o3sis_appsrv\n", 1024)        = 13
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
open("/proc/8743/task/8750/comm", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "o3sis_appsrv\n", 1024)        = 13
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
open("/proc/8743/task/8749/comm", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "o3sis_appsrv\n", 1024)        = 13
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
open("/proc/8743/task/8743/comm", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7843000
read(10, "o3sis_appsrv\n", 1024)        = 13
close(10)                               = 0
munmap(0xb7843000, 4096)                = 0
write(1, "13^done,threads=[{id=\"4\",target-id=\"Thread 0xb6a66b70 (LWP 8769)\",details=\"Exiting\",name=\"o3sis_appsrv\",state=\"running\",core=\"0\"},{id=\"3\",target-id=\"Thread 0xb7267b70 (LWP 8750)\",name=\"o3sis_appsrv\",state=\"running\",core=\"0\"},{id=\"2\",target-id=\"Thread 0xb7a68b70 (LWP 8749)\",name=\"o3sis_appsrv\",state=\"running\",core=\"0\"},{id=\"1\",target-id=\"Thread 0xb7ab96d0 (LWP 8743)\",name=\"o3sis_appsrv\",state=\"running\",core=\"0\"}],current-thread-id=\"1\"\n", 438) = 438
write(1, "(gdb) \n", 7)                 = 7
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=0, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=0, events=POLLIN}], 3, -1) = 1 ([{fd=0, revents=POLLIN}])
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon -echo ...}) = 0
read(0, "14-stack-info-frame\n", 1024)  = 20
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "14^error,msg=\"Target is executing.\"\n", 36) = 36
write(1, "(gdb) \n", 7)                 = 7
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=0, events=POLLIN}], 3, 0) = 1 ([{fd=0, revents=POLLIN}])
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon -echo ...}) = 0
read(0, "15-break-list\n", 1024)        = 14
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
write(1, "15^done,BreakpointTable={nr_rows=\"0\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[]}\n", 414) = 414
write(1, "(gdb) \n", 7)                 = 7
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=0, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=0, events=POLLIN}], 3, -1 <unfinished ...>
Process 8736 detached

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12425: 24.2.50; gud-mi failing with threads 'Cannot get thread event message:
  2012-09-12 11:37 bug#12425: 24.2.50; gud-mi failing with threads 'Cannot get thread event message: Wilfried Gösgens
@ 2020-08-20 18:19 ` Lars Ingebrigtsen
  2020-11-24  8:46   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-20 18:19 UTC (permalink / raw)
  To: Wilfried Gösgens; +Cc: 12425

(I'm going through old bug reports that unfortunately got no response at
the time.)

"Wilfried Gösgens" <w.goesgens@outgesourced.org> writes:

> When running my employers programms in the new emacs24 gdb behaves bad
> because of the threadding model. Its a per request worker thread model;
> I wasn't able to reproduce the problem with citadels threadded
> components.
>
> I tried to compile from latest git, run with '-q' problem persists.
>
> since this used to work with emacs-GUD in emacs 23 without troubles, I
> retried using other gdb-mi frontends: kdevelop; worked without problems.
>
> i've straced GDB to show the IO's between emacs and GDB <see attachment>

Is this still a problem in more modern versions of Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12425: 24.2.50; gud-mi failing with threads 'Cannot get thread event message:
  2020-08-20 18:19 ` Lars Ingebrigtsen
@ 2020-11-24  8:46   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-11-24  8:46 UTC (permalink / raw)
  To: Wilfried Gösgens; +Cc: 12425

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> i've straced GDB to show the IO's between emacs and GDB <see attachment>
>
> Is this still a problem in more modern versions of Emacs?

This was months ago, and there was no response, so it seems unlikely
that there'll be further progress here, and I'm closing this bug report.
If further progress can be made, please respond to the debbugs address
and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-24  8:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-12 11:37 bug#12425: 24.2.50; gud-mi failing with threads 'Cannot get thread event message: Wilfried Gösgens
2020-08-20 18:19 ` Lars Ingebrigtsen
2020-11-24  8:46   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).