Re: graph (plotutils) seg-faulting

2020-07-23 Thread ASSI
Tony Richardson via Cygwin writes:
>> Office machines tend to run Enterprise builds which may be customized
>> in many ways unlike OEM/Retail/Home W10.
> I've restricted the PATH using:
>
> PATH=/usr/bin strace graph
>
> and still get a segfault.

One possible culprit is that some overeager security jock decided to
switch on forced ASLR (most likely via group policy), I'd think.  It is
also always worth asking whether they can make an exclusion for the
virus scanner "real-time" protections that covers the entire Cygwin
installation.

The thing with Windows settings changed via GP is that it's close to
impossible to find out what exactly they are as a user and quite often
the (local) admins don't know either because it's stashed away in some
GP ruleset package they get from somewhere else, but don't know the
details of.  If there are different types of installations at your
organization it may be a good idea to ask if you can switch to a
different one (that most likely means a full reinstall) that has less
restrictive settings.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-23 Thread Tony Richardson via Cygwin
On Thu, Jul 23, 2020 at 12:18 PM Brian Inglis <
brian.ing...@systematicsw.ab.ca> wrote:

>
> On 2020-07-23 11:00, Tony Richardson via Cygwin wrote:
> > On Thu, Jul 23, 2020 at 11:49 AM Ken Brown via Cygwin wrote:
> >> On 7/23/2020 12:48 AM, Marco Atzeri via Cygwin wrote:
> >>> On 23.07.2020 00:12, Ken Brown via Cygwin wrote:
>  On 7/22/2020 6:07 PM, Tony Richardson via Cygwin wrote:
> > On Wed, Jul 22, 2020 at 3:48 PM Marco Atzeri via Cygwin wrote:
> >> On 22.07.2020 14:06, Ken Brown via Cygwin wrote:
> >>> On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:
>  On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:
>
> > I have attached both the cygcheck and strace output.
>
>  something is clearly interfering with your Cygwin installation
> 
>  --- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll
> at
>  00c8
>  --- Process 11136 unloaded DLL at 00c8
>
> >>>
> >>> I can reproduce the problem on my system:
> >>>
> >>> $ strace graph
> >>> ...
> >>> Segmentation fault
> >>>
> >>> I thought that simply rebuilding plotutils might fix the problem,
> >>> but there were a lot of compilation warnings, and the build
> >>> failed. Some of the warnings look serious to me, but I have no
> >>> idea if they could cause Windows to try to load DLLs at strange
> >>> addresses.
>
> >> I rebuilt and uploaded a test version 2.6-6 only for 64bit
> >> try to see if something change
>
> > I tried the test version, unfortunately it still segfaults for me.
>
> >>> no surprise. It was unlikely to work
>
>  Same for me.  I'm also getting strange output from ldd, but maybe
>  that's just another manifestation of the same problem:
> 
>  $ ldd /usr/bin/graph
>  ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff82a4c)
>  KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ff8289c)
>  KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ff8280c)
>  cygplot-2.dll => /usr/bin/cygplot-2.dll (0x9f)
>  cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
>  cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
>  cygwin1.dll => /usr/bin/cygwin1.dll (0xd2)
>  [...]
>  cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
>  cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
>  cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)
>  cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)
>
> >>> can you check with
> >>>cat /proc/self/maps
> >>> Usually I see
>
> > Again nothing unusual.
>
> >> There really does seem to be something peculiar about the graph
> program. I
> >> don't recall ever seeing this behavior with any other program.  Since
> it
> >> doesn't happen to everyone, it might depend on the Windows version.
> Mine
> >> is Windows 10 1909, Build 18363.959.
> >>
> >> I'm going to drop out of this discussion now.  I'm not a graph user,
> and I
> >> only jumped in to confirm that I could reproduce the problem, so that
> the
> >> other posters wouldn't think the problem was just with their systems.
>
> > My office machine (one of the problem machines) is running exactly the
> same
> > version/build of Windows 10.
>
> Office machines tend to run Enterprise builds which may be customized in
> many
> ways unlike OEM/Retail/Home W10.
>
> Check with `which -a graph` that some MS or other module is not being
> injected
> into your search path.
>
>
Unfortunately (at this point), I get just:

/usr/bin/graph

I've restricted the PATH using:

PATH=/usr/bin strace graph

and still get a segfault.

Tony
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-23 Thread Brian Inglis


On 2020-07-23 11:00, Tony Richardson via Cygwin wrote:
> On Thu, Jul 23, 2020 at 11:49 AM Ken Brown via Cygwin wrote:
>> On 7/23/2020 12:48 AM, Marco Atzeri via Cygwin wrote:
>>> On 23.07.2020 00:12, Ken Brown via Cygwin wrote:
 On 7/22/2020 6:07 PM, Tony Richardson via Cygwin wrote:
> On Wed, Jul 22, 2020 at 3:48 PM Marco Atzeri via Cygwin wrote:
>> On 22.07.2020 14:06, Ken Brown via Cygwin wrote:
>>> On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:
 On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:

> I have attached both the cygcheck and strace output.

 something is clearly interfering with your Cygwin installation

 --- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at
 00c8
 --- Process 11136 unloaded DLL at 00c8

>>>
>>> I can reproduce the problem on my system:
>>>
>>> $ strace graph
>>> ...
>>> Segmentation fault
>>>
>>> I thought that simply rebuilding plotutils might fix the problem,
>>> but there were a lot of compilation warnings, and the build
>>> failed. Some of the warnings look serious to me, but I have no
>>> idea if they could cause Windows to try to load DLLs at strange
>>> addresses.

>> I rebuilt and uploaded a test version 2.6-6 only for 64bit
>> try to see if something change

> I tried the test version, unfortunately it still segfaults for me.

>>> no surprise. It was unlikely to work

 Same for me.  I'm also getting strange output from ldd, but maybe 
 that's just another manifestation of the same problem:

 $ ldd /usr/bin/graph
 ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff82a4c)
 KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ff8289c)
 KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ff8280c)
 cygplot-2.dll => /usr/bin/cygplot-2.dll (0x9f)
 cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
 cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
 cygwin1.dll => /usr/bin/cygwin1.dll (0xd2)
 [...]
 cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
 cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
 cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)
 cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)

>>> can you check with
>>>cat /proc/self/maps
>>> Usually I see

> Again nothing unusual.

>> There really does seem to be something peculiar about the graph program. I 
>> don't recall ever seeing this behavior with any other program.  Since it 
>> doesn't happen to everyone, it might depend on the Windows version.  Mine
>> is Windows 10 1909, Build 18363.959.
>>
>> I'm going to drop out of this discussion now.  I'm not a graph user, and I 
>> only jumped in to confirm that I could reproduce the problem, so that the
>> other posters wouldn't think the problem was just with their systems.

> My office machine (one of the problem machines) is running exactly the same
> version/build of Windows 10.

Office machines tend to run Enterprise builds which may be customized in many
ways unlike OEM/Retail/Home W10.

Check with `which -a graph` that some MS or other module is not being injected
into your search path.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-23 Thread Tony Richardson via Cygwin
On Thu, Jul 23, 2020 at 11:49 AM Ken Brown via Cygwin 
wrote:

> On 7/23/2020 12:48 AM, Marco Atzeri via Cygwin wrote:
> > On 23.07.2020 00:12, Ken Brown via Cygwin wrote:
> >> On 7/22/2020 6:07 PM, Tony Richardson via Cygwin wrote:
> >>> On Wed, Jul 22, 2020 at 3:48 PM Marco Atzeri via Cygwin <
> cygwin@cygwin.com>
> >>> wrote:
> >>>
>  On 22.07.2020 14:06, Ken Brown via Cygwin wrote:
> > On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:
> >> On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:
> >>> I have attached both the cygcheck and strace output.
> >>>
> >>> Tony Richardson
> >>>
> >>
> >> something is clearly interfering with your Cygwin installation
> >>
> >> --- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at
> >> 00c8
> >> --- Process 11136 unloaded DLL at 00c8
> >
> > I can reproduce the problem on my system:
> >
> > $ strace graph
>  ...
> 
> > Segmentation fault
> >
> >
> > I thought that simply rebuilding plotutils might fix the problem, but
> > there were a lot of compilation warnings, and the build failed. Some
> of
> > the warnings look serious to me, but I have no idea if they could
> cause
> > Windows to try to load DLLs at strange addresses.
> >
> > Ken
> > --
> 
>  Hi Ken,
>  I rebuilt and uploaded a test version 2.6-6 only for 64bit
>  try to see if something change
> 
>  Regards
>  Marco
> 
> >>>
> >>> I tried the test version, unfortunately it still segfaults for me.
> > no surprise. It was unlikely to work
> >
> >>
> >> Same for me.  I'm also getting strange output from ldd, but maybe
> that's just
> >> another manifestation of the same problem:
> >>
> >> $ ldd /usr/bin/graph
> >>  ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff82a4c)
> >>  KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL
> (0x7ff8289c)
> >>  KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll
> (0x7ff8280c)
> >>  cygplot-2.dll => /usr/bin/cygplot-2.dll (0x9f)
> >>  cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
> >>  cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
> >>  cygwin1.dll => /usr/bin/cygwin1.dll (0xd2)
> >> [...]
> >>  cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
> >>  cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
> >>  cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)
> >>  cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)
> >>
> >> Ken
> >> --
> >
> >
> > can you check with
> >cat /proc/self/maps
> >
> > Usually I see
> >
> [snip]
>
Again nothing unusual.
>
> There really does seem to be something peculiar about the graph program.
> I
> don't recall ever seeing this behavior with any other program.  Since it
> doesn't
> happen to everyone, it might depend on the Windows version.  Mine is
> Windows 10
> 1909, Build 18363.959.
>
> I'm going to drop out of this discussion now.  I'm not a graph user, and I
> only
> jumped in to confirm that I could reproduce the problem, so that the other
> posters wouldn't think the problem was just with their systems.
>
> Ken
>

My office machine (one of the problem machines) is running exactly the same
version/build of Windows 10.

Tony
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-23 Thread Ken Brown via Cygwin

On 7/23/2020 12:48 AM, Marco Atzeri via Cygwin wrote:

On 23.07.2020 00:12, Ken Brown via Cygwin wrote:

On 7/22/2020 6:07 PM, Tony Richardson via Cygwin wrote:

On Wed, Jul 22, 2020 at 3:48 PM Marco Atzeri via Cygwin 
wrote:


On 22.07.2020 14:06, Ken Brown via Cygwin wrote:

On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:

On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:

I have attached both the cygcheck and strace output.

Tony Richardson



something is clearly interfering with your Cygwin installation

--- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at
00c8
--- Process 11136 unloaded DLL at 00c8


I can reproduce the problem on my system:

$ strace graph

...


Segmentation fault


I thought that simply rebuilding plotutils might fix the problem, but
there were a lot of compilation warnings, and the build failed. Some of
the warnings look serious to me, but I have no idea if they could cause
Windows to try to load DLLs at strange addresses.

Ken
--


Hi Ken,
I rebuilt and uploaded a test version 2.6-6 only for 64bit
try to see if something change

Regards
Marco



I tried the test version, unfortunately it still segfaults for me.

no surprise. It was unlikely to work



Same for me.  I'm also getting strange output from ldd, but maybe that's just 
another manifestation of the same problem:


$ ldd /usr/bin/graph
 ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff82a4c)
 KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ff8289c)
 KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ff8280c)
 cygplot-2.dll => /usr/bin/cygplot-2.dll (0x9f)
 cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
 cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
 cygwin1.dll => /usr/bin/cygwin1.dll (0xd2)
[...]
 cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
 cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
 cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)
 cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)

Ken
--



can you check with
   cat /proc/self/maps

Usually I see

locale.nls loaded verylow

0001-0002 rw-s  : 0   [win heap 1 
default shared]

0003-0004D000 r--s  : 0
0005-00054000 r--s  : 0
0006-00061000 r--s  : 0
0007-00072000 rw-p  : 0
0008-00149000 r--s  98EE:C713 281474977436242 
/cygdrive/c/Windows/System32/locale.nls
0015-00152000 rw-p  : 0   [win heap 0 
default grow]
00152000-00182000 ===p 2000 : 0   [win heap 0 
default grow]


the program itself

10040-100401000 r--p  D603:FB6E 281474976713960 /usr/bin/cat.exe
100401000-100406000 r-xp 1000 D603:FB6E 281474976713960 /usr/bin/cat.exe
100406000-100407000 rw-p 6000 D603:FB6E 281474976713960 /usr/bin/cat.exe
100407000-10040C000 r--p 7000 D603:FB6E 281474976713960 /usr/bin/cat.exe
10040C000-10040F000 rw-p C000 D603:FB6E 281474976713960 /usr/bin/cat.exe
10040F000-10041 r--p F000 D603:FB6E 281474976713960 /usr/bin/cat.exe
18001-18002 rw-s  : 0 [procinfo]
18002-180029000 rw-s  : 0 [cygwin-user-shared]
18003-18003C000 rw-s  : 0 [cygwin-shared]

loading area for cygwin  DLLs

18004-180041000 r--p  D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180041000-180229000 r-xp 1000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180229000-18022D000 rwxp 001E9000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
18022D000-180266000 rw-p 001ED000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180266000-1802EA000 r--p 00226000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
1802EA000-180322000 rw-p 002AA000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180322000-180331000 r--p 002E2000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180331000-180342000 rw-p 002F1000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180342000-180343000 r--p 00302000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180343000-18065 rw-p 00303000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
3CC3A-3CC3A1000 r--p  D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3A1000-3CC3A8000 r-xp 1000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3A8000-3CC3A9000 rw-p 8000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3A9000-3CC3AE000 r--p 9000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3AE000-3CC3AF000 rw-p E000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3AF000-3CC3B r--p F000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3B-3CC3B2000 rw-p 0001 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3B2000-3CC3B4000 r--p 00012000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3D969-3D9691000 r--p 00

Re: graph (plotutils) seg-faulting

2020-07-23 Thread Tony Richardson via Cygwin
On Thu, Jul 23, 2020 at 9:40 AM marco atzeri  wrote:

> On Thu, Jul 23, 2020 at 2:49 PM Tony Richardson via Cygwin wrote:
> >
> > On Thu, Jul 23, 2020 at 12:44 AM wrote:
> >
> > > On Wed, 22 Jul 2020 20:10:44 +0200
> > > Marco Atzeri via Cygwin  wrote:
> > >
> > > 
> > >
> > > > If it is NOT a Bloda than may be it is Windows itself.
> > >
> > > Well I know that my work computer is running a lot of crap to
> "protect" me.
> > > I tried to go through and start disabling it today, and as you might
> guess
> > > I can't.
> > >
> > > I have since upgraded win10 and i'm still seeing the same problem.  And
> > > probably important to mention that my home win 10 box has no problems.
> > >
> > > Certainly on my work laptop it's probably a case of BLODA.
> > >
> > > BTW, i had a broken latex install that i couldn't figure out so i
> > > re-installed cygwin again, and that fixed my latex problem but graph
> was
> > > still broken.
> > >
> >
> > I'm having issues on two computers.  The only thing that I'm running on
> the
> > BLODA FAQ list is Windows Defender.  I still have issues when I turn that
> > off.  It could be something else though, but I try to keep both machines
> as
> > clean as possible.  Everything else that I use (gcc, g++, make, vi,
> rsync,
> > octave, cygwin-x, ...) all seem to work fine.
> >
> > Tony
>
> Hi Tony,
> what about
>
>cat /proc/self/maps
>
> as mentioned in
> https://sourceware.org/pipermail/cygwin/2020-July/245637.html


 Marco,
I've included it below.
Tony

0001-0002 rw-s  : 0   [win heap 1
default shared]
0002-00024000 r--s  : 0
00024000-00028000 ===s 4000 : 0
0003-0004B000 r--s  : 0
0005-00054000 r--s  : 0
0006-00061000 r--s  : 0
0007-00072000 rw-p  : 0
0008-00147000 r--s  7876:ACBC 562949955351697
/cygdrive/c/Windows/System32/locale.nls
0015-00152000 rw-p  : 0   [win heap 0
default grow]
00152000-0016A000 ===p 2000 : 0   [win heap 0
default grow]
0017-00171000 rw-p  : 0   [win heap 2
grow]
00171000-0018A000 ===p 1000 : 0   [win heap 2
grow]
0020-0031C000 ===p  : 0
0031C000-0031D000 rw-p 0011C000 : 0   [peb]
0031D000-0031F000 rw-p 0011D000 : 0   [teb (tid
216)]
0031F000-00321000 rw-p 0011F000 : 0   [teb (tid
1208)]
00321000-00323000 rw-p 00121000 : 0   [teb (tid
14232)]
00323000-00325000 rw-p 00123000 : 0   [teb (tid
14760)]
00325000-00327000 rw-p 00125000 : 0   [teb (tid
8232)]
00327000-0040 ===p 00127000 : 0
0040-0041F000 r--s  : 0
0041F000-0060 ===s 0001F000 : 0
006C-006DB000 rw-p  : 0   [win heap 0
default grow]
006DB000-007C ===p 0001B000 : 0   [win heap 0
default grow]
007C-009BB000 ===p  : 0   [stack (tid
1208)]
009BB000-009BE000 rw-g 001FB000 : 0   [stack (tid
1208)]
009BE000-009C rw-p 001FE000 : 0   [stack (tid
1208)]
009C-00BBB000 ===p  : 0   [stack (tid
14232)]
00BBB000-00BBE000 rw-g 001FB000 : 0   [stack (tid
14232)]
00BBE000-00BC rw-p 001FE000 : 0   [stack (tid
14232)]
00BC-00DBC000 ===p  : 0   [stack (tid
14760)]
00DBC000-00DBF000 rw-g 001FC000 : 0   [stack (tid
14760)]
00DBF000-00DC rw-p 001FF000 : 0   [stack (tid
14760)]
00F1-00F16000 rw-p  : 0   [win heap 2
grow]
00F16000-00F2 ===p 6000 : 0   [win heap 2
grow]
00F2-01119000 ===p  : 0   [stack (tid
8232)]
01119000-0111C000 rw-g 001F9000 : 0   [stack (tid
8232)]
0111C000-0112 rw-p 001FC000 : 0   [stack (tid
8232)]
0112-012A1000 r--s  : 0
012B-013B7000 r--s  : 0
013B7000-026B1000 ===s 00107000 : 0
7FFE-7FFE1000 r--p  : 0
[shared-user-data]
7FFE2000-7FFE3000 r--p  : 0
FFE0-6000 ===p  : 0   [stack (tid
216)]
6000-9000 rw-g 001F6000 : 0   [stack (tid
216)]
9000-1 rw-p 001F9000 : 0  [stack (tid
216)]
10040-100401000 r--p  7876:ACBC 1125899906891150
/usr/bin/cat.exe
100401000-100406000 r-xp 1000 7876:ACBC 1125899906891150
/usr/bin/cat.exe
100406000-100407000 rw-p 6000 7876:ACBC 1125899906891150
/usr/bin/cat.exe
100407000-10040C000 r--p 7000 787

Re: graph (plotutils) seg-faulting

2020-07-23 Thread marco atzeri via Cygwin
On Thu, Jul 23, 2020 at 2:49 PM Tony Richardson via Cygwin wrote:
>
> On Thu, Jul 23, 2020 at 12:44 AM wrote:
>
> > On Wed, 22 Jul 2020 20:10:44 +0200
> > Marco Atzeri via Cygwin  wrote:
> >
> > 
> >
> > > If it is NOT a Bloda than may be it is Windows itself.
> >
> > Well I know that my work computer is running a lot of crap to "protect" me.
> > I tried to go through and start disabling it today, and as you might guess
> > I can't.
> >
> > I have since upgraded win10 and i'm still seeing the same problem.  And
> > probably important to mention that my home win 10 box has no problems.
> >
> > Certainly on my work laptop it's probably a case of BLODA.
> >
> > BTW, i had a broken latex install that i couldn't figure out so i
> > re-installed cygwin again, and that fixed my latex problem but graph was
> > still broken.
> >
>
> I'm having issues on two computers.  The only thing that I'm running on the
> BLODA FAQ list is Windows Defender.  I still have issues when I turn that
> off.  It could be something else though, but I try to keep both machines as
> clean as possible.  Everything else that I use (gcc, g++, make, vi,  rsync,
> octave, cygwin-x, ...) all seem to work fine.
>
> Tony

Hi Tony,
what about

   cat /proc/self/maps

as mentioned in
https://sourceware.org/pipermail/cygwin/2020-July/245637.html
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-23 Thread Tony Richardson via Cygwin
On Thu, Jul 23, 2020 at 12:44 AM  wrote:

> On Wed, 22 Jul 2020 20:10:44 +0200
> Marco Atzeri via Cygwin  wrote:
>
> 
>
> > If it is NOT a Bloda than may be it is Windows itself.
>
> Well I know that my work computer is running a lot of crap to "protect" me.
> I tried to go through and start disabling it today, and as you might guess
> I can't.
>
> I have since upgraded win10 and i'm still seeing the same problem.  And
> probably important to mention that my home win 10 box has no problems.
>
> Certainly on my work laptop it's probably a case of BLODA.
>
> BTW, i had a broken latex install that i couldn't figure out so i
> re-installed cygwin again, and that fixed my latex problem but graph was
> still broken.
>

I'm having issues on two computers.  The only thing that I'm running on the
BLODA FAQ list is Windows Defender.  I still have issues when I turn that
off.  It could be something else though, but I try to keep both machines as
clean as possible.  Everything else that I use (gcc, g++, make, vi,  rsync,
octave, cygwin-x, ...) all seem to work fine.

Tony
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-22 Thread briand
On Wed, 22 Jul 2020 20:10:44 +0200
Marco Atzeri via Cygwin  wrote:



> If it is NOT a Bloda than may be it is Windows itself.

Well I know that my work computer is running a lot of crap to "protect" me.
I tried to go through and start disabling it today, and as you might guess I 
can't.

I have since upgraded win10 and i'm still seeing the same problem.  And 
probably important to mention that my home win 10 box has no problems.

Certainly on my work laptop it's probably a case of BLODA.

BTW, i had a broken latex install that i couldn't figure out so i re-installed 
cygwin again, and that fixed my latex problem but graph was still broken.



-- 
Brian

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-22 Thread Marco Atzeri via Cygwin

On 23.07.2020 00:12, Ken Brown via Cygwin wrote:

On 7/22/2020 6:07 PM, Tony Richardson via Cygwin wrote:
On Wed, Jul 22, 2020 at 3:48 PM Marco Atzeri via Cygwin 


wrote:


On 22.07.2020 14:06, Ken Brown via Cygwin wrote:

On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:

On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:

I have attached both the cygcheck and strace output.

Tony Richardson



something is clearly interfering with your Cygwin installation

--- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at
00c8
--- Process 11136 unloaded DLL at 00c8


I can reproduce the problem on my system:

$ strace graph

...


Segmentation fault


I thought that simply rebuilding plotutils might fix the problem, but
there were a lot of compilation warnings, and the build failed.  
Some of

the warnings look serious to me, but I have no idea if they could cause
Windows to try to load DLLs at strange addresses.

Ken
--


Hi Ken,
I rebuilt and uploaded a test version 2.6-6 only for 64bit
try to see if something change

Regards
Marco



I tried the test version, unfortunately it still segfaults for me.

no surprise. It was unlikely to work



Same for me.  I'm also getting strange output from ldd, but maybe that's 
just another manifestation of the same problem:


$ ldd /usr/bin/graph
     ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff82a4c)
     KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ff8289c)
     KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll 
(0x7ff8280c)

     cygplot-2.dll => /usr/bin/cygplot-2.dll (0x9f)
     cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
     cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
     cygwin1.dll => /usr/bin/cygwin1.dll (0xd2)
[...]
     cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
     cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
     cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)
     cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)

Ken
--



can you check with
  cat /proc/self/maps

Usually I see

locale.nls loaded verylow

0001-0002 rw-s  : 0   [win heap 
1 default shared]

0003-0004D000 r--s  : 0
0005-00054000 r--s  : 0
0006-00061000 r--s  : 0
0007-00072000 rw-p  : 0
0008-00149000 r--s  98EE:C713 281474977436242 
/cygdrive/c/Windows/System32/locale.nls
0015-00152000 rw-p  : 0   [win heap 
0 default grow]
00152000-00182000 ===p 2000 : 0   [win heap 
0 default grow]


the program itself

10040-100401000 r--p  D603:FB6E 281474976713960 
/usr/bin/cat.exe
100401000-100406000 r-xp 1000 D603:FB6E 281474976713960 
/usr/bin/cat.exe
100406000-100407000 rw-p 6000 D603:FB6E 281474976713960 
/usr/bin/cat.exe
100407000-10040C000 r--p 7000 D603:FB6E 281474976713960 
/usr/bin/cat.exe
10040C000-10040F000 rw-p C000 D603:FB6E 281474976713960 
/usr/bin/cat.exe
10040F000-10041 r--p F000 D603:FB6E 281474976713960 
/usr/bin/cat.exe

18001-18002 rw-s  : 0 [procinfo]
18002-180029000 rw-s  : 0 
[cygwin-user-shared]
18003-18003C000 rw-s  : 0 
[cygwin-shared]


loading area for cygwin  DLLs

18004-180041000 r--p  D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180041000-180229000 r-xp 1000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180229000-18022D000 rwxp 001E9000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
18022D000-180266000 rw-p 001ED000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180266000-1802EA000 r--p 00226000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
1802EA000-180322000 rw-p 002AA000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180322000-180331000 r--p 002E2000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180331000-180342000 rw-p 002F1000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180342000-180343000 r--p 00302000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
180343000-18065 rw-p 00303000 D603:FB6E 1688849860266440 
/usr/bin/cygwin1.dll
3CC3A-3CC3A1000 r--p  D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3A1000-3CC3A8000 r-xp 1000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3A8000-3CC3A9000 rw-p 8000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3A9000-3CC3AE000 r--p 9000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3AE000-3CC3AF000 rw-p E000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3AF000-3CC3B r--p F000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3B-3CC3B2000 rw-p 0001 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3CC3B2000-3CC3B4000 r--p 00012000 D603:FB6E 281474976713233 
/usr/bin/cygintl-8.dll
3D969-3D9691000 r--p  D603:FB6E 281474976713163 
/usr/bin/c

Re: graph (plotutils) seg-faulting

2020-07-22 Thread Ken Brown via Cygwin

On 7/22/2020 6:07 PM, Tony Richardson via Cygwin wrote:

On Wed, Jul 22, 2020 at 3:48 PM Marco Atzeri via Cygwin 
wrote:


On 22.07.2020 14:06, Ken Brown via Cygwin wrote:

On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:

On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:

I have attached both the cygcheck and strace output.

Tony Richardson



something is clearly interfering with your Cygwin installation

--- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at
00c8
--- Process 11136 unloaded DLL at 00c8


I can reproduce the problem on my system:

$ strace graph

...


Segmentation fault


I thought that simply rebuilding plotutils might fix the problem, but
there were a lot of compilation warnings, and the build failed.  Some of
the warnings look serious to me, but I have no idea if they could cause
Windows to try to load DLLs at strange addresses.

Ken
--


Hi Ken,
I rebuilt and uploaded a test version 2.6-6 only for 64bit
try to see if something change

Regards
Marco



I tried the test version, unfortunately it still segfaults for me.


Same for me.  I'm also getting strange output from ldd, but maybe that's just 
another manifestation of the same problem:


$ ldd /usr/bin/graph
ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff82a4c)
KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ff8289c)
KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ff8280c)
cygplot-2.dll => /usr/bin/cygplot-2.dll (0x9f)
cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf)
cygwin1.dll => /usr/bin/cygwin1.dll (0xd2)
[...]
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x176)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x178)

Ken
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-22 Thread Tony Richardson via Cygwin
On Wed, Jul 22, 2020 at 3:48 PM Marco Atzeri via Cygwin 
wrote:

> On 22.07.2020 14:06, Ken Brown via Cygwin wrote:
> > On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:
> >> On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:
> >>> I have attached both the cygcheck and strace output.
> >>>
> >>> Tony Richardson
> >>>
> >>
> >> something is clearly interfering with your Cygwin installation
> >>
> >> --- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at
> >> 00c8
> >> --- Process 11136 unloaded DLL at 00c8
> >
> > I can reproduce the problem on my system:
> >
> > $ strace graph
> ...
>
> > Segmentation fault
> >
> >
> > I thought that simply rebuilding plotutils might fix the problem, but
> > there were a lot of compilation warnings, and the build failed.  Some of
> > the warnings look serious to me, but I have no idea if they could cause
> > Windows to try to load DLLs at strange addresses.
> >
> > Ken
> > --
>
> Hi Ken,
> I rebuilt and uploaded a test version 2.6-6 only for 64bit
> try to see if something change
>
> Regards
> Marco
>

I tried the test version, unfortunately it still segfaults for me.

Tony
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-22 Thread Marco Atzeri via Cygwin

On 22.07.2020 14:06, Ken Brown via Cygwin wrote:

On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:

On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:

I have attached both the cygcheck and strace output.

Tony Richardson



something is clearly interfering with your Cygwin installation

--- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at 
00c8

--- Process 11136 unloaded DLL at 00c8


I can reproduce the problem on my system:

$ strace graph

...


Segmentation fault


I thought that simply rebuilding plotutils might fix the problem, but 
there were a lot of compilation warnings, and the build failed.  Some of 
the warnings look serious to me, but I have no idea if they could cause 
Windows to try to load DLLs at strange addresses.


Ken
--


Hi Ken,
I rebuilt and uploaded a test version 2.6-6 only for 64bit
try to see if something change

Regards
Marco

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-22 Thread Marco Atzeri via Cygwin

On 22.07.2020 18:30, Tony Richardson wrote:
On Wed, Jul 22, 2020 at 12:36 AM Marco Atzeri via Cygwin 
mailto:cygwin@cygwin.com>> wrote:


On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:
 > I have attached both the cygcheck and strace output.
 >
 > Tony Richardson
 >

something is clearly interfering with your Cygwin installation

--- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at
00c8
--- Process 11136 unloaded DLL at 00c8


I only appear to have problems with graph.  Everything else seems to 
work fine.


Tony


Hi Tony
very strange. I have not touched graph by ages

https://sourceware.org/pipermail/cygwin-announce/2016-April/006984.html

and of all the libraries used by it nothing was recently updated.


$ cygcheck /usr/bin/graph.exe
D:\cygwin64\bin\graph.exe
  D:\cygwin64\bin\cygplot-2.dll
D:\cygwin64\bin\cygwin1.dll
  C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNELBASE.dll
D:\cygwin64\bin\cygpng16-16.dll
  D:\cygwin64\bin\cygz.dll
D:\cygwin64\bin\cygX11-6.dll
  D:\cygwin64\bin\cygxcb-1.dll
D:\cygwin64\bin\cygXau-6.dll
D:\cygwin64\bin\cygXdmcp-6.dll
D:\cygwin64\bin\cygXaw-7.dll
  D:\cygwin64\bin\cygXext-6.dll
D:\cygwin64\bin\cyggcc_s-seh-1.dll
  D:\cygwin64\bin\cygXmu-6.dll
D:\cygwin64\bin\cygXt-6.dll
  D:\cygwin64\bin\cygICE-6.dll
  D:\cygwin64\bin\cygSM-6.dll
D:\cygwin64\bin\cyguuid-1.dll
  D:\cygwin64\bin\cygintl-8.dll
D:\cygwin64\bin\cygiconv-2.dll
  D:\cygwin64\bin\cygXpm-4.dll

If it is NOT a Bloda than may be it is Windows itself.


Marco
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-22 Thread Tony Richardson via Cygwin
On Wed, Jul 22, 2020 at 12:36 AM Marco Atzeri via Cygwin 
wrote:

> On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:
> > I have attached both the cygcheck and strace output.
> >
> > Tony Richardson
> >
>
> something is clearly interfering with your Cygwin installation
>
> --- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at
> 00c8
> --- Process 11136 unloaded DLL at 00c8
>

I only appear to have problems with graph.  Everything else seems to work
fine.

Tony
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-22 Thread Ken Brown via Cygwin

On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:

On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:

I have attached both the cygcheck and strace output.

Tony Richardson



something is clearly interfering with your Cygwin installation

--- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at 
00c8

--- Process 11136 unloaded DLL at 00c8


I can reproduce the problem on my system:

$ strace graph
--- Process 30536 created
--- Process 30536 loaded C:\Windows\System32\ntdll.dll at 7ff82a4c
--- Process 30536 loaded C:\Windows\System32\kernel32.dll at 7ff8289c
--- Process 30536 loaded C:\Windows\System32\KernelBase.dll at 7ff8280c
--- Process 30536 thread 14832 created
--- Process 30536 thread 31180 created
--- Process 30536 loaded C:\cygwin64\bin\cygplot-2.dll at 00bc
--- Process 30536 unloaded DLL at 00bc
--- Process 30536 loaded C:\cygwin64\bin\cygwin1.dll at 00bc
--- Process 30536 unloaded DLL at 00bc
[...]
--- Process 30536 loaded C:\cygwin64\bin\cygiconv-2.dll at 0178
--- Process 30536 unloaded DLL at 0178
[...]
--- Process 30536 exited with status 0xc005
Segmentation fault


I thought that simply rebuilding plotutils might fix the problem, but there were 
a lot of compilation warnings, and the build failed.  Some of the warnings look 
serious to me, but I have no idea if they could cause Windows to try to load 
DLLs at strange addresses.


Ken
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-21 Thread Marco Atzeri via Cygwin

On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:

I have attached both the cygcheck and strace output.

Tony Richardson



something is clearly interfering with your Cygwin installation

--- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll at 
00c8

--- Process 11136 unloaded DLL at 00c8

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-21 Thread Tony Richardson via Cygwin
I have attached both the cygcheck and strace output.

Tony Richardson

On Tue, Jul 21, 2020 at 7:00 PM Brian Inglis <
brian.ing...@systematicsw.ab.ca> wrote:

>
> On 2020-07-21 10:17, Tony Richardson via Cygwin wrote:
> > On Tue, Jul 21, 2020 at 9:51 AM Brian Inglis wrote:
> >> On 2020-07-20 22:28, Marco Atzeri via Cygwin wrote:
> >>> On 21.07.2020 05:12, briand wrote:
>  On Sun, 19 Jul 2020 21:15:26 +0200
>  Marco Atzeri via Cygwin wrote:
>
> >> Can I just back up my home directory, kill the entire cygwin64
> >> directory and start over?
> > I suggest to install in a parallel directory, they works fine
> > without interference, eg in my system I have:> In this way you
> can copy your home more easily and kill the old one
> > when everything is fine.
>  I tell you my work machine is just cursed.  Installed a fresh cygwin,
>  the only package i chose was plotutils, and i get the exact same
>  problem.
>  Not sure where to go from here...
>
> >>> I bet the curse is a BLODA
> >>> https://cygwin.com/faq/faq.html#faq.using.bloda
> >>> also as I noted that the loading address of your DLLs is **very** low
>
> >>> my pc:
> >>> $ grep cygwin1.dll graph.strace
> >>> --- Process 84828 loaded D:\cygwin64\bin\cygwin1.dll at
> 00018004
>
> >>> your strace
> >>> $ grep cygwin1.dll temp.txt
> >>> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ce
> >>> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ee
> >>> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f
>
> >>> can you exclude the AV from your cygwin directory ?
>
> > I just wanted to mention that I am having similar problems with graph as
> > the original poster (memory access error after loading cygiconv-2.dll).
> I
> > am running Windows Defender as my only AV.  The problem persists after
> > turning that off though.
>
> I have been running Cygwin with W10 Defender since it came out with no
> issues.
> YMMV. AVs are not the only type of BLODA.
>
> Please post or attach as plain text verbatim copies of the failing
> commands,
> output, and suggested diagnostics, so we can see where the issues are
> similar or
> may differ.
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in IEC units and prefixes, physical quantities in SI.]
> --
> Problem reports:  https://cygwin.com/problems.html
> FAQ:  https://cygwin.com/faq/
> Documentation:https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>


cygcheck.out
Description: Binary data


strace.out
Description: Binary data
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-21 Thread Brian Inglis


On 2020-07-21 10:17, Tony Richardson via Cygwin wrote:
> On Tue, Jul 21, 2020 at 9:51 AM Brian Inglis wrote:
>> On 2020-07-20 22:28, Marco Atzeri via Cygwin wrote:
>>> On 21.07.2020 05:12, briand wrote:
 On Sun, 19 Jul 2020 21:15:26 +0200
 Marco Atzeri via Cygwin wrote:

>> Can I just back up my home directory, kill the entire cygwin64 
>> directory and start over?
> I suggest to install in a parallel directory, they works fine
> without interference, eg in my system I have:> In this way you can 
> copy your home more easily and kill the old one
> when everything is fine.
 I tell you my work machine is just cursed.  Installed a fresh cygwin, 
 the only package i chose was plotutils, and i get the exact same
 problem.
 Not sure where to go from here...

>>> I bet the curse is a BLODA
>>> https://cygwin.com/faq/faq.html#faq.using.bloda
>>> also as I noted that the loading address of your DLLs is **very** low

>>> my pc:
>>> $ grep cygwin1.dll graph.strace
>>> --- Process 84828 loaded D:\cygwin64\bin\cygwin1.dll at 00018004

>>> your strace
>>> $ grep cygwin1.dll temp.txt
>>> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ce
>>> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ee
>>> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f

>>> can you exclude the AV from your cygwin directory ?

> I just wanted to mention that I am having similar problems with graph as
> the original poster (memory access error after loading cygiconv-2.dll).  I
> am running Windows Defender as my only AV.  The problem persists after
> turning that off though.

I have been running Cygwin with W10 Defender since it came out with no issues.
YMMV. AVs are not the only type of BLODA.

Please post or attach as plain text verbatim copies of the failing commands,
output, and suggested diagnostics, so we can see where the issues are similar or
may differ.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-21 Thread Tony Richardson via Cygwin
On Tue, Jul 21, 2020 at 9:51 AM Brian Inglis <
brian.ing...@systematicsw.ab.ca> wrote:

> On 2020-07-20 22:28, Marco Atzeri via Cygwin wrote:
> > On 21.07.2020 05:12, bri...@pounceofcats.com wrote:
> >> On Sun, 19 Jul 2020 21:15:26 +0200
> >> Marco Atzeri via Cygwin  wrote:
>  Can I just back up my home directory, kill the entire cygwin64
> directory and
>  start over ?
> >>> I suggest to install in a parallel directory, they works fine without
> >>> interference, eg in my system I have:
> >>> In this way you can copy your home more easily and kill the old one
> when
> >>> everything is fine.
> >> I tell you my work machine is just cursed.  Installed a fresh cygwin,
> the only
> >> package i chose was plotutils, and i get the exact same problem.
> >> Not sure where to go from here...
> > I bet the curse is a BLODA
> > https://cygwin.com/faq/faq.html#faq.using.bloda
> > also as I noted that the loading address of your DLLs is **very** low
> > my pc:
> > $ grep cygwin1.dll graph.strace
> > --- Process 84828 loaded D:\cygwin64\bin\cygwin1.dll at 00018004
> > your strace
> > $ grep cygwin1.dll temp.txt
> > --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ce
> > --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ee
> > --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f
> > can you exclude the AV from your cygwin directory ?
>
> Nasty slow AV hiding itself by intercepting the DLL loader and slowing all
> your
> programs by reloading every DLL on every call! How can you get any work
> done at
> that rate? You need a Xeon to get an Atom's worth of work done. ;^<
> If you don't already have one, you could request a workstation with that
> CPU,
> 64GB max speed RAM, and giant SSD to counteract the impact of the AV, or
> request
> they come up with an alternative approach. ;^>
>
> If you can't provide a full cygcheck, at least cygcheck and ldd
> cygwin1.dll and
> graph and provide the list of DLLs invoked, which may show interceptions,
> and
> may sometimes be avoided by adjusting Cygwin PATH; e.g.:
>
> $ for e in /bin/cygwin1.dll /bin/graph; do
> for p in /bin/cygcheck /bin/ldd; do
>   echo \$ $p $e; $p $e;
> done;
>   done | sed 's!^\t!!;s!\\!/!g;s!/cygdrive/c/!c:/!;s!C:/cygwin/!/!'
> $ /bin/cygcheck /bin/cygwin1.dll
> /bin/cygwin1.dll
>   C:/Windows/system32/KERNEL32.dll
> C:/Windows/system32/ntdll.dll
> C:/Windows/system32/KERNELBASE.dll
> $ /bin/ldd /bin/cygwin1.dll
> ntdll.dll => c:/Windows/SYSTEM32/ntdll.dll (0x7ffb78b4)
> KERNEL32.DLL => c:/Windows/System32/KERNEL32.DLL (0x7ffb77c9)
> KERNELBASE.dll => c:/Windows/System32/KERNELBASE.dll (0x7ffb7694)
> advapi32.dll => c:/Windows/System32/advapi32.dll (0x7ffb76d5)
> msvcrt.dll => c:/Windows/System32/msvcrt.dll (0x7ffb7838)
> sechost.dll => c:/Windows/System32/sechost.dll (0x7ffb77bf)
> RPCRT4.dll => c:/Windows/System32/RPCRT4.dll (0x7ffb7876)
> CRYPTBASE.DLL => c:/Windows/SYSTEM32/CRYPTBASE.DLL (0x7ffb753d)
> bcryptPrimitives.dll => c:/Windows/System32/bcryptPrimitives.dll
> (0x7ffb768c)
> $ /bin/cygcheck /bin/graph
> /bin/graph.exe
>   /bin/cygplot-2.dll
> /bin/cygwin1.dll
>   C:/Windows/system32/KERNEL32.dll
> C:/Windows/system32/ntdll.dll
> C:/Windows/system32/KERNELBASE.dll
> /bin/cygpng16-16.dll
>   /bin/cygz.dll
> /bin/cygX11-6.dll
>   /bin/cygxcb-1.dll
> /bin/cygXau-6.dll
> /bin/cygXdmcp-6.dll
> /bin/cygXaw-7.dll
>   /bin/cygXext-6.dll
> /bin/cyggcc_s-seh-1.dll
>   /bin/cygXmu-6.dll
> /bin/cygXt-6.dll
>   /bin/cygICE-6.dll
>   /bin/cygSM-6.dll
> /bin/cyguuid-1.dll
>   /bin/cygintl-8.dll
> /bin/cygiconv-2.dll
>   /bin/cygXpm-4.dll
> $ /bin/ldd /bin/graph
> ntdll.dll => c:/Windows/SYSTEM32/ntdll.dll (0x7ffb78b4)
> KERNEL32.DLL => c:/Windows/System32/KERNEL32.DLL (0x7ffb77c9)
> KERNELBASE.dll => c:/Windows/System32/KERNELBASE.dll (0x7ffb7694)
> cygplot-2.dll => /usr/bin/cygplot-2.dll (0x3bb76)
> cygwin1.dll => /usr/bin/cygwin1.dll (0x18004)
> cygpng16-16.dll => /usr/bin/cygpng16-16.dll (0x3bb61)
> cygXext-6.dll => /usr/bin/cygXext-6.dll (0x3eb64)
> cygXaw-7.dll => /usr/bin/cygXaw-7.dll (0x3eb71)
> cygXt-6.dll => /usr/bin/cygXt-6.dll (0x3eb22)
> cygX11-6.dll => /usr/bin/cygX11-6.dll (0x3eb7b)
> cygz.dll => /usr/bin/cygz.dll (0x3b2da)
> cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3dd6b)
> cygXmu-6.dll => /usr/bin/cygXmu-6.dll (0x3eb30)
> cygXpm-4.dll => /usr/bin/cygXpm-4.dll (0x3eb2d)
> cygICE-6.dll => /usr/bin/cygICE-6.dll (0x3ffc8)
> cygSM-6.dll => /usr/bin/cygSM-6.dll (0x3ebb4)
> cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0x3b2f9)
> cyguuid-1.dll => /usr/bin/cyguuid-1.dll (0x3b73e)
> cygXau-6.dll => /usr/bin/cygXau-6.dll (0x3eb78)
> cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0x3eb66)
> cygintl-8.dll => 

Re: graph (plotutils) seg-faulting

2020-07-21 Thread Brian Inglis
On 2020-07-20 22:28, Marco Atzeri via Cygwin wrote:
> On 21.07.2020 05:12, bri...@pounceofcats.com wrote:
>> On Sun, 19 Jul 2020 21:15:26 +0200
>> Marco Atzeri via Cygwin  wrote:
 Can I just back up my home directory, kill the entire cygwin64 directory 
 and
 start over ?
>>> I suggest to install in a parallel directory, they works fine without
>>> interference, eg in my system I have:
>>> In this way you can copy your home more easily and kill the old one when
>>> everything is fine.
>> I tell you my work machine is just cursed.  Installed a fresh cygwin, the 
>> only
>> package i chose was plotutils, and i get the exact same problem.
>> Not sure where to go from here...
> I bet the curse is a BLODA
> https://cygwin.com/faq/faq.html#faq.using.bloda
> also as I noted that the loading address of your DLLs is **very** low
> my pc:
> $ grep cygwin1.dll graph.strace
> --- Process 84828 loaded D:\cygwin64\bin\cygwin1.dll at 00018004
> your strace
> $ grep cygwin1.dll temp.txt
> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ce
> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ee
> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f
> can you exclude the AV from your cygwin directory ?

Nasty slow AV hiding itself by intercepting the DLL loader and slowing all your
programs by reloading every DLL on every call! How can you get any work done at
that rate? You need a Xeon to get an Atom's worth of work done. ;^<
If you don't already have one, you could request a workstation with that CPU,
64GB max speed RAM, and giant SSD to counteract the impact of the AV, or request
they come up with an alternative approach. ;^>

If you can't provide a full cygcheck, at least cygcheck and ldd cygwin1.dll and
graph and provide the list of DLLs invoked, which may show interceptions, and
may sometimes be avoided by adjusting Cygwin PATH; e.g.:

$ for e in /bin/cygwin1.dll /bin/graph; do
for p in /bin/cygcheck /bin/ldd; do
  echo \$ $p $e; $p $e;
done;
  done | sed 's!^\t!!;s!\\!/!g;s!/cygdrive/c/!c:/!;s!C:/cygwin/!/!'
$ /bin/cygcheck /bin/cygwin1.dll
/bin/cygwin1.dll
  C:/Windows/system32/KERNEL32.dll
C:/Windows/system32/ntdll.dll
C:/Windows/system32/KERNELBASE.dll
$ /bin/ldd /bin/cygwin1.dll
ntdll.dll => c:/Windows/SYSTEM32/ntdll.dll (0x7ffb78b4)
KERNEL32.DLL => c:/Windows/System32/KERNEL32.DLL (0x7ffb77c9)
KERNELBASE.dll => c:/Windows/System32/KERNELBASE.dll (0x7ffb7694)
advapi32.dll => c:/Windows/System32/advapi32.dll (0x7ffb76d5)
msvcrt.dll => c:/Windows/System32/msvcrt.dll (0x7ffb7838)
sechost.dll => c:/Windows/System32/sechost.dll (0x7ffb77bf)
RPCRT4.dll => c:/Windows/System32/RPCRT4.dll (0x7ffb7876)
CRYPTBASE.DLL => c:/Windows/SYSTEM32/CRYPTBASE.DLL (0x7ffb753d)
bcryptPrimitives.dll => c:/Windows/System32/bcryptPrimitives.dll 
(0x7ffb768c)
$ /bin/cygcheck /bin/graph
/bin/graph.exe
  /bin/cygplot-2.dll
/bin/cygwin1.dll
  C:/Windows/system32/KERNEL32.dll
C:/Windows/system32/ntdll.dll
C:/Windows/system32/KERNELBASE.dll
/bin/cygpng16-16.dll
  /bin/cygz.dll
/bin/cygX11-6.dll
  /bin/cygxcb-1.dll
/bin/cygXau-6.dll
/bin/cygXdmcp-6.dll
/bin/cygXaw-7.dll
  /bin/cygXext-6.dll
/bin/cyggcc_s-seh-1.dll
  /bin/cygXmu-6.dll
/bin/cygXt-6.dll
  /bin/cygICE-6.dll
  /bin/cygSM-6.dll
/bin/cyguuid-1.dll
  /bin/cygintl-8.dll
/bin/cygiconv-2.dll
  /bin/cygXpm-4.dll
$ /bin/ldd /bin/graph
ntdll.dll => c:/Windows/SYSTEM32/ntdll.dll (0x7ffb78b4)
KERNEL32.DLL => c:/Windows/System32/KERNEL32.DLL (0x7ffb77c9)
KERNELBASE.dll => c:/Windows/System32/KERNELBASE.dll (0x7ffb7694)
cygplot-2.dll => /usr/bin/cygplot-2.dll (0x3bb76)
cygwin1.dll => /usr/bin/cygwin1.dll (0x18004)
cygpng16-16.dll => /usr/bin/cygpng16-16.dll (0x3bb61)
cygXext-6.dll => /usr/bin/cygXext-6.dll (0x3eb64)
cygXaw-7.dll => /usr/bin/cygXaw-7.dll (0x3eb71)
cygXt-6.dll => /usr/bin/cygXt-6.dll (0x3eb22)
cygX11-6.dll => /usr/bin/cygX11-6.dll (0x3eb7b)
cygz.dll => /usr/bin/cygz.dll (0x3b2da)
cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3dd6b)
cygXmu-6.dll => /usr/bin/cygXmu-6.dll (0x3eb30)
cygXpm-4.dll => /usr/bin/cygXpm-4.dll (0x3eb2d)
cygICE-6.dll => /usr/bin/cygICE-6.dll (0x3ffc8)
cygSM-6.dll => /usr/bin/cygSM-6.dll (0x3ebb4)
cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0x3b2f9)
cyguuid-1.dll => /usr/bin/cyguuid-1.dll (0x3b73e)
cygXau-6.dll => /usr/bin/cygXau-6.dll (0x3eb78)
cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0x3eb66)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3c256)
cygX11-6.dll => /usr/bin/cygX11-6.dll (0xcd)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3d6e0)

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader 

Re: graph (plotutils) seg-faulting

2020-07-21 Thread Jon Turney

On 19/07/2020 16:55, bri...@pounceofcats.com wrote:

oh good grief.  i just tried this on my home win 10 box, and works perfectly.

unfortunately, my work box, which has a history of weird problems with cygwin, 
is the one having the problem.  there's too much work-related stuff in the 
cygcheck output for me to pass it on.

However the strace is ok, so i have attached it.

Just to be clear,

   graph --help

segfaults, so the problem is at a _really_ low level.



--- Process 3080 created
--- Process 3080 loaded C:\Windows\System32\ntdll.dll at 7ffc9574
--- Process 3080 loaded C:\Windows\System32\kernel32.dll at 7ffc93db
--- Process 3080 loaded C:\Windows\System32\KernelBase.dll at 7ffc9286

[...]

--- Process 3080 loaded C:\cygwin64\bin\cygplot-2.dll at 0060
--- Process 3080 unloaded DLL at 0060
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ce
--- Process 3080 unloaded DLL at 00ce
--- Process 3080 loaded C:\cygwin64\bin\cygplot-2.dll at 0060
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ee
--- Process 3080 thread 9632 created
--- Process 3080 unloaded DLL at 00ee
--- Process 3080 loaded C:\cygwin64\bin\cygpng16-16.dll at 0019
--- Process 3080 unloaded DLL at 0019
--- Process 3080 loaded C:\cygwin64\bin\cygXaw-7.dll at 0073
--- Process 3080 loaded C:\cygwin64\bin\cygX11-6.dll at 00ee
--- Process 3080 unloaded DLL at 0073
--- Process 3080 unloaded DLL at 00ee
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f


That's really very odd.

I guess this is the fork code desperately trying to force the DLL memory 
layout to match in the child, but should that even happen if it's being 
run from strace?  It's also strange that it tries to reposition cygwin1.dll.


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-20 Thread Marco Atzeri via Cygwin

On 21.07.2020 05:12, bri...@pounceofcats.com wrote:

On Sun, 19 Jul 2020 21:15:26 +0200
Marco Atzeri via Cygwin  wrote:




Can I just back up my home directory, kill the entire cygwin64 directory and 
start over ?
   


I suggest to install in a parallel directory, they works fine without
interference, eg in my system I have:




In this way you can copy your home more easily and kill the old one when
everything is fine.



I tell you my work machine is just cursed.  Installed a fresh cygwin, the only 
package i chose was plotutils, and i get the exact same problem.

Not sure where to go from here...



I bet the curse is a BLODA

https://cygwin.com/faq/faq.html#faq.using.bloda

also as I noted that the loading address of your DLLs is **very** low

my pc:
$ grep cygwin1.dll graph.strace
--- Process 84828 loaded D:\cygwin64\bin\cygwin1.dll at 00018004


your strace

$ grep cygwin1.dll temp.txt
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ce
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ee
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f

can you exclude the AV from your cygwin directory ?

Regards
Marco




--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-20 Thread briand
On Sun, 19 Jul 2020 21:15:26 +0200
Marco Atzeri via Cygwin  wrote:

> On 19.07.2020 20:23, bri...@pounceofcats.com wrote:
> > On Sun, 19 Jul 2020 19:46:31 +0200
> > Marco Atzeri via Cygwin  wrote:
> >   
> 
> >> it seems a problem with loading cygiconv-2.dll
> >>
> >> --- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0113
> >> --- Process 3080 unloaded DLL at 0113
> >> --- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0113
> >> --- Process 3080, exception c005 at 014f5075
> >>
> >> but the address fault seems in cygwin1.dll
> >>
> >> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f
> >>
> >> what version is installed ?
> >>
> >> Can you try to reinstall it ?  
> > 
> > I wasn't sure which package you were talking about.  i reinstalled both 
> > cygwin and base-cygwin.  
> 
> I was referring to libiconv2
> 
> >>
> >> $ cygcheck -f /usr/bin/cygiconv-2.dll
> >> libiconv2-1.14-3  
> > 
> > yes, libiconv2-1.14-3, is what i see also
> > 
> > i really, really need to re-install cygwin from scratch on this machine.  
> > it seems that every problem i see cannot be replicated.
> > 
> > While trying to debug my "graphics characters don't appear correctly" 
> > issue, i did try to set-up a new install directory and use that, but maybe 
> > that's not good enough.
> > 
> > Can I just back up my home directory, kill the entire cygwin64 directory 
> > and start over ?
> >   
> 
> I suggest to install in a parallel directory, they works fine without
> interference, eg in my system I have:
> 
> 08.06.2020  19:37  cygwin32
> 22.04.2020  21:32  cygwin32T
> 19.07.2020  19:17  cygwin64
> 22.04.2020  21:37  cygwin64T
> 
> In this way you can copy your home more easily and kill the old one when
> everything is fine.
> 

I tell you my work machine is just cursed.  Installed a fresh cygwin, the only 
package i chose was plotutils, and i get the exact same problem.

Not sure where to go from here...

-- 
Brian

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-19 Thread Marco Atzeri via Cygwin

On 19.07.2020 20:23, bri...@pounceofcats.com wrote:

On Sun, 19 Jul 2020 19:46:31 +0200
Marco Atzeri via Cygwin  wrote:




it seems a problem with loading cygiconv-2.dll

--- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0113
--- Process 3080 unloaded DLL at 0113
--- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0113
--- Process 3080, exception c005 at 014f5075

but the address fault seems in cygwin1.dll

--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f

what version is installed ?

Can you try to reinstall it ?


I wasn't sure which package you were talking about.  i reinstalled both cygwin 
and base-cygwin.


I was referring to libiconv2



$ cygcheck -f /usr/bin/cygiconv-2.dll
libiconv2-1.14-3


yes, libiconv2-1.14-3, is what i see also

i really, really need to re-install cygwin from scratch on this machine.  it 
seems that every problem i see cannot be replicated.

While trying to debug my "graphics characters don't appear correctly" issue, i 
did try to set-up a new install directory and use that, but maybe that's not good enough.

Can I just back up my home directory, kill the entire cygwin64 directory and 
start over ?



I suggest to install in a parallel directory, they works fine without
interference, eg in my system I have:

08.06.2020  19:37  cygwin32
22.04.2020  21:32  cygwin32T
19.07.2020  19:17  cygwin64
22.04.2020  21:37  cygwin64T

In this way you can copy your home more easily and kill the old one when
everything is fine.

Regards
Marco

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-19 Thread briand
On Sun, 19 Jul 2020 19:46:31 +0200
Marco Atzeri via Cygwin  wrote:

> On 19.07.2020 17:55, bri...@pounceofcats.com wrote:
> > On Sun, 19 Jul 2020 08:04:48 +0200
> > Marco Atzeri via Cygwin  wrote:
> >   
> >> On 18.07.2020 23:12, bri...@pounceofcats.com wrote:  
> >>> Hi,
> >>>
> >>> So i noticed graph wasn't doing anything, i could even get it to respond 
> >>> to the help argument.
> >>>
> >>> I attached strace to it, and it shows that it was seg-faulting.
> >>>
> >>> I _just_ did an update, specifically to see if that would fix it and it 
> >>> did not.
> >>>
> >>> 1 could someone reproduce this ?
> >>> 2 what should i do for a bug report ?
> >>>
> >>> I was running graph in a terminal in X not in a terminal window under 
> >>> win10.
> >>>
> >>> Thanks,
> >>>  
> >>
> >> Hi Brian,
> >> graph is working for me.
> >>
> >> Please provide the cygcheck.out, as attachment, for your system,
> >>as mentioned in
> >>
> >> Problem reports:  https://cygwin.com/problems.html
> >>
> >>
> >> So first, is a simple test working ?
> >>
> >> $ echo 0 0 1 1 2 0 | spline | graph > test.meta
> >> $ plot -T X test.meta
> >>
> >> if yes, how I can replicate your segfault ?
> >>
> >> If the strace is not too large, can you attach to your reply ?
> >> If it is too long send to me directly by private mail.
> >>  
> > 
> > oh good grief.  i just tried this on my home win 10 box, and works 
> > perfectly.
> > 
> > unfortunately, my work box, which has a history of weird problems with 
> > cygwin, is the one having the problem.  there's too much work-related stuff 
> > in the cygcheck output for me to pass it on.
> > 
> > However the strace is ok, so i have attached it.
> > 
> > Just to be clear,
> > 
> >graph --help
> > 
> > segfaults, so the problem is at a _really_ low level.
> > 
> > I'll try setting up a "new" directory install and see if i can reproduce it.
> > 
> > 
> > --  
> 
> it seems a problem with loading cygiconv-2.dll
> 
> --- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0113
> --- Process 3080 unloaded DLL at 0113
> --- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0113
> --- Process 3080, exception c005 at 014f5075
> 
> but the address fault seems in cygwin1.dll
> 
> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f
> 
> what version is installed ?
> 
> Can you try to reinstall it ?

I wasn't sure which package you were talking about.  i reinstalled both cygwin 
and base-cygwin.

base-cygwin is 3.8-1
cygwin is 3.1.6-1

no difference.

> 
> $ cygcheck -f /usr/bin/cygiconv-2.dll
> libiconv2-1.14-3

yes, libiconv2-1.14-3, is what i see also

i really, really need to re-install cygwin from scratch on this machine.  it 
seems that every problem i see cannot be replicated.  

While trying to debug my "graphics characters don't appear correctly" issue, i 
did try to set-up a new install directory and use that, but maybe that's not 
good enough.

Can I just back up my home directory, kill the entire cygwin64 directory and 
start over ?


-- 
Brian

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-19 Thread Marco Atzeri via Cygwin



On 19.07.2020 17:55, bri...@pounceofcats.com wrote:

On Sun, 19 Jul 2020 08:04:48 +0200
Marco Atzeri via Cygwin  wrote:


On 18.07.2020 23:12, bri...@pounceofcats.com wrote:

Hi,

So i noticed graph wasn't doing anything, i could even get it to respond to the 
help argument.

I attached strace to it, and it shows that it was seg-faulting.

I _just_ did an update, specifically to see if that would fix it and it did not.

1 could someone reproduce this ?
2 what should i do for a bug report ?

I was running graph in a terminal in X not in a terminal window under win10.

Thanks,
   


Hi Brian,
graph is working for me.

Please provide the cygcheck.out, as attachment, for your system,
   as mentioned in

Problem reports:  https://cygwin.com/problems.html


So first, is a simple test working ?

$ echo 0 0 1 1 2 0 | spline | graph > test.meta
$ plot -T X test.meta

if yes, how I can replicate your segfault ?

If the strace is not too large, can you attach to your reply ?
If it is too long send to me directly by private mail.



oh good grief.  i just tried this on my home win 10 box, and works perfectly.

unfortunately, my work box, which has a history of weird problems with cygwin, 
is the one having the problem.  there's too much work-related stuff in the 
cygcheck output for me to pass it on.

However the strace is ok, so i have attached it.

Just to be clear,

   graph --help

segfaults, so the problem is at a _really_ low level.

I'll try setting up a "new" directory install and see if i can reproduce it.


--


it seems a problem with loading cygiconv-2.dll

--- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0113
--- Process 3080 unloaded DLL at 0113
--- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0113
--- Process 3080, exception c005 at 014f5075

but the address fault seems in cygwin1.dll

--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f

what version is installed ?

Can you try to reinstall it ?

$ cygcheck -f /usr/bin/cygiconv-2.dll
libiconv2-1.14-3



Regards
Marco


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: graph (plotutils) seg-faulting

2020-07-19 Thread briand
On Sun, 19 Jul 2020 08:04:48 +0200
Marco Atzeri via Cygwin  wrote:

> On 18.07.2020 23:12, bri...@pounceofcats.com wrote:
> > Hi,
> > 
> > So i noticed graph wasn't doing anything, i could even get it to respond to 
> > the help argument.
> > 
> > I attached strace to it, and it shows that it was seg-faulting.
> > 
> > I _just_ did an update, specifically to see if that would fix it and it did 
> > not.
> > 
> > 1 could someone reproduce this ?
> > 2 what should i do for a bug report ?
> > 
> > I was running graph in a terminal in X not in a terminal window under win10.
> > 
> > Thanks,
> >   
> 
> Hi Brian,
> graph is working for me.
> 
> Please provide the cygcheck.out, as attachment, for your system,
>   as mentioned in
> 
> Problem reports:  https://cygwin.com/problems.html
> 
> 
> So first, is a simple test working ?
> 
> $ echo 0 0 1 1 2 0 | spline | graph > test.meta
> $ plot -T X test.meta
> 
> if yes, how I can replicate your segfault ?
> 
> If the strace is not too large, can you attach to your reply ?
> If it is too long send to me directly by private mail.
> 

oh good grief.  i just tried this on my home win 10 box, and works perfectly.

unfortunately, my work box, which has a history of weird problems with cygwin, 
is the one having the problem.  there's too much work-related stuff in the 
cygcheck output for me to pass it on.

However the strace is ok, so i have attached it.

Just to be clear,

  graph --help

segfaults, so the problem is at a _really_ low level.

I'll try setting up a "new" directory install and see if i can reproduce it.

-- 
Brian

--- Process 3080 created
--- Process 3080 loaded C:\Windows\System32\ntdll.dll at 7ffc9574
--- Process 3080 loaded C:\Windows\System32\kernel32.dll at 7ffc93db
--- Process 3080 loaded C:\Windows\System32\KernelBase.dll at 7ffc9286
--- Process 3080 thread 11016 created
--- Process 3080 thread 1928 created
--- Process 3080 loaded C:\cygwin64\bin\cygplot-2.dll at 0060
--- Process 3080 unloaded DLL at 0060
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ce
--- Process 3080 unloaded DLL at 00ce
--- Process 3080 loaded C:\cygwin64\bin\cygplot-2.dll at 0060
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00ee
--- Process 3080 thread 9632 created
--- Process 3080 unloaded DLL at 00ee
--- Process 3080 loaded C:\cygwin64\bin\cygpng16-16.dll at 0019
--- Process 3080 unloaded DLL at 0019
--- Process 3080 loaded C:\cygwin64\bin\cygXaw-7.dll at 0073
--- Process 3080 loaded C:\cygwin64\bin\cygX11-6.dll at 00ee
--- Process 3080 unloaded DLL at 0073
--- Process 3080 unloaded DLL at 00ee
--- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 014f
--- Process 3080 loaded C:\cygwin64\bin\cygXt-6.dll at 0019
--- Process 3080 loaded C:\cygwin64\bin\cygXext-6.dll at 0008
--- Process 3080 unloaded DLL at 0008
--- Process 3080 unloaded DLL at 0019
--- Process 3080 loaded C:\cygwin64\bin\cygpng16-16.dll at 0019
--- Process 3080 loaded C:\cygwin64\bin\cygX11-6.dll at 00ee
--- Process 3080 loaded C:\cygwin64\bin\cygXaw-7.dll at 0073
--- Process 3080 loaded C:\cygwin64\bin\cygXt-6.dll at 0101
--- Process 3080 loaded C:\cygwin64\bin\cygz.dll at 001d
--- Process 3080 loaded C:\cygwin64\bin\cygXext-6.dll at 007a
--- Process 3080 unloaded DLL at 001d
--- Process 3080 loaded C:\cygwin64\bin\cygXmu-6.dll at 007c
--- Process 3080 loaded C:\cygwin64\bin\cygxcb-1.dll at 001d
--- Process 3080 unloaded DLL at 001d
--- Process 3080 unloaded DLL at 007c
--- Process 3080 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 0107
--- Process 3080 unloaded DLL at 0107
--- Process 3080 loaded C:\cygwin64\bin\cygICE-6.dll at 001d
--- Process 3080 unloaded DLL at 001d
--- Process 3080 loaded C:\cygwin64\bin\cygSM-6.dll at 0002
--- Process 3080 unloaded DLL at 0002
--- Process 3080 loaded C:\cygwin64\bin\cygXpm-4.dll at 001d
--- Process 3080 unloaded DLL at 001d
--- Process 3080 loaded C:\cygwin64\bin\cygz.dll at 001d
--- Process 3080 loaded C:\cygwin64\bin\cygxcb-1.dll at 0107
--- Process 3080 loaded C:\cygwin64\bin\cygXmu-6.dll at 007c
--- Process 3080 loaded C:\cygwin64\bin\cygICE-6.dll at 010c
--- Process 3080 loaded C:\cygwin64\bin\cygSM-6.dll at 0002
--- Process 3080 loaded C:\cygwin64\bin\cygXpm-4.dll at 010e
--- Process 3080 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 010a
--- Process 3080 loaded C:\cygwin64\bin\cygXau-6.dll at 000a
--- Process 3080 unloaded DLL at 000a
--- Process 3080 loaded C:\cygwin64\bin

Re: graph (plotutils) seg-faulting

2020-07-18 Thread Marco Atzeri via Cygwin

On 18.07.2020 23:12, bri...@pounceofcats.com wrote:

Hi,

So i noticed graph wasn't doing anything, i could even get it to respond to the 
help argument.

I attached strace to it, and it shows that it was seg-faulting.

I _just_ did an update, specifically to see if that would fix it and it did not.

1 could someone reproduce this ?
2 what should i do for a bug report ?

I was running graph in a terminal in X not in a terminal window under win10.

Thanks,



Hi Brian,
graph is working for me.

Please provide the cygcheck.out, as attachment, for your system,
 as mentioned in

Problem reports:  https://cygwin.com/problems.html


So first, is a simple test working ?

$ echo 0 0 1 1 2 0 | spline | graph > test.meta
$ plot -T X test.meta

if yes, how I can replicate your segfault ?

If the strace is not too large, can you attach to your reply ?
If it is too long send to me directly by private mail.


Regards
Marco
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


graph (plotutils) seg-faulting

2020-07-18 Thread briand
Hi,

So i noticed graph wasn't doing anything, i could even get it to respond to the 
help argument.

I attached strace to it, and it shows that it was seg-faulting.

I _just_ did an update, specifically to see if that would fix it and it did not.

1 could someone reproduce this ?
2 what should i do for a bug report ?

I was running graph in a terminal in X not in a terminal window under win10.

Thanks,

-- 
Brian

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple