RE: pipe improvements in snapshot

2002-12-11 Thread Elfyn McBratney
Sorry I forgot to metion I'm using windows 2000 pro/adv. server and windows xp home/pro. Elfyn [EMAIL PROTECTED] --- Elfyn McBratney <[EMAIL PROTECTED]> wrote: >I've also been using kde (Kmail), gzip with piped input, cat, less and also a few >other tailor made apps with no problems. If anything

RE: pipe improvements in snapshot

2002-12-11 Thread Elfyn McBratney
I've also been using kde (Kmail), gzip with piped input, cat, less and also a few other tailor made apps with no problems. If anything it's a bit faster ;) Elfyn [EMAIL PROTECTED] --- "Ralf Habacker" <[EMAIL PROTECTED]> wrote: >> Please check out the latest snapshot and report here if there are

Re: MS_types and addr_t name polution

2002-12-11 Thread Elfyn McBratney
Hi, The addr_t type is used in memory managment (memory addresses??) in /usr/include/sys/mman.h. If you plan on using this (or is already on the code, mman.h i mean) you may have problems. What is the type of your addr_t? is it type char of * (pointer)? If the code is open source you can just

RE: pipe improvements in snapshot

2002-12-11 Thread Ralf Habacker
> Please check out the latest snapshot and report here if there are > problems. I haven't yet tried this on Windows 9x class systems so it's > entirely possible that there is a problem there. > I've used this snapshot for running kde (Kmail,konqueror and other) a while on windows 2000 and haven't

Re: 1.3.17: sshd closes terminal immediately after establishing connection

2002-12-11 Thread jurgen . defurne
Corinna Vinschen <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/11/2002 05:04 PM Please respond to cygwin To: [EMAIL PROTECTED] cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS) Subject:Re: 1.3.17: sshd closes terminal immediately after establishing connection

RE: pipe improvements in snapshot

2002-12-11 Thread Gary R. Van Sickle
> W98/SE. With the current cygwin1.dll I tried > time cat | nice -0 dd of=/dev/null > time cat | nice --1 dd of=/dev/null > where hugefile ~ 100MB, and got times roughly 1m20s with the 2nd instruction > marginally faster. Then switched to the snapshot cygwin1-20021210.dll and > shaved a m

Re: Installer/Setup Columns

2002-12-11 Thread babbee
At 09:55 PM 12/11/2002 +, Max Bowsher wrote: Dennis Rasey <[EMAIL PROTECTED]> wrote: > Hey folks, > Where are settings like column width stored for the Cygwin installer > (setup.exe)? > > On my work machine, the columns are spaced/displayed way beyond the > normal viewable area, and I have to

Re: using MFC with cygwin

2002-12-11 Thread Samuel
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 22, 2002 6:59 AM Subject: RE: using MFC with cygwin > No one has ported MFC to any compiler besides VC++. And while > it could be done, the benefits are minimal since the Mi

Re: Why "No such file ..." in path ? 1.3.17

2002-12-11 Thread Randall R Schulz
Kun, The PATH environment variables is used only to find executables and the DLL (dynamically linked libraries) those executables require. Include files required during C or C++ compilation are located via a separate search path maintained by the compiler and not driven by any environment var

Why "No such file ..." in path ? 1.3.17

2002-12-11 Thread Wu Kun
Hi, all: When I use CygWin 3.17.1 to build Sun's CLDC 1.0.x, an error occurs: ../../src/check_class.c(30) : fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory But the file "ctype.h" is right in the /usr/include, which has been set in the $PATH. Can some body help

MS_types and addr_t name polution

2002-12-11 Thread Michael Eager
I'm porting a small program to Cygwin. One of the typedefs in the program is for a symbol named addr_t. Since this is defined in /usr/include/sys/types.h, there is a redefinition conflict. This (and a number of other symbols) are defined when __MS_types_ is defined, which, in turn, is defined wh

Re: telnet - connection refused in windows xp home

2002-12-11 Thread kumarchi
That did the trick. Now the telnet etc works! 1. I added c:\cygwin\bin to the WINDOWS path 2. I also I modified the cygwin bash shell I prepended /usr/sbin. thanx > [EMAIL PROTECTED] wrote: > > > hello: > > > > I finally see the Cygwin inetd under services. But when I try to start > > it I >

Re: Individual vs. list-only replies (Was Re: Force bash to start as administrator)

2002-12-11 Thread Christopher Faylor
On Wed, Dec 11, 2002 at 07:21:21PM -0500, Igor Pechtchanski wrote: >As I mentioned before, the standard way to deal with this (on any mailing >list) is to use a Reply-To header. Since your method for reading and >posting to this list is non-standard (namely, the gmane newsgroup) and >incompatible

Re: Rootless Mode

2002-12-11 Thread Christopher Faylor
On Wed, Dec 11, 2002 at 07:07:33PM -0500, Bovy, Stephen wrote: >I'd like to try rootless mode, but I cant >Find any info on how to use it > >The change-logs for the test server series don't >Have any how-to info on rootless mode You are in the wrong mailing list. Try cygwin-xfree. -- Unsubs

Re: Dueling cygwin DLLs

2002-12-11 Thread Hack Kampbjorn
Max Bowsher wrote: C Wells <[EMAIL PROTECTED]> wrote: I knew that solution, but I have inherited 40 scripts clocking in at 5 meg by departed staff. Tell me the hard way. In the source code, change all the various IDs that cygwin uses (when time I tried this, I must have missed one, because t

Re: Dueling cygwin DLLs

2002-12-11 Thread Max Bowsher
C Wells <[EMAIL PROTECTED]> wrote: > I knew that solution, but I have inherited 40 scripts > clocking in at 5 meg by departed staff. Tell me the > hard way. In the source code, change all the various IDs that cygwin uses (when time I tried this, I must have missed one, because the resultant DLLs

Re: Individual vs. list-only replies (Was Re: Force bash to startas administrator)

2002-12-11 Thread Robert Collins
On Thu, 2002-12-12 at 11:21, Igor Pechtchanski wrote: > > Again, I don't appreciate getting email that's a copy of what I'll be > > reading on the list shortly anyway. This needs a note: Emails have a unique message ID, that mail de-dupers can remove. I don't get duplicates, even when something

RE: Looking for named pipe solution in cygwin

2002-12-11 Thread Randall R Schulz
Cary, At 13:06 2002-12-11, Cary Lewis wrote: I have a follow up, can I allocate my own /dev/ttyX port, or a pseudo tty? If I can allocate a device, then I can implement the fifo using that. Using a pty like a pipe is a dubious proposition at best. If you set the modes "raw" enough, you can

Re: Dueling cygwin DLLs

2002-12-11 Thread C Wells
I knew that solution, but I have inherited 40 scripts clocking in at 5 meg by departed staff. Tell me the hard way. I wish it were easier to run a cmdline util cygwin or other to yield cpu mem stats on win. Thanks > > DLL caused many other scripts to fail. I can't > debug > > the ones it affected

Individual vs. list-only replies (Was Re: Force bash to start asadministrator)

2002-12-11 Thread Igor Pechtchanski
I don't wish to prolong this thread any more than necessary, so this will be my last post on the subject. Please note that no part of this message is intended as an insult (just covering my bases here). On Wed, 11 Dec 2002, Andrew DeFaria wrote: > Igor Pechtchanski wrote: > > > On Wed, 11 Dec 20

Re: Dueling cygwin DLLs

2002-12-11 Thread Max Bowsher
C Wells <[EMAIL PROTECTED]> wrote: > I needed a new newer cygwin1.dll in order to run the > top utility in procps, but its replacement of an older > DLL caused many other scripts to fail. I can't debug > the ones it affected. Is there a way to have the top > executeable call the new cygwin1.dll ca

Dueling cygwin DLLs

2002-12-11 Thread C Wells
I needed a new newer cygwin1.dll in order to run the top utility in procps, but its replacement of an older DLL caused many other scripts to fail. I can't debug the ones it affected. Is there a way to have the top executeable call the new cygwin1.dll called cygwin2.dll so it can "find an entry poin

Rootless Mode

2002-12-11 Thread Bovy, Stephen
I'd like to try rootless mode, but I cant Find any info on how to use it The change-logs for the test server series don't Have any how-to info on rootless mode -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation:

Re: pipe improvements in snapshot

2002-12-11 Thread fergus
W98/SE. With the current cygwin1.dll I tried time cat | nice -0 dd of=/dev/null time cat | nice --1 dd of=/dev/null where hugefile ~ 100MB, and got times roughly 1m20s with the 2nd instruction marginally faster. Then switched to the snapshot cygwin1-20021210.dll and shaved a minute yes a

Re: Force bash to start as administrator

2002-12-11 Thread Andrew DeFaria
Igor Pechtchanski wrote: On Wed, 11 Dec 2002, Andrew DeFaria wrote: Please don't email me directly - keep it on the list! My mailer (pine) replies to the sender and Cc's to the list unless there's a Reply-To. Many people aren't subscribed to the list, and thus would prefer the mail sent di

sftp ssh chroot

2002-12-11 Thread Jeremy Hein
Hi, Anyone know how to set up a jail for sftp? I've followed the howto at http://sources.redhat.com/ml/cygwin/2002-07/msg02070.html but when I attempt to sftp login, the client freezes after I enter my password. The standard ssh login works well keeping me boxed in like it's supposed to. I was

Re: Force bash to start as administrator

2002-12-11 Thread Igor Pechtchanski
On Wed, 11 Dec 2002, Andrew DeFaria wrote: > Please don't email me directly - keep it on the list! My mailer (pine) replies to the sender and Cc's to the list unless there's a Reply-To. Many people aren't subscribed to the list, and thus would prefer the mail sent directly to them. It is nigh i

Re: Installer/Setup Columns

2002-12-11 Thread Max Bowsher
Dennis Rasey <[EMAIL PROTECTED]> wrote: > Hey folks, > Where are settings like column width stored for the Cygwin installer > (setup.exe)? > > On my work machine, the columns are spaced/displayed way beyond the > normal viewable area, and I have to re-size each time I start it > (since I cannot vi

Re: Force bash to start as administrator

2002-12-11 Thread Andrew DeFaria
Please don't email me directly - keep it on the list! Igor Pechtchanski wrote: Andrew, The cygwin login has nothing to do with it. I was not referring to the fact that you don't need a password (which, by the way, is stored by windows, and not in the passwd file). Try replacing "login" by "b

postgres 7.3 postmaster: invalid value for option 'LC_MESSAGES':'en_US'

2002-12-11 Thread Jari Aalto+mail.emacs
Thanks to Jason, after upgrading ipc-daemon http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html the 7.3 got installed and I rebuilt database. Now I have a strange problem. I haven't changes my wnvironment, so this worked with 7.2. $ postmaster -i -D /usr/share/postgresql/da

RE: cygwin cron help - Win2k

2002-12-11 Thread Harig, Mark A.
Please run the attached shell script. It will attempt to diagnose your problem with cron. It will not change any files, but may ask you to change some of your files or directories. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 200

RE: Looking for named pipe solution in cygwin

2002-12-11 Thread Cary Lewis
I have a follow up, can I allocate my own /dev/ttyX port, or a pseudo tty? If I can allocate a device, then I can implement the fifo using that. -Original Message- From: Randall R Schulz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 1:35 PM To: [EMAIL PROTECTED] Subject:

Re: Force bash to start as administrator

2002-12-11 Thread Igor Pechtchanski
Andrew, The cygwin login has nothing to do with it. I was not referring to the fact that you don't need a password (which, by the way, is stored by windows, and not in the passwd file). Try replacing "login" by "bash", and type "whoami" when the shell comes up. Igor P.S. I don't know wha

Re: Force bash to start as administrator

2002-12-11 Thread Andrew DeFaria
Igor Pechtchanski wrote: Cary, Windows already has such a service. Try the following from your bash prompt: $ at `date -d "next min" +"%H:%M"` /interactive 'c:\cygwin\bin\login.exe' Administrator and wait at most 60 seconds. If you want an interactive login, omit the "Administrator" from th

Installer/Setup Columns

2002-12-11 Thread Dennis Rasey
Hey folks, Where are settings like column width stored for the Cygwin installer (setup.exe)? On my work machine, the columns are spaced/displayed way beyond the normal viewable area, and I have to re-size each time I start it (since I cannot view anything but the 1st column). Since my home mach

Re: /tmp

2002-12-11 Thread Soren A
Shankar Unni <[EMAIL PROTECTED]> wrote around 10 Dec 2002 at5bsm$9qn$[EMAIL PROTECTED]:">news:at5bsm$9qn$[EMAIL PROTECTED]: > (The reason is because I use a *native* tcsh as my shell, which has > some NT-specific extensions for filename completion > (complete=igncase), titlebar setting, etc. But t

Re: Cygwin question - hopefully a quickie

2002-12-11 Thread [EMAIL PROTECTED]
Well, that's a reasonable recommendation but, as it turns out, it won't work unless the VIM package is installed and if VIM is installed, it's not necessary to do this manually, since the link is created as part of the installation of this package. Here's the FAQ entry that should prove useful w

Re: Cygwin question - hopefully a quickie

2002-12-11 Thread Corneliu Rudeanu
On Wed, 11 Dec 2002, Harter, Pete wrote: > Christopher: > I downloaded a version of Cygwin (can't remember the source; one of those > from the http://www.cygwin.com/ list) onto my new > machine which uses Win 2000 Professional OS. I just now noticed that it > doesn't re

segmentation fault in socket()

2002-12-11 Thread Madsen, Mark
This is another problem that I encountered while looking into the segment fault in select() (see thread: crash in select). The following code will run until it generates a segmentation fault somewhere in the call to socket(). The final few lines of the resulting output are after the code sample.

Cygwin question - hopefully a quickie

2002-12-11 Thread Harter, Pete
Title: Cygwin question - hopefully a quickie Christopher: I downloaded a version of Cygwin (can't remember the source; one of those from the http://www.cygwin.com/ list) onto my new machine which uses Win 2000 Professional OS.   I just now noticed that it doesn't recognize the "ex"  (batch vi

RE: Force bash to start as administrator

2002-12-11 Thread [EMAIL PROTECTED]
Indeed, good point. That may solve the problem for those that don't have the privileges to start a service. It has it's own quirks though too. I find I need the password here in order for it to work. Larry Original Message: - From: Igor Pechtchanski [EMAIL PROTECTED] Date:

Re: Force bash to start as administrator

2002-12-11 Thread [EMAIL PROTECTED]
>From: Andrew DeFaria [EMAIL PROTECTED] >Date: Wed, 11 Dec 2002 11:11:58 -0800 >To: [EMAIL PROTECTED] >Subject: Re: Force bash to start as administrator > > >[EMAIL PROTECTED] wrote: > >> Type this in a bash window: >> cygrunsrv -I LoginShell -d "Login shell" -p /usr/bin/cygstart -a >> /usr/bin/

Re: rxvt's actual line width disagreed upon between emacs/bash and stty/echo

2002-12-11 Thread Christopher Faylor
On Wed, Dec 11, 2002 at 02:28:07PM -0500, Jim Steele wrote: >Any diagnosing suggestions will be gratefully received. http://cygwin.com/bugs.html cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http:/

Re: pipe improvements in snapshot

2002-12-11 Thread Christopher Faylor
On Wed, Dec 11, 2002 at 02:26:39PM -0500, Christopher Faylor wrote: >On Wed, Dec 11, 2002 at 03:08:45PM +0100, thomas wrote: >>Christopher Faylor <[EMAIL PROTECTED]> wrote: >> >>> Please check out the latest snapshot and report here if there are >>> problems. I haven't yet tried this on Windows 9x

rxvt's actual line width disagreed upon between emacs/bash and stty/echo

2002-12-11 Thread Jim Steele
I'm puzzled by a terminal width behavior I'm seeing in rxvt. It feels like something that should be small and potentially obvious, but my searches of the ml archives came up dry. Please pardon the long line widths of this message; they are intentional to demonstrate the line lengths and wrapping

Re: pipe improvements in snapshot

2002-12-11 Thread Christopher Faylor
On Wed, Dec 11, 2002 at 03:08:45PM +0100, thomas wrote: >Christopher Faylor <[EMAIL PROTECTED]> wrote: > >> Please check out the latest snapshot and report here if there are >> problems. I haven't yet tried this on Windows 9x class systems so it's >> entirely possible that there is a problem there

Re: Environment changed after installing postgres

2002-12-11 Thread Andre Truter
On Wed, 2002-12-11 at 14:15, Jason Tishler wrote: > Andre, > > On Wed, Dec 11, 2002 at 12:15:49PM +0200, Andre Truter wrote: > > Now I installed postgresql on one of the machines and the environment > > changed. > > There are no files in the PostgreSQL package that can directly affect > your envi

Re: Force bash to start as administrator

2002-12-11 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Type this in a bash window: cygrunsrv -I LoginShell -d "Login shell" -p /usr/bin/cygstart -a /usr/bin/login -e "CYGWIN=tty binmode ntsec" Go to the Control Panel->Administrative Tools->Services Right click on "LoginShell" and go to properties. Go to the "Log On" tab and

RE: Force bash to start as administrator

2002-12-11 Thread Igor Pechtchanski
Cary, Windows already has such a service. Try the following from your bash prompt: $ at `date -d "next min" +"%H:%M"` /interactive 'c:\cygwin\bin\login.exe' Administrator and wait at most 60 seconds. If you want an interactive login, omit the "Administrator" from the line above. Not sure if y

Re: Looking for named pipe solution in cygwin

2002-12-11 Thread Randall R Schulz
Max, Cary, One nit. See below. At 10:21 2002-12-11, Max Bowsher wrote: Cary Lewis <[EMAIL PROTECTED]> wrote: > I have an existing unix application that makes extensive use of named pipes: > > mknod pipe p > > and shell scripts and 'C' programs that read and write pipes. > Messages must be rea

Re: Looking for named pipe solution in cygwin

2002-12-11 Thread Max Bowsher
Cary Lewis <[EMAIL PROTECTED]> wrote: > I have an existing unix application that makes extensive use of named > pipes: > > mknod pipe p > > and shell scripts and 'C' programs that read and write pipes. > Messages must be read in order that they were written to pipe. As > well many processes must b

Re: Force bash to start as administrator

2002-12-11 Thread Max Bowsher
Cary Lewis <[EMAIL PROTECTED]> wrote: > I want to be able to start a bash shell as Administrator id=500 > regardless of who I am logged into the windows box as. Alternatively > can I force cygwin to ignore the current user credentials and use the > Administrator. Cygwin simply uses the underlying

postgresql postmaster and LC_MESSAGES EN_US problem

2002-12-11 Thread Heitzso
I just updated to current postgresql and got past the ipc-daemon upgrade problem (yes it's noted in the README) but then got snagged on the LC_MESSAGES EN_US setting in postgresql.conf. Note I did cd into the data directory and I deleted everything, then rebuilt with initdb, cd /cygdrive/d

RE: Force bash to start as administrator

2002-12-11 Thread [EMAIL PROTECTED]
You'll need a service to do this in Windows. Windows won't allow any account other than SYSTEM the permissions to impersonate another by default. System services run as SYSTEM by default. You can add a service which invokes 'login' so that the user can log in someone else. This has been discuss

RE: crashing in select

2002-12-11 Thread Madsen, Mark
I've tried the error_start to create the core and I endup with a stackdump indicating that the stack was corrupt while trying to dump the core. I have created the problem while running within GDB. When the problem occurs there are 4 active threads. The main thread which shows my trace with symbols

Force bash to start as administrator

2002-12-11 Thread Cary Lewis
I want to be able to start a bash shell as Administrator id=500 regardless of who I am logged into the windows box as. Alternatively can I force cygwin to ignore the current user credentials and use the Administrator. I would like to be able to do this so that I can standardize my deployment of

Looking for named pipe solution in cygwin

2002-12-11 Thread Cary Lewis
I have an existing unix application that makes extensive use of named pipes: mknod pipe p and shell scripts and 'C' programs that read and write pipes. Messages must be read in order that they were written to pipe. As well many processes must be able to write to a pipe and not have their messages

Re: 1.3.17: sshd closes terminal immediately after establishing connection

2002-12-11 Thread Corinna Vinschen
On Wed, Dec 11, 2002 at 03:26:11PM +0100, [EMAIL PROTECTED] wrote: > After upgrading from cygwin 1.3.12 to 1.3.17 (also tried 1.3.16, same > problem), > I cannot establish a remote session anymore. > > When running ssh -v some-address to the server with cygwin 1.3.17 and > sshd 3.5-p1, the sessi

Re: crashing in select

2002-12-11 Thread Corinna Vinschen
On Wed, Dec 11, 2002 at 08:25:34AM -0600, Madsen, Mark wrote: > Any thoughts or comments on this? Unfortunately, I can't get cygwin to > generate > a core file in this case either. Two possible ways. Try debugging using gdb. Add 'error_start=C:/gdb.cmd' to the env var $CYGWIN. C:/gdb.cmd looks

1.3.17: sshd closes terminal immediately after establishing connection

2002-12-11 Thread jurgen . defurne
After upgrading from cygwin 1.3.12 to 1.3.17 (also tried 1.3.16, same problem), I cannot establish a remote session anymore. When running ssh -v some-address to the server with cygwin 1.3.17 and sshd 3.5-p1, the session is first established (I get login messages), but then immediately closed. O

RE: crashing in select

2002-12-11 Thread Madsen, Mark
I failed to mention that this occurs in both 1.3.14 and 1.3.17. I'm using W2K Pro and select ( I think it is there ) is dumping core. The reason I am not sure is that when I run the app in gdb, the crash is not in the main thread but the addresses on the stack match those of the main thread after

Re: pipe improvements in snapshot

2002-12-11 Thread thomas
Christopher Faylor <[EMAIL PROTECTED]> wrote: > Please check out the latest snapshot and report here if there are > problems. I haven't yet tried this on Windows 9x class systems so it's > entirely possible that there is a problem there. It seems to work great! I did a few tests and there was no

Re: can user add his own service in cygwin inetd?

2002-12-11 Thread Corinna Vinschen
On Tue, Dec 10, 2002 at 10:32:49PM -0500, Larry Hall (RFK Partners, Inc) wrote: > Sorry, I'm not an inetd expert. I'd be stuck looking at the available > documents too. It's not immediately obvious to me that a perl program > wouldn't be able to be run from inetd but then again, I don't know wh

Re: Environment changed after installing postgres

2002-12-11 Thread Jason Tishler
Andre, On Wed, Dec 11, 2002 at 12:15:49PM +0200, Andre Truter wrote: > Now I installed postgresql on one of the machines and the environment > changed. There are no files in the PostgreSQL package that can directly affect your environment. Are you sure that when you installed PostgreSQL that you

[ANNOUNCEMENT] emacs 21.2-10 available

2002-12-11 Thread Joseph H. Buehler
GNU emacs 21.2-10 is available.. Changes: - implemented unexec(); startup should be much faster This is a major feature -- the emacs binaries now have the startup LISP code loaded into the binaries instead of having to load them at runtime. Please let me know if you have problems. New emacs us

Environment changed after installing postgres

2002-12-11 Thread Andre Truter
Hi All, I have cygwin installed on two machines with X server and it has been working very wel. Now I installed postgresql on one of the machines and the environment changed. Usually, the environment reported the user as 'Administrator', but now it reports the user as my Windows login name. (i

Re: SIGSEGV when called sem_init() with gdb.

2002-12-11 Thread Thomas Pfaff
Sorry, I forgot to mention: Your work around is not portable. The type of sem_t is not necessary a pointer. Portable would be something like: memset(&sem, 0, sizeof(sem)); Thomas Thomas Pfaff wrote: Just add a breakpoint after the sem_init call. To avoid multiple initializations sem_init check

Re: SIGSEGV when called sem_init() with gdb.

2002-12-11 Thread Thomas Pfaff
Just add a breakpoint after the sem_init call. To avoid multiple initializations sem_init checks if the semaphore is already initialized and will return EBUSY in that case. The check is done via IsBadWritePtr which will trigger a SEGV if the pointer is invalid and not NULL. The SEGV is handled in