This is the mail archive of the
mailing list for the Cygwin project.
Re: Application not working in 64-bit cygwin cygwin/X
- From: Kaz Kylheku <920-082-4242 at kylheku dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 12 Mar 2016 09:38:55 -0800
- Subject: Re: Application not working in 64-bit cygwin cygwin/X
- Authentication-results: sourceware.org; auth=none
- References: <CAGX=k3FLakLze4XzYy7kQ8=xQQ=jKrUiZDPsvmR33OXE9eFdsQ at mail dot gmail dot com> <56E3504C dot 4030805 at tiscali dot co dot uk> <56E3B6EA dot 8070002 at gmail dot com>
On 11.03.2016 22:27, Marco Atzeri wrote:
On 12/03/2016 00:10, David Stacey wrote:
On 11/03/16 14:23, Girish Joglekar wrote:
I have cleaned up the test example based on X-Windows/Motif which
on 64-bit cygwin cygwin/X but runs on the 32-bit version. The only
warnings are of the type 'variable set but not used'.
Here is the link to the tar file.
Hope you can reproduce the behavior and fix the problem.
I tried this on Fedora 23 64-bit and it works. I had to add an empty
utcrcu.h file, as the code tries to #include this, and it doesn't
in the tar file. Given that it runs in 64-bit Linux, the problem is
unlikely to be an issue associated with porting 32-bit applications to
it can be a bug not triggered on linux due the difference in managing
function arguments in the stack.
Among a myriad other things! Undefined behaviors can have totally
different consequences even on architecturally similar systems. E.g. a
buffer overrun depends on the heap structure and allocation pattern
driven by program inputs. Uninitialized memory will have different
in it. And so on.
So it works on Fedora 23 64-bit? That could be by fluke.
How about this: does it run with zero errors under Valgrind on the same
That represents a greater confidence that "it works".
In any case, this is a poor approach to problem solving in the
context of open source:
"Hi, on your platform the program in my multi-megabyte archive crashes
... somewhere in the code (I could tell you where, but I can't be
to use the debugger). Please download the whole, reproduce the problem,
debug it for me."
This kind of burp-and-diaper changing is done in the industry only for
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple