Re: fstab and sshfs

2025-05-02 Thread Mark Geisert via Cygwin
Hi David, On 5/2/2025 7:22 PM, David Christensen via Cygwin wrote: cygwin: I am attempting to mount a directory from a FreeBSD computer: 2025-05-02 19:16:01 admin@dq67sw ~ $ ssh dpchrist@f5 freebsd-version -kru 13.4-RELEASE-p3 13.4-RELEASE-p3 13.4-RELEASE-p5 2025-05-02 18:51:15 admin@dq67sw ~

Re: Clipboard paste on SHIFT-INSERT no longer works for me

2025-04-29 Thread Mark Geisert via Cygwin
On 4/29/2025 5:41 PM, Soren via Cygwin wrote: Hello (again) Cygwinstas, The subject: of this message says it all. In minTTY I've lost the ability to paste anything from the clipboard. I use this facility very frequently, so much so, that my fingers are trained to do it unconsciously ;-( The reve

Re: Windows 10 Home and sshfs

2025-04-29 Thread Mark Geisert via Cygwin
Hi David, On 4/29/2025 7:30 PM, David Christensen via Cygwin wrote: [...] 2025-04-29 19:24:53 admin@dq67sw ~ $ sshfs dpchrist@f5:/var/local/samba/dpchrist /samba/dpchrist 2025-04-29 19:25:22 admin@dq67sw ~ $ cat /var/run/fuse.mounts # Updated by FUSE apps; stale entries OK; DO NOT EDIT this bin

Re: Windows 10 Home and sshfs

2025-04-28 Thread Mark Geisert via Cygwin
Hi David, You did much more than what I asked you to, but we'll work with that. Comments inlined and appended below... On 4/28/2025 12:45 PM, David Christensen via Cygwin wrote: On 4/27/25 21:19, Mark Geisert via Cygwin wrote: That DLL is deficient. It is missing the cygfuse_report()

Re: Windows 10 Home and sshfs

2025-04-27 Thread Mark Geisert via Cygwin
I forgot to add: rm /var/run/fuse.mounts after you remove the existing /bin/sshfs.exe. ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/m

Re: Windows 10 Home and sshfs

2025-04-27 Thread Mark Geisert via Cygwin
Hi folks, On 4/27/2025 8:09 PM, David Christensen via Cygwin wrote: On 4/27/25 16:05, Jeremy Drake wrote: On Sun, 27 Apr 2025, David Christensen wrote: On 4/27/25 14:59, Jeremy Drake wrote: Does sshfs.exe have any exports?  Should it? I do not know how to answer that question.  Please provi

Re: cygutils 1.4.17-2: lssparse -H does not print hole at offset 0 if more data exists

2025-04-27 Thread Mark Geisert via Cygwin
Hi Roland, On 4/25/2025 11:16 AM, Roland Mainz via Cygwin wrote: [...] FYI I updated http://svn.nrubsig.org/svn/people/gisburn/code/sparsefiles/lssparse.c to pass the Solaris/Illumos "cstyle" rules, e.g. the source now conforms UNIX C formatting rules (no functional changes, this was just to fo

Re: Windows 10 Home and sshfs

2025-04-26 Thread Mark Geisert via Cygwin
Hi Brian, On 4/26/2025 12:51 PM, Brian Inglis via Cygwin wrote: On 2025-04-25 12:04, David Christensen via Cygwin wrote: On 4/24/25 22:01, Mark Geisert via Cygwin wrote: OK, that looks to be the real problem.  What does cygcheck -c cygfuse display? ..mark 2025-04-25 11:02:33 admin

Re: tfind missing a const qualifier.

2025-04-25 Thread Mark Geisert via Cygwin
Hi Collin, On 4/23/2025 8:28 PM, Collin Funk via Cygwin wrote: Hi, While testing gnulib I noticed that tfind on cygwin is defined like: void *tfind (const void *, void **, int (*) (const void *, const void *)); But POSIX requires [1] (*): void *tfind (const void *

Re: Windows 10 Home and sshfs

2025-04-24 Thread Mark Geisert via Cygwin
Hi David, On 4/24/2025 2:44 PM, David Christensen via Cygwin wrote: On 4/23/25 23:50, Mark Geisert via Cygwin wrote: If you haven't tried running sshfs from an elevated shell, try that. Other than this, no further ideas yet. ..mark Thank you for the follow-up. My previous posts appe

Re: Windows 10 Home and sshfs

2025-04-23 Thread Mark Geisert via Cygwin
On 4/22/2025 10:09 PM, David Christensen via Cygwin wrote: On 4/22/25 22:05, Mark Geisert via Cygwin wrote: Welp, that's no help at all.  Let me try to reproduce the problem on my Win10 system using the same, recent, WinFSP you have.  This may take some time.  I appreciate your reportin

Re: posix_spawn

2025-04-23 Thread Mark Geisert via Cygwin
Hi Camm, On 4/23/2025 12:46 PM, Camm Maguire via Cygwin wrote: Greetings! Trying to isolate this as you suggest. On first attempt, copying the exact same strings and calls into a main() function succeeds. I am near stumped, and can only guess that the addresses returned by malloc on _init of

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-23 Thread Mark Geisert via Cygwin
On 4/23/2025 3:59 AM, Christian Franke via Cygwin wrote: Mark Geisert via Cygwin wrote: Drat, typo alert: It looks to me like that 'if' statement should read    if (mbstowcs (*wcs_path, *mbs_path, len) ...     if (mbstowcs (*wcspath, mbs_path, len) ... Use 'len + 1',

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-22 Thread Mark Geisert via Cygwin
Drat, typo alert: It looks to me like that 'if' statement should read   if (mbstowcs (*wcs_path, *mbs_path, len) ... if (mbstowcs (*wcspath, mbs_path, len) ... ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-22 Thread Mark Geisert via Cygwin
Hi Christian, On 4/12/2025 9:37 AM, Christian Franke via Cygwin wrote: ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https:

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
Hi David, On 4/22/2025 9:55 PM, David Christensen via Cygwin wrote: That's completely normal.  Hmm.  Time for the big gun... strace. Run the following command, then *attach* its output file to your next reply; don't compress, just attach. strace -o sshfs.trace sshfs -h The output file is

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 9:32 PM, David Christensen via Cygwin wrote: On 4/22/25 21:30, Mark Geisert via Cygwin wrote: Then it's odd they don't appear in the ldd output.  How about trying cygcheck /usr/bin/sshfs.exe i.e., no options on cygcheck.  What does that output? ..mark 2025-04-2

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 9:08 PM, David Christensen via Cygwin wrote: On 4/22/25 21:01, Mark Geisert via Cygwin wrote: Now we're getting somewhere!  One or more of the following packages are missing from your Cygwin system.  Use the Cygwin Setup program to add them if not already inst

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 8:50 PM, David Christensen via Cygwin wrote: On 4/22/25 20:35, Mark Geisert via Cygwin wrote: On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: 2025-04-22 20:07:20 admin@dq67sw ~ $ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist 2025-04-22 20:07:38 admin

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: On 4/22/25 19:31, Mark Geisert via Cygwin wrote: A peculiarity of Cygwin sshfs on Windows is that the directory being mounted on ('/samba' in your case) must not exist before starting sshfs. If that doesn't help, plea

Re: posix_spawn

2025-04-22 Thread Mark Geisert via Cygwin
Hi Camm, On 4/22/2025 12:31 PM, Camm Maguire via Cygwin-apps wrote: Greetings! posix_spawnp is returning 10, or ECHILD, on the following call. At least on my first reading (:-)), ECHILD is not one of the documented errors for fork, vfork, or clone referenced by the Linux manpage for posix_spaw

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
Hi David, On 4/22/2025 6:58 PM, David Christensen via Cygwin wrote: cygwin: I have SOHO network with a FreeBSD file server: 2025-04-22 18:55:28 toor@f5 ~ # freebsd-version ; uname -a 13.4-RELEASE-p4 FreeBSD f5.tracy.holgerdanske.com 13.4-RELEASE-p3 FreeBSD 13.4-RELEASE- p3 GENERIC amd64 I

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-21 Thread Mark Geisert via Cygwin
Hi Christian, On 4/12/2025 9:37 AM, Christian Franke via Cygwin wrote: ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https:

Re: posix_spawn

2025-04-21 Thread Mark Geisert via Cygwin
On 4/19/2025 1:42 PM, Camm Maguire via Cygwin-apps wrote: Greetings! posix_spawn is returning non-zero without setting errno: massert(!posix_spawnp(&pid, *p1, &file_actions, &attr, (void *)p1, environ)); Is this intended to be supported? Is it known to be working or not working elsewhere

Re: cygutils 1.4.17-2: lssparse -H does not print hole at offset 0 if more data exists

2025-04-06 Thread Mark Geisert via Cygwin
Hi Roland, On 4/5/2025 7:56 AM, Roland Mainz via Cygwin wrote: On Wed, Apr 2, 2025 at 4:01 PM Christian Franke via Cygwin wrote: Testcase for a minor issue: $ > sparse_file $ chattr +S sparse_file $ dd if=/dev/zero bs=1M count=1 conv=sparse,notrunc of=sparse_file ... $ lssparse sparse_file

Re: Tool for listing sparse file layout

2025-04-01 Thread Mark Geisert via Cygwin
On 4/1/2025 1:53 AM, Mark Geisert via Cygwin wrote: Hi folks, On 3/31/2025 8:43 AM, Cedric Blancher via Cygwin wrote: On Mon, 31 Mar 2025 at 11:38, Mark Geisert via Cygwin wrote: On 3/31/2025 1:26 AM, Cedric Blancher via Cygwin wrote: [...] Could you please add lssparse.exe there? It&#

Re: Tool for listing sparse file layout

2025-04-01 Thread Mark Geisert via Cygwin
Hi folks, On 3/31/2025 8:43 AM, Cedric Blancher via Cygwin wrote: On Mon, 31 Mar 2025 at 11:38, Mark Geisert via Cygwin wrote: On 3/31/2025 1:26 AM, Cedric Blancher via Cygwin wrote: On Tue, 11 Mar 2025 at 11:14, Corinna Vinschen via Cygwin wrote: On Mar 10 21:51, Brian Inglis via Cygwin

Re: Tool for listing sparse file layout

2025-03-31 Thread Mark Geisert via Cygwin
On 3/31/2025 1:26 AM, Cedric Blancher via Cygwin wrote: On Tue, 11 Mar 2025 at 11:14, Corinna Vinschen via Cygwin wrote: On Mar 10 21:51, Brian Inglis via Cygwin wrote: On 2025-03-10 14:01, Corinna Vinschen via Cygwin wrote: On Mar 7 15:43, Cedric Blancher via Cygwin wrote: On Fri, 7 Mar 2

Re: symbolic link curiousity in 3.6.0

2025-03-25 Thread Mark Geisert via Cygwin
Hi Corinna, On 3/25/2025 2:56 AM, Corinna Vinschen via Cygwin wrote: On Mar 25 02:25, Mark Geisert via Cygwin wrote: This occurs on the released 3.6.0 but not in 3.6.0 test build 327. /tmp ls foo bar ls: cannot access 'foo': No such file or directory ls: cannot access 'bar&#x

symbolic link curiousity in 3.6.0

2025-03-25 Thread Mark Geisert via Cygwin
This occurs on the released 3.6.0 but not in 3.6.0 test build 327. /tmp ls foo bar ls: cannot access 'foo': No such file or directory ls: cannot access 'bar': No such file or directory /tmp ln -s foo bar /tmp ls foo bar ls: cannot access 'foo': No such file or directory bar@ /tmp ls -l foo bar

Re: sched_getaffinity() always returns the full cpu mask

2025-03-10 Thread Mark Geisert via Cygwin
Hi Christian, On 3/8/2025 9:11 AM, Christian Franke via Cygwin wrote: Testcase: $ grep processor /proc/cpuinfo | tail -1 # i7-14700K processor   : 27 $ sleep 60 & taskset 0x1 sleep 60 & [1] 62094 [2] 62095 $ taskset -p 62094 pid 62094's current affinity mask: fff $ taskset -p 62095 p

Re: sched_getaffinity() always returns the full cpu mask

2025-03-08 Thread Mark Geisert via Cygwin
Hi Christian, On 3/8/2025 9:11 AM, Christian Franke via Cygwin wrote: Testcase: $ grep processor /proc/cpuinfo | tail -1 # i7-14700K processor   : 27 $ sleep 60 & taskset 0x1 sleep 60 & [1] 62094 [2] 62095 $ taskset -p 62094 pid 62094's current affinity mask: fff $ taskset -p 62095 p

Re: Where Cygwin snapshots?

2025-02-09 Thread Mark Geisert via Cygwin
On 2/9/2025 9:51 PM, Fergus Daly via Cygwin wrote: Every so often one needs a standalone interim update of e.g. cygwin1.dll. Latest working updates containing minor tweaks used to be available under the heading "Cygwin Snapshots" at https://cygwin.com/snapshots/ and this is still Google's best o

Re: building util-linux-2.40.2

2025-02-06 Thread Mark Geisert via Cygwin
Hi Jeremy, On 2/6/2025 1:22 PM, Jeremy Drake via Cygwin wrote: We were attempting to build util-linux 2.40.2 for MSYS2, based on the source package of util-linux-2.40.2-2 from Cygwin [1]. We were scratching our heads as to why it wasn't building tasksel for us, when it did in your package. I e

Re: col binary removed from util-linux-2.40.2-1

2025-02-02 Thread Mark Geisert via Cygwin
Hi all, The 'col' executable and man page are now included in the -2 build of its containing package. Look for util-linux-2.40.2-2 on your favorite Cygwin download site shortly. The -2 upgrade announcement is here: https://cygwin.com/pipermail/cygwin-announce/2025-February/012128.html Sorry

Re: col binary removed from util-linux-2.40.2-1

2025-01-29 Thread Mark Geisert via Cygwin
Hi Matthew, On 1/29/2025 12:16 AM, Matthew "mirage335" Hines via Cygwin wrote: /usr/bin/col.exe is apparently missing from the more recent version of the 'util-linux' package 'util-linux-2.40.2-1' https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Futil-linux%2Futil-linux-2.39.3-2&grep=u

Re: mq_send(-1, ...) segfaults instead of failing with EBADF

2025-01-15 Thread Mark Geisert via Cygwin
Hi Christian, On 1/14/2025 7:37 AM, Christian Franke via Cygwin wrote: Found with 'stress-ng --mq 1 -v': If an invalid fd is passed to mq_send() and other mq_* functions, a segfault occurs instead of returning -1 with errno=EBADF. Depending on optimization, the segfault is not visible in the

Re: 2 SCHED_IDLE bugs in Cygwin 3.6

2024-12-24 Thread Mark Geisert via Cygwin
On 12/19/2024 10:35 PM, Brian Inglis via Cygwin wrote: On 2024-12-19 14:08, René Berber via Cygwin wrote: On 12/19/2024 2:01 PM, Eliot Moss via Cygwin wrote: On 12/19/2024 1:43 PM, Cedric Blancher via Cygwin wrote: cygwin.git;a=commit;h=61c2f075cd55d4a52b4713383f75870c1e416923 added SCHED_IDLE

Re: Thread memory allocation issue

2024-11-24 Thread Mark Geisert via Cygwin
Hi Teemu, On 11/18/2024 10:59 PM, Teepean via Cygwin wrote: 2. Compile BWA with rpmalloc and the following patch: // In thread worker function: #ifdef __CYGWIN__ rpmalloc_thread_initialize(); #endif // ... thread work ... #ifdef __CYGWIN__ rpmalloc_thread_finalize(1); #endif How, exactly,

Re: Thread memory allocation issue

2024-11-18 Thread Mark Geisert via Cygwin
Hello Teepean, On 11/17/2024 11:32 AM, Teepean via Cygwin wrote: I raised this issue couple of years ago on cygwin-developer but now when the problem has manifested again with recent versions of Cygwin I decided to post this to general discussion list. This (main Cygwin) list is the correct

Re: Is this correct behaviour for 'rev'?

2024-11-03 Thread Mark Geisert via Cygwin
Continuing my monologue, with due consideration of comments posted, ... On 10/23/2024 10:01 PM, Mark Geisert via Cygwin wrote: Replying to myself, I continue... On 10/22/2024 10:33 PM, Mark Geisert via Cygwin wrote: On 10/22/2024 8:00 PM, Backwoods BC via Cygwin wrote: It appears that 

Re: Is this correct behaviour for 'rev'?

2024-10-23 Thread Mark Geisert via Cygwin
Replying to myself, I continue... On 10/22/2024 10:33 PM, Mark Geisert via Cygwin wrote: On 10/22/2024 8:00 PM, Backwoods BC via Cygwin wrote: It appears that 'rev' is choking on any character \x80 or higher, but is OK with those \x1f or smaller. It doesn't give an error or ign

Re: Is this correct behaviour for 'rev'?

2024-10-22 Thread Mark Geisert via Cygwin
On 10/22/2024 8:00 PM, Backwoods BC via Cygwin wrote: It appears that 'rev' is choking on any character \x80 or higher, but is OK with those \x1f or smaller. It doesn't give an error or ignore it, it just stops. I don't have access to a Linux box so I can't see if this happens there and nothing

Re: Request for test by users seeing 0.00 load average in spite of a busy system

2024-10-02 Thread Mark Geisert via Cygwin
On 10/2/2024 7:36 PM, Mark Geisert via Cygwin wrote: [My problem] system is running Windows 10 21H2, build 19043.2251. Oops, should have copy/pasted. It's Windows 10 Pro 21H1, build 19043.2251. ..mark -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: Request for test by users seeing 0.00 load average in spite of a busy system

2024-10-02 Thread Mark Geisert via Cygwin
Hi Christian, On 10/2/2024 1:09 AM, Christian Franke via Cygwin wrote: [...] Same result on Win10 22H2 (10.0.19045.4780, i7-2600K) and Win11 23H2 (10.0.22631.4037, i7-14700K): $ ./test PdhOpenQueryW   returns PDH_CSTATUS_VALID_DATA PdhAddEnglishCounterW#1 returns PDH_CSTATUS_VALID_DATA

Request for test by users seeing 0.00 load average in spite of a busy system

2024-10-01 Thread Mark Geisert via Cygwin
.mark// test.c // See if PDH counters needed for Cygwin load averages are present // 2024/10/01 Mark Geisert // #include #define _WIN32_WINNT 0x0600 #include PDH_HQUERY query; PDH_HCOUNTER counter1; PDH_HCOUNTER counter2; PDH_HCOUNTER counter3; #define c1name L"\\Proces

Re: pthread_sigqueue(): First parameter is incompatible with glibc

2024-09-12 Thread Mark Geisert via Cygwin
Hi Christian, On 9/12/2024 9:21 AM, Christian Franke via Cygwin wrote: Cygwin /usr/include/pthread.h: int pthread_sigqueue (pthread_t *, int, const union sigval); Linux /usr/include/x86_64-linux-gnu/bits/sigthread.h: extern int pthread_sigqueue (pthread_t __threadid, int __signo,    

Re: ssh broken after updating cygwin

2024-08-30 Thread Mark Geisert via Cygwin
On 8/29/2024 6:10 PM, Lee via Cygwin wrote: OK.. I didn't read the release notes. If I knew the upgrade was going to break ssh I wouldn't have upgraded, but hopefully there's a work-around besides downgrading. This used to work: $ ssh 10.10.2.4 /home/Lee/.ssh/config line 22: Bad key types '+ssh

Re: How to repair the symlinks in a copied cygwin64 tree

2024-08-07 Thread Mark Geisert via Cygwin
Hi David, On 8/7/2024 1:26 PM, David Karr via Cygwin wrote: At my work, I had to have my laptop reimagined for various reasons. I had them save my cygwin64 tree to external storage first. I now have the laptop back, and I copied the entire tree back in, but now I realize I should have done this

Re: Analyze dependencies of a cygwin package

2024-06-21 Thread Mark Geisert via Cygwin
On 6/20/2024 11:21 PM, Federico Kircheis via Cygwin wrote: Hello to everyone, yesterday I've uploaded a new cmus package, with some optional features enabled. Today, through setup.exe, I noticed that now cmus brings clang as dependency. Is there something I can use for analyzing transitive

Re: Native posix_spawn() in Cygwin?

2024-06-06 Thread Mark Geisert via Cygwin
On 6/6/2024 4:09 PM, Dan Shelton via Cygwin wrote: On Wed, 6 Mar 2024 at 01:08, Mark Geisert via Cygwin wrote: On 3/5/2024 2:42 PM, Dan Shelton via Cygwin wrote: [...] posix_spawn() was added to POSIX so a Win32 implementation can use Win32 spawn() ...now I see what you're getting at

Re: frequent hangs running ldd

2024-05-24 Thread Mark Geisert via Cygwin
On 5/24/2024 3:26 PM, Jeremy Drake via Cygwin wrote: On Sat, 25 May 2024, Takashi Yano wrote: On Fri, 24 May 2024 14:46:40 -0700 (PDT) Jeremy Drake wrote: Thanks for the report. However, I cannot reproduce the issue. If it always hangs in GetConsoleProcessList (), I doubt it is not a cygwin bu

Re: frequent hangs running ldd

2024-05-24 Thread Mark Geisert via Cygwin
On 5/24/2024 3:17 PM, Takashi Yano via Cygwin wrote: On Fri, 24 May 2024 14:46:40 -0700 (PDT) Jeremy Drake wrote: Thanks for the report. However, I cannot reproduce the issue. If it always hangs in GetConsoleProcessList (), I doubt it is not a cygwin bug but a windows bug. By any chance, is the

Re: Technical reason why 32bit Cygwin cannot be installed on 64bit Windows?

2024-05-18 Thread Mark Geisert via Cygwin
Is there a technical reason why 32bit Cygwin cannot be installed on 64bit Windows? https://cygwin.com/install.html has the following... =A note about 32-bit Cygwin =The limited address space of 32-bit Windows means that random failures =in the fork(2) system call are more likely. Therefore, w

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-03 Thread Mark Geisert via Cygwin
On 4/2/2024 9:50 AM, Christian Franke via Cygwin wrote: Christian Franke via Cygwin wrote: ,,, BTW, according to the Linux kernel sources, BLKPBSZGET etc return 'unsigned int' and not 'unsigned long' since first appearance in 2.6.32-rc3 (2009?): https://elixir.bootlin.com/linux/v2.6.32-rc3/s

Re: Cygwin&Win32 file prefetch, block sizes?

2024-04-02 Thread Mark Geisert via Cygwin
On 4/2/2024 3:35 PM, Martin Wege via Cygwin wrote: On Tue, Apr 2, 2024 at 3:17 PM Corinna Vinschen via Cygwin wrote: On Apr 2 02:04, Martin Wege via Cygwin wrote: Hello, Is there any document which describes how Cygwin and Win32 file prefetch and readahead work, and which sizes are used (e.

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Mark Geisert via Cygwin
Hi Christian, On 3/31/2024 1:11 AM, Christian Franke via Cygwin wrote: Testcase: # cygcheck -f /sbin/fdisk.exe util-linux-2.39.3-1 # /sbin/fdisk.exe -l /dev/sdd Disk /dev/sdd: 465.76 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical)

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-03-08 Thread Mark Geisert via Cygwin
On 3/5/2024 2:43 AM, Mark Geisert via Cygwin wrote: On 3/5/2024 12:46 AM, Cedric Blancher via Cygwin wrote: On Mon, 29 Jan 2024 at 10:46, Mark Geisert via Cygwin wrote: On 1/28/2024 11:56 PM, Mark Geisert via Cygwin wrote: On 1/28/2024 10:44 PM, Cedric Blancher via Cygwin wrote: Good

Updated: util-linux 2.39.3-1 (test)

2024-03-08 Thread Mark Geisert via Cygwin
The following packages have been uploaded to the Cygwin distribution: * util-linux-2.39.3-1 * util-linux-debuginfo-2.39.3-1 * libblkid-devel-2.39.3-1 * libblkid1-2.39.3-1 * libfdisk-devel-2.39.3-1 * libfdisk1-2.39.3-1 * libsmartcols-devel-2.39.3-1 * libsmartcols1-2.39.3-1 * libuuid-devel-2.39.3

Re: Native posix_spawn() in Cygwin?

2024-03-05 Thread Mark Geisert via Cygwin
On 3/5/2024 2:42 PM, Dan Shelton via Cygwin wrote: On Mon, 4 Mar 2024 at 07:45, Mark Geisert via Cygwin wrote: On 3/3/2024 7:27 PM, Dan Shelton via Cygwin wrote: [...] strace does not help, as I need the Win32 calls BELOW posix_spawn(), to see the implementation details. Check the source

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-03-05 Thread Mark Geisert via Cygwin
On 3/5/2024 12:46 AM, Cedric Blancher via Cygwin wrote: On Mon, 29 Jan 2024 at 10:46, Mark Geisert via Cygwin wrote: On 1/28/2024 11:56 PM, Mark Geisert via Cygwin wrote: On 1/28/2024 10:44 PM, Cedric Blancher via Cygwin wrote: Good morning! rm -f myfile touch myfile /usr/bin/fallocate -v

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-03-05 Thread Mark Geisert via Cygwin
On 3/5/2024 12:46 AM, Cedric Blancher via Cygwin wrote: On Mon, 29 Jan 2024 at 10:46, Mark Geisert via Cygwin wrote: On 1/28/2024 11:56 PM, Mark Geisert via Cygwin wrote: On 1/28/2024 10:44 PM, Cedric Blancher via Cygwin wrote: Good morning! rm -f myfile touch myfile /usr/bin/fallocate -v

Re: Convert a file descriptor from Cygwin openat() to Win32 file HANDLE?

2024-03-03 Thread Mark Geisert via Cygwin
On 3/3/2024 10:16 PM, Cedric Blancher via Cygwin wrote: How can I convert a file descriptor from Cygwin openat() to Win32 file HANDLE? In general, this can be done with: hFile = (HANDLE) _get_osfhandle (int fd); That works for simple cases such as disk file descriptors. I've learned one

Re: Native posix_spawn() in Cygwin?

2024-03-03 Thread Mark Geisert via Cygwin
On 3/3/2024 7:27 PM, Dan Shelton via Cygwin wrote: On Tue, 27 Feb 2024 at 07:34, wrote: On Tue, Feb 27, 2024 at 06:54:42AM +0100, Dan Shelton via Cygwin wrote: On Tue, 27 Feb 2024 at 06:47, Brian Inglis via Cygwin wrote: On 2024-02-26 20:23, Dan Shelton via Cygwin wrote: Does Cygwin imple

Re: Can util-linux 2.33.1-3 come out of [test] ?

2024-02-05 Thread Mark Geisert via Cygwin
On 2/2/2024 3:52 AM, Bruce Jerrick via Cygwin wrote: util-linux 2.33.1-3 depends on cygwin >= 3.5.0 .  The latter has come out of test, so can util-linux 2.33.1-3 also come out of test? Done. Note that this means if you select util-linux 2.33.1-3 for installation, your Cygwin version will also

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-01-29 Thread Mark Geisert via Cygwin
On 1/28/2024 11:56 PM, Mark Geisert via Cygwin wrote: On 1/28/2024 10:44 PM, Cedric Blancher via Cygwin wrote: Good morning! rm -f myfile touch myfile /usr/bin/fallocate -v -d -l myfile takes forever with latest Cygwin 3.5 ^ length goes here, before filename I

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-01-28 Thread Mark Geisert via Cygwin
On 1/28/2024 10:44 PM, Cedric Blancher via Cygwin wrote: Good morning! rm -f myfile touch myfile /usr/bin/fallocate -v -d -l myfile takes forever with latest Cygwin 3.5 ^ length goes here, before filename I believe you need to chattr +S myfile after the 'touch'

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-28 Thread Mark Geisert via Cygwin
On 1/27/2024 7:47 AM, Marco Atzeri via Cygwin wrote: On 27/01/2024 11:06, Mark Geisert via Cygwin wrote: On 1/26/2024 11:26 PM, ASSI via Cygwin wrote: Mark Geisert via Cygwin writes: A new build of the util-linux package, 2.33.1-3, now includes fallocate and its man page.  The updated package

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-27 Thread Mark Geisert via Cygwin
On 1/26/2024 11:26 PM, ASSI via Cygwin wrote: Mark Geisert via Cygwin writes: A new build of the util-linux package, 2.33.1-3, now includes fallocate and its man page. The updated package is now making its way to the Cygwin mirrors. fallocate requires Cygwin version >= 3.5.0. It a

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-24 Thread Mark Geisert via Cygwin
On 1/23/2024 4:41 PM, Mark Geisert via Cygwin wrote: On 1/23/2024 3:36 AM, Roland Mainz via Cygwin wrote: Small bug report: Cygwin 3.5. now has support for SEEK_HOLE (thanks! :-) ), but /usr/bin/fallocate is still missing in the "util-linux" package. Can someone please enable

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-23 Thread Mark Geisert via Cygwin
On 1/23/2024 3:36 AM, Roland Mainz via Cygwin wrote: Small bug report: Cygwin 3.5. now has support for SEEK_HOLE (thanks! :-) ), but /usr/bin/fallocate is still missing in the "util-linux" package. Can someone please enable that tool ? I'll look into this. ..mark -- Problem reports: ht

Re: inkscape installed but does nothing --- solved to my satisfaction

2023-12-01 Thread Mark Geisert via Cygwin
Hi John, J.F. Huesman via Cygwin wrote: [...] If I call inkscape -V from the prompt, I get an error:(inkscape:1451): Gtk-WARNING **: 07:07:30.361: cannot open display: :0 Inkscape is expecting a running X server to display on. But even for "-V"? That seems a little presumptuous :-). But

Re: inkscape installed but does nothing

2023-11-30 Thread Mark Geisert via Cygwin
Mark Geisert via Cygwin wrote: I've found that Cygwin's latest inkscape 0.92.3 cannot be built with either gcc-g++ 11.4 or 11.2.  There are incompatibilities with recent C++ include files. Inkscape *can* be built with gcc-g++ 7.4; that version even seems to run okay. So it seems th

Re: inkscape installed but does nothing

2023-11-25 Thread Mark Geisert via Cygwin
Mark Geisert via Cygwin wrote: I'm now going through the laborious process of building inkscape on my test system to see if the same issue happens with my build.  I'll give an update when I have something to report. I've found that Cygwin's latest inkscape 0.92.3 cannot

Re: inkscape installed but does nothing

2023-11-23 Thread Mark Geisert via Cygwin
Hi John, J.F. Huesman via Cygwin wrote: [...my previous info about reproducing the issue elided here...] I get those same error codes (of course the process ID and thread numbers are different).exception 139 indicates, I think, a missing required file or link. Maybe it's an issue with the cyg

Re: inkscape installed but does nothing.

2023-11-23 Thread Mark Geisert via Cygwin
FWIW I can reproduce the issue. See below... René Berber via Cygwin wrote: On 11/22/2023 10:27 PM, J.F. Huesman via Cygwin wrote: (I tried to reply to this message twice and got mailer-daemon failure notices both times. My apologies if this is a duplicate message.) Yes, they are installed. w

Re: Qt6 in Cygwin?

2023-10-14 Thread Mark Geisert via Cygwin
Mark Geisert via Cygwin wrote: Are there Qt6 - https://www.qt.io/product/qt6 - packages for Cygwin available? Does setup.exe show it/them as a choice?  No?  No they aren't available.  We could use a maintainer for Qt.  Check the Cygwin home page for how to contribute. Now that I

Re: Qt6 in Cygwin?

2023-10-14 Thread Mark Geisert via Cygwin
Are there Qt6 - https://www.qt.io/product/qt6 - packages for Cygwin available? Does setup.exe show it/them as a choice? No? No they aren't available. We could use a maintainer for Qt. Check the Cygwin home page for how to contribute. ..mark -- Problem reports: https://cygwin.com/

Re: Run a Cygwin process with "higher" scheduler priority

2023-10-14 Thread Mark Geisert via Cygwin
Cedric Blancher via Cygwin wrote: On Fri, 11 Aug 2023 at 19:14, Brian Inglis wrote: On 2023-08-11 09:44, Cedric Blancher via Cygwin wrote: How can we set the scheduler priority for a Cygwin process to "higher" than normal on start? Basically we want a Cygwin compatible script version of the

Re: EXTERNAL SENDER: Re: Fork errors

2023-09-09 Thread Mark Geisert via Cygwin
ssage- From: Cygwin On Behalf Of Mark Geisert via Cygwin Sent: Wednesday, September 6, 2023 6:32 PM To: Cygwin Mailing List Subject: EXTERNAL SENDER: Re: Fork errors Dale Lobb via Cygwin wrote: Since upgrading to the latest version of Cygwin a few weeks ago on a server I manage, I&#x

Re: [pkg cygwin-devel] /usr/include/sys/cpuset.h:52 error: missing return type

2023-09-07 Thread Mark Geisert via Cygwin
Hi Marco, Marco Mason via Cygwin wrote: I just updated to 3.4.9-1 and compiled some code, and it complained about cpuset.h. Specifically, "C++ requires a type specifier for all declarations", and sure enough, there's no return type on line 52. So I changed my local copy to the following, and it

Re: Fork errors

2023-09-07 Thread Mark Geisert via Cygwin
Bill Stewart via Cygwin wrote: On Wed, Sep 6, 2023 at 5:32 PM Mark Geisert wrote: Speculation: The specific exit code 0xC142 may or may not have something to do with Windows error 142, which is ERROR_BUSY_DRIVE. I cannot help further on this. Correction: The low word of 0xC142 = hex

Re: Fork errors

2023-09-06 Thread Mark Geisert via Cygwin
Dale Lobb via Cygwin wrote: Since upgrading to the latest version of Cygwin a few weeks ago on a server I manage, I've been experiencing an issue with fork errors. The Cygwin installation had not been updated for almost a year before that. The issue happens every time a script is invoke

Re: posix thread scaling issue

2023-09-02 Thread Mark Geisert via Cygwin
Sorry, I mis-spoke in my previous post... Mark Geisert via Cygwin wrote:   Briefly, you can't move a thread outside the processor group it's currently in; you have to move its process to the new group first. That's backward.

Re: posix thread scaling issue

2023-09-02 Thread Mark Geisert via Cygwin
Hi folks, Brian Inglis via Cygwin wrote: On 2023-09-02 12:27, jeff via Cygwin wrote: [...] When I run cinebench, I can get to 100% cpu utulization (at around 3ghz) on windows. Chances are the benchmark is designed to handle that: "When the program is running inside the group, unless it is p

Re: can't compile coreutils-9.3 any more after upgrade to cygwin-3.4.8

2023-08-29 Thread Mark Geisert via Cygwin
Corinna Vinschen via Cygwin wrote: On Aug 25 22:50, Mark Geisert via Cygwin wrote: Hi Corinna, Corinna Vinschen via Cygwin wrote: On Aug 24 14:39, Mark Geisert via Cygwin wrote: Denis Excoffier via Cygwin wrote: Hello, When i try to compile coreutils-9.3 under cygwin-3.4.8 i get the

Re: can't compile coreutils-9.3 any more after upgrade to cygwin-3.4.8

2023-08-25 Thread Mark Geisert via Cygwin
Hi Corinna, Corinna Vinschen via Cygwin wrote: On Aug 24 14:39, Mark Geisert via Cygwin wrote: Denis Excoffier via Cygwin wrote: Hello, When i try to compile coreutils-9.3 under cygwin-3.4.8 i get the following error messages (see below). There seems to be a kind of loop in the hierarchy of

Re: can't compile coreutils-9.3 any more after upgrade to cygwin-3.4.8

2023-08-24 Thread Mark Geisert via Cygwin
Hi Denis, Thanks for the report. More below... Denis Excoffier via Cygwin wrote: Hello, When i try to compile coreutils-9.3 under cygwin-3.4.8 i get the following error messages (see below). There seems to be a kind of loop in the hierarchy of #includes. Moreover, with cygwin-3.4.7, this is o

Re: Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-18 Thread Mark Geisert via Cygwin
Mark Geisert via Cygwin wrote: Backwoods BC via Cygwin wrote: [...] I don't know if this is the official method, but it works for me: # Shell Options # Elevated privilege windows have $SESSIONNAME set if [ "$SESSIONNAME" == "" ] ;then    printf -v adminPmt &#

Re: Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-18 Thread Mark Geisert via Cygwin
Backwoods BC via Cygwin wrote: On Thu, Aug 17, 2023 at 7:01 PM Martin Wege via Cygwin wrote: How can I find out whether the current Cygwin terminal has Administrator rights? I want to safeguard our admin scripts with a simple test and bail out with an error if someone wants to do admin stuff (s

Re: Linking a native msvc dll library to CYGWIN g++ compiler

2023-07-17 Thread Mark Geisert via Cygwin
Mümin A. via Cygwin wrote: Hi, reminder.. Mümin A. , 11 Tem 2023 Sal, 09:47 tarihinde şunu yazdı: Hi, I'm facing a problem while linking my native dll library into the g++ compiler. There is a name mangling problem when calling a msvc function from g++ compiler therefore linker gives an er

Re: iostream doesn't work (clang++)

2023-07-12 Thread Mark Geisert via Cygwin
Hi once again, ggl329 via Cygwin wrote: On 2023/07/05 12:06, Mark Geisert via Cygwin wrote: My previous reply addressed the specific error reported by your testcase. But I am unable to make progress on the root cause because I can't reproduce your report. [... useful info elided from

Re: iostream doesn't work (clang++)

2023-07-07 Thread Mark Geisert via Cygwin
Brian Inglis via Cygwin wrote: On 2023-07-05 09:54, ggl329 via Cygwin wrote: Hi Mark, On 2023/07/05 12:06, Mark Geisert via Cygwin wrote: My previous reply addressed the specific error reported by your testcase. But I am unable to make progress on the root cause because I can't repr

Re: iostream doesn't work (clang++)

2023-07-04 Thread Mark Geisert via Cygwin
Hi again, ggl329 via Cygwin wrote: Hi, clang++ fails with iostream. Does it go well in your environment? # I noticed that clang is orphaned. clang requires a maintainer? It would indeed be nice to have a clang maintainer. Until that happens various other folks might be able to assist if the

Re: iostream doesn't work (clang++)

2023-07-04 Thread Mark Geisert via Cygwin
Hi there, ggl329 via Cygwin wrote: Hi, clang++ fails with iostream. Does it go well in your environment? # I noticed that clang is orphaned. clang requires a maintainer? $ cat sample.cc #include int main() {     std::cout << "Hello World.\n";     return 0; } $ g++ sample.cc $ ./a Hello Wo

Re: cygwin1.dll calls assert before cygwin command hangs

2023-03-23 Thread Mark Geisert via Cygwin
Sorry, the second gdb command should be info line *__assert+0x42a4 (Note the change in symbol name: two "_" there) ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe i

Re: cygwin1.dll calls assert before cygwin command hangs

2023-03-23 Thread Mark Geisert via Cygwin
Hi Derek, Derek Pagel via Cygwin wrote: We've had problems with slow Cygwin commands, so we were able to capture a stack trace when the 'cp' program taking a long time to complete, and we noticed in the stack trace that the last thing cygwin1.dll does is calls assert. What might that suggest?

Re: type mismatch on cpuset.h

2023-03-06 Thread Mark Geisert via Cygwin
Hi Corinna, Marco, I will look into this shortly. Sorry for the inconvenience. ..mark On Mon, 6 Mar 2023, Corinna Vinschen wrote: Hi Mark, On Mar 6 07:57, Marco Atzeri via Cygwin wrote: Hi, building latest gdal I noticed a type mismatch, that forced me to build with "-fpermissive" on /u

Re: Python regression related to unix sockets

2022-11-07 Thread Mark Geisert
Following up to myself... Mark Geisert wrote: Hi Fabian, Fabian Henze wrote: Hi all, This is a follow-up on a mail thread from February 2021. Mark Geisert via Cygwin wrote: Fabian Henze via Cygwin wrote: Hi Cygwin users, I noticed a regression in the recent Python packages: Between version

Re: Python regression related to unix sockets

2022-11-06 Thread Mark Geisert
Hi Fabian, Fabian Henze wrote: Hi all, This is a follow-up on a mail thread from February 2021. Mark Geisert via Cygwin wrote: Fabian Henze via Cygwin wrote: Hi Cygwin users, I noticed a regression in the recent Python packages: Between version 3.6.10-1 and 3.6.12-2, accessing the SSH agent

  1   2   3   4   5   >