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]

rxvt coredumps on pasting empty clipboard


[I'm crossposting to the cygwin and the rxvt-bugs lists.]

I've just changed over to using rxvt with cygwin (rather than the default
Windows console) and I'm loving it. (I'm not using X11, just the 'raw'
window manager.)

Anyhow, I've discovered a repeatable crash in rxvt 2.7.2 under cygwin
(released as rxvt-2.7.2-10), so I thought I'd share it with everyone. The
click-of-death is to paste an empty clipboard into an rxvt window; i.e.,
without anything on the clipboard (e.g. just after logging into windows),
click the mousewheel (= middle mouse button?) in an rxvt window for an
immediate crash with SIGSEGV.

The stack trace is:

#0 0x77fa0338 in _libuser32_a_iname ()
#1 0x0022f7a0 in ?? ()
#2 0x6102e205 in _libuser32_a_iname ()
#3 0x62a46ad6 in _libuser32_a_iname ()
#4 0x62a43fe6 in _libuser32_a_iname ()
#5 0x0041acfa in XFree ()
#6 0x0040f3e8 in selection_paste (win=167848224, prop=9, Delete=0)
at screen.c:2834
#7 0x0040f4a4 in selection_request (tm=266923, x=415, y=145) at
screen.c:2859
#8 0x004032a8 in process_x_event (ev=0x22fc84) at command.c:2349
#9 0x00404d14 in XProcessEvent (display=0xa012970) at command.c:3901
#10 0x004028d6 in cmd_getc () at command.c:1754
#11 0x00404929 in main_loop () at command.c:3403
#12 0x00406f1f in main (argc=1, argv=0xa012240) at main.c:1455
#13 0x61003f42 in _libuser32_a_iname ()
#14 0x61004236 in _libuser32_a_iname ()
#15 0x61004275 in _libuser32_a_iname ()
#16 0x0041ce17 in cygwin_crt0 ()
#17 0x0040103d in mainCRTStartup ()
#18 0x77e8d326 in _libuser32_a_iname ()

which seems about right.

The backtrace comes from a locally compiled version of rxvt (since the
distributed copy isn't compiled with -g). I'm not sure that I quite
configured it correctly, but it finally compiled and generated the same
behaviour as the distributed copy, so I assume I can't have been too far off
. . .

I hope this is of some use.

// Conrad

Cygwin Package Information
Package Version
WindowMaker 0.80.0-1
XFree86-base 4.2.0-1
XFree86-bin 4.2.0-1
XFree86-doc 4.2.0-1
XFree86-etc 4.2.0-1
XFree86-f100 4.2.0-2
XFree86-fcyr 4.2.0-2
XFree86-fenc 4.2.0-2
XFree86-fnts 4.2.0-2
XFree86-fscl 4.2.0-2
XFree86-fsrv 4.2.0-1
XFree86-html 4.2.0-1
XFree86-lib 4.2.0-3
XFree86-man 4.2.0-1
XFree86-nest 4.2.0-1
XFree86-prog 4.2.0-1
XFree86-prt 4.2.0-1
XFree86-ps 4.2.0-1
XFree86-startup-scripts4.2.0-2
XFree86-vfb 4.2.0-1
XFree86-xserv 4.2.0-2
apache 1.3.24-4
ash 20020131-1
autoconf 2.53-1
autoconf-devel 2.53-1
autoconf-stable 2.13-4
automake 1.6a-1
automake-devel 1.6-1
automake-stable 1.4p5-5
bash 2.05a-3
bc 1.06-1
binutils 20011002-1
bison 1.35-1
byacc 1.9-1
bzip2 1.0.2-2
cgoban 1.9.12-1
clear 1.0-1
compface 1.4-5
cpio 2.4.2
cron 3.0.1-6
crypt 1.0-1
ctags 5.2-1
curl 7.9.6-1
cvs 1.11.0-1
cygrunsrv 0.95-1
cygutils 1.0.0-1
cygwin 1.3.10-1
cygwin-doc 1.0-1
dejagnu 20010117-1
diff 0.0
ed 0.2-1
enscript 1.6.3-2
expect 20010117-1
figlet 2.2-1
file 3.37-1
fileutils 4.1-1
findutils 4.1
flex 2.5.4-1
fortune 1.8-2
gawk 3.0.4-1
gcc 2.95.3-5
gdb 20020411-1
gdbm 1.8.0-4
gettext 0.10.40-1
gnugo 3.2-1
gperf 0.0
grep 2.5-1
groff 1.17.2-1
gzip 1.3.2-1
indent 2.2.7-2
inetutils 1.3.2-17
irc 20010101-1
jbigkit 1.2-6
jpeg 6b-7
keychain 1.8-1
less 374-1
lesstif 0.93.18-3
libPropList 0.10.1-1
libbz2_0 1.0.2-1
libbz2_1 1.0.2-2
libintl 0.10.38-3
libintl1 0.10.40-1
libncurses5 5.2-1
libncurses6 5.2-8
libpng 1.0.13-3
libpng10 1.0.13-3
libpng10-devel 1.0.13-3
libpng2 1.0.12-1
libreadline4 4.1-2
libreadline5 4.2a-1
libtool 20020202a-1
libtool-devel 20020316-1
libtool-stable 1.4.2-2
libxml2 2.4.17-1
libxslt 1.0.13-1
links 0.96-1
login 1.4-3
lynx 2.8.4-1
m4 0.0
make 3.79.1-6
man 1.5g-2
mingw-runtime 1.3-2
mktemp 1.4-1
mod_auth_mysql 1.11-1
mod_auth_ntsec 1.7-1
mod_dav 1.0.3-1.3.6-1
mod_php4 4.2.0-1
mod_ssl 2.8.8-1.3.24-1
more 2.11o-1
mt 2.0.1-1
mutt 1.2.5i-6
nano 1.0.7-1
ncftp 3.1.3-1
ncurses 5.2-8
newlib-man 20001118-1
openbox 0.99.1-2
opengl 1.1.0-6
openssh 3.1p1-1
openssl 0.9.6c-3
openssl-devel 0.9.6c-2
patch 2.5-3
pcre 3.7-1
perl 5.6.1-2
pine 4.44-1
pkgconfig 0.12.0-1
popt 1.6.2-1
postgresql 7.2.1-1
python 2.2-1
rcs 5.7-3
readline 4.2a-1
regex 4.4-2
robots 2.0-1
rsync 2.5.5-1
rxvt 2.7.2-10
sed 3.02-1
sh-utils 2.0-2
sharutils 4.2.1-2
shutdown 1.2-2
squid 2.4-STABLE20010508
ssmtp 2.38.7-3
swig 1.3.11-1
tar 1.13.19-1
tcltk 20001125-1
tcsh 6.11.00-4
termcap 20020403-1
terminfo 5.2-2
texinfo 4.1-1
textutils 2.0.21-1
tiff 3.5.7-1
time 1.7-1
ttcp 19980512-1
ucl 1.01-1
units 1.77-1
unzip 5.41-1
upx 1.20-1
vim 6.1-2
w32api 1.3-2
wget 1.8.1-1
which 1.5-1
whois 4.5.17-1
xpm-nox 4.2.0-1
zip 2.3-1
zlib 1.1.4-1

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sun May 12 21:30:24 2002
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
Path: C:\cygwin\pack\bin
C:\cygwin\pack\i686-pc-cygwin\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\j2sdk1.4.0-beta3\bin
c:\progra~1\MiKTeX\miktex\bin
c:\progra~1\gs\gs7.04\bin
c:\progra~1\gs\gs7.04\lib
c:\progra~1\Adobe\acroba~1.0\Reader
c:\progra~1\Ghostgum\gsview
c:\TeX4ht
c:\progra~1\apache~1\Apache2\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\system32\WBEM
c:\home\scottc\bin
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
CYGWIN = `ntsec tty error_start=C:\cygwin\bin\dumper.exe'
C_INCLUDE_PATH = `/pack/i686-pc-cygwin/include'
HOME = `c:\home\scottc'
LIBRARY_PATH = `/pack/lib:/pack/i686-pc-cygwin/lib'
MAKE_MODE = `unix'
PWD = `/home/src/rxvt/rxvt-2.7.2/src'
USER = `scottc'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExt
s\.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/latest/
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExt
s\.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/latest/\OpenWithList
(default) = `IEXPLORE.EXE'
MRUList = `a'
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd
er\Start Menu\Programs\Cygnus Solutions
(default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = `/'
cygdrive flags = 0x0000002a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home
(default) = `c:\home'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts
v2\/usr/X11R6/lib/X11/fonts
(default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd NTFS 19092Mb 87% CP CS UN PA FC
d: cd N/A N/A
C:\cygwin / system binmode
c:\home /home system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode
. / user binmode,noumount
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe
58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll
54k 2002/05/10 C:\cygwin\bin\cygbz21.0.dll
621k 2002/05/10 C:\cygwin\bin\cygcrypto.dll
108k 2002/04/15 C:\cygwin\bin\cygcurl-2.dll
50k 2002/03/17 C:\cygwin\bin\cygexslt-0.dll
45k 2001/04/25 C:\cygwin\bin\cygform5.dll
35k 2002/01/09 C:\cygwin\bin\cygform6.dll
19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll
306k 2002/04/27 C:\cygwin\bin\cyghttpd.dll
22k 2002/05/10 C:\cygwin\bin\cygintl-1.dll
21k 2001/06/20 C:\cygwin\bin\cygintl.dll
45k 2002/02/08 C:\cygwin\bin\cygjbig1.dll
119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll
25k 2002/03/17 C:\cygwin\bin\cygltdl-3.dll
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll
40k 2001/11/21 C:\cygwin\bin\cygpcre.dll
39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll
171k 2002/05/07 C:\cygwin\bin\cygpng10.dll
170k 2002/01/21 C:\cygwin\bin\cygpng2.dll
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll
66k 2001/11/20 C:\cygwin\bin\cygregex.dll
156k 2002/01/16 C:\cygwin\bin\cygssl.dll
491k 2002/04/11 C:\cygwin\bin\cygtcl83.dll
5k 2002/04/11 C:\cygwin\bin\cygtclpip83.dll
253k 2002/02/10 C:\cygwin\bin\cygtiff3.dll
201k 2002/04/11 C:\cygwin\bin\cygtix4183.dll
762k 2002/04/11 C:\cygwin\bin\cygtk83.dll
1248k 2002/05/10 C:\cygwin\bin\cygxml2-2.dll
41k 2002/01/20 C:\cygwin\bin\cygXpm-noX4.dll
46k 2002/01/20 C:\cygwin\bin\cygXpm-X4.dll
152k 2002/03/17 C:\cygwin\bin\cygxslt-1.dll
15k 2002/03/17 C:\cygwin\bin\cygxsltbreakpoint-1.dll
50k 2002/05/10 C:\cygwin\bin\cygz.dll
751k 2002/02/25 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.3.10
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 51
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Mon Feb 25 11:14:34 EST 2002
Shared id: cygwin1S3
Use -h to see help about each section




--
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]