This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rxvt doesn't paste selections anymore?


Here is my experience on NT4.0, rxvt v2.7.2
Same results with July cygwin1.dll and latest from cvs.

1) Right-sift + insert works fine inside an rxvt window
2) Pasting across windows crashes.

The setting of CYGWIN on my system brings up gdb.
The interaction is shown below.

I was also able to strace it. See part of the trace below.
I will send the entire 300kB on request.

An interesting line is:
  216 17128796 [main] rxvt 309 select_stuff::~select_stuff: deleting select records

Pierre

h:\>e:\cygdeb\gdb.exe -nw E:/bin/rxvt.exe 271
GNU gdb 5.0 (20010428-3)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)...
/h/271: No such file or directory.
Attaching to program `E:/bin/rxvt.exe', process 271
"/c/WINNT/System32/ntdll.dll": error reading line numbers

"/c/WINNT/system32/KERNEL32.dll": error reading line numbers

"/c/WINNT/system32/ADVAPI32.dll": error reading line numbers


Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) where
#0  dlfree (mem=0x200) at /src/winsup/cygwin/malloc.cc:3748
#1  0x00000200 in ?? ()
#2  0x0a038ec0 in ?? ()
Cannot access memory at address 0x4b
(gdb)

The address 0x200 is constant across all crashes. 


********************************************************************************
 2810 17066830 [select_pipe] rxvt 309 thread_pipe: stopping
  853 17067683 [main] rxvt 309 set_bits: me 0xA033D90, testing fd 3 (/dev/windows)
  279 17067962 [main] rxvt 309 set_bits: ready 1
  213 17068175 [main] rxvt 309 select_stuff::poll: returning 1
  214 17068389 [main] rxvt 309 select_stuff::cleanup: calling cleanup routines
  261 17068650 [main] rxvt 309 select_stuff::~select_stuff: deleting select records
  670 17069320 [main] rxvt 309 cygwin_select: 5, 0x22FD6C, 0x0, 0x0, 0x0
  443 17069763 [main] rxvt 309 dtable::select_read: /dev/windows fd 3
  411 17070174 [main] rxvt 309 dtable::select_read: /dev/ptym fd 4
  205 17070379 [main] rxvt 309 cygwin_select: to NULL, ms FFFFFFFF
  213 17070592 [main] rxvt 309 cygwin_select: sel.always_ready 0
 1140 17071732 [main] rxvt 309 select_stuff::wait: m 2, ms 4294967295
34784 17106516 [main] rxvt 309 select_stuff::wait: woke up.  wait_ret 2.  verifying
  572 17107088 [main] rxvt 309 peek_windows: window 3(0x0) ready
  266 17107354 [main] rxvt 309 select_stuff::wait: gotone 1
  216 17107570 [main] rxvt 309 select_stuff::wait: returning 0
  215 17107785 [main] rxvt 309 select_stuff::cleanup: calling cleanup routines
  553 17108338 [select_pipe] rxvt 309 thread_pipe: stopping
  882 17109220 [main] rxvt 309 set_bits: me 0xA033D90, testing fd 3 (/dev/windows)
  280 17109500 [main] rxvt 309 set_bits: ready 1
  217 17109717 [main] rxvt 309 select_stuff::poll: returning 1
  219 17109936 [main] rxvt 309 select_stuff::cleanup: calling cleanup routines
  208 17110144 [main] rxvt 309 select_stuff::~select_stuff: deleting select records
  653 17110797 [main] rxvt 309 cygwin_select: 5, 0x22FD6C, 0x0, 0x0, 0x0
  508 17111305 [main] rxvt 309 dtable::select_read: /dev/windows fd 3
  403 17111708 [main] rxvt 309 dtable::select_read: /dev/ptym fd 4
  208 17111916 [main] rxvt 309 cygwin_select: to NULL, ms FFFFFFFF
  214 17112130 [main] rxvt 309 cygwin_select: sel.always_ready 0
 1016 17113146 [main] rxvt 309 select_stuff::wait: m 2, ms 4294967295
 8134 17121280 [main] rxvt 309 select_stuff::wait: woke up.  wait_ret 2.  verifying
  367 17121647 [main] rxvt 309 peek_windows: window 3(0x0) ready
  240 17121887 [main] rxvt 309 select_stuff::wait: gotone 1
  226 17122113 [main] rxvt 309 select_stuff::wait: returning 0
  212 17122325 [main] rxvt 309 select_stuff::cleanup: calling cleanup routines
 4598 17126923 [select_pipe] rxvt 309 thread_pipe: stopping
  946 17127869 [main] rxvt 309 set_bits: me 0xA033D90, testing fd 3 (/dev/windows)
  280 17128149 [main] rxvt 309 set_bits: ready 1
  211 17128360 [main] rxvt 309 select_stuff::poll: returning 1
  220 17128580 [main] rxvt 309 select_stuff::cleanup: calling cleanup routines
  216 17128796 [main] rxvt 309 select_stuff::~select_stuff: deleting select records
 2042 17130838 [main] rxvt 309 handle_exceptions: In cygwin_except_handler exc 0xC0000005 at
0x6103D57E sp 0x22FA9C
  259 17131097 [main] rxvt 309 handle_exceptions: In cygwin_except_handler sig = 11 at 0x6103D57E
  323 17131420 [main] rxvt 309 handle_exceptions: In cygwin_except_handler calling 0x0
  236 17131656 [main] rxvt 309 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
  468 17132124 [main] rxvt 309 try_to_debug: debugger_command 'e:\cygdeb\debug_wrapper.cmd
E:/bin/rxvt.exe'
**********************************************
Program name: e:\cygdeb\gdb.exe (328)
App version:  1003.3, api: 0.46
DLL version:  1003.13, api: 0.62
DLL build:    2002-09-19 22:47
OS version:   Windows NT-4.0
Date/Time:    2002-09-20 10:00:51
**********************************************

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]