This is the mail archive of the cygwin 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: xman 1.1.5-1 immediately terminates with 'buffer overflow detected'


On 12/22/2019 12:44 AM, Brian Inglis wrote:
On 2019-12-21 17:44, Ken wrote:
Issue: xman 1.1.5-1 fails with 'buffer overflow detected'
Cygwin versions tested: 3.1.2-1, 3.1.1-1, and 3.0.7-1
OS: Windows 10 Pro 1903 (and also in Windows 7 Pro; tested only with cygwin 3.0.7)
Attached is cygcheck.out of the package status.
Details:
I first noticed the xman package began failing when it was bumped from 1.1.4-1
to 1.1.5-1 in cygwin 3.0.x.
I confirmed that it still fails with cygwin 3.1.1-1 and 3.1.2-1 with fresh
installations.
$ xman
*** buffer overflow detected ***: terminated
Dropping back to xman 1.1.4-1 fixes the issue.
WJFFM W10 1809, Cygwin 3.0.7, xorg-server 1.20.4, xman 1.1.5:

$ uname -srvmo
CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Cygwin
$ head /proc/version
CYGWIN_NT-10.0-17763 version 3.0.7-338.x86_64 (corinna@calimero) (gcc version
7.4.0 20181206 (Fedora Cygwin 7.4.0-1) (GCC) ) 2019-04-30 18:08 UTC
$ xman &
[1] 35536
browsie...browsie...browsie...browsie...browsie...browsie...browsie...browsie...Quit


Thanks for testing.  There has to be a difference.  I am running a somewhat pared-down installation (1123 packages according to cygcheck attached previously).  Perhaps missing an undeclared dependency in setup.ini?

Attached  is an strace of the process (the login username replaced with 'XuserX').

The output has ~1500 recurring lines of the following before finally exiting.

  170 1640972 [sig] xman 826 sigpacket::setup_handler: couldn't interrupt.  trying again.  9185 1650157 [sig] xman 826 sigpacket::setup_handler: signal 6 not delivered
  211 1650368 [sig] xman 826 sigpacket::process: returning 0
  267 1650635 [sig] xman 826 wait_sig: signalling pack.wakeup 0x354
  288 1650923 [main] xman 826 sig_send: returning 0x0 from sending signal 6
  237 1651160 [main] xman 826 do_exit: do_exit (32512), exit_state 0
  198 1651358 [main] xman 826 sig_send: sendsig 0x124, pid 826, signal -66, its_me 1
  232 1651590 [main] xman 826 sig_send: wakeup 0x350
  235 1651825 [main] xman 826 sig_send: Waiting for pack.wakeup 0x350
  278 1652103 [sig] xman 826 sigpacket::process: signal 6 processing
  507 1652610 [sig] xman 826 sigpacket::process: signal 6, signal handler 0x1800617F0   205 1652815 [sig] xman 826 sigpacket::setup_handler: suspending thread, tls 0xFFFFCE00, _main_tls 0xFFFFCE00   305 1653120 [sig] xman 826 _cygtls::inside_kernel: pc 0x7FFA61C7C144, h 0x7FFA61BE0000, inside_kernel 1   195 1653315 [sig] xman 826 sigpacket::setup_handler: couldn't interrupt.  trying again.   172 1653487 [sig] xman 826 sigpacket::setup_handler: suspending thread, tls 0xFFFFCE00, _main_tls 0xFFFFCE00   248 1653735 [sig] xman 826 _cygtls::inside_kernel: pc 0x7FFA61C7C144, h 0x7FFA61BE0000, inside_kernel 1   172 1653907 [sig] xman 826 sigpacket::setup_handler: couldn't interrupt.  trying again.

Kind regards,
Ken

Attachment: xman.strace
Description: Text document

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

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