public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
@ 2014-05-01 10:07 Tatsuro MATSUOKA
  2014-05-01 10:51 ` Tatsuro MATSUOKA
  2014-05-05 10:42 ` Corinna Vinschen
  0 siblings, 2 replies; 13+ messages in thread
From: Tatsuro MATSUOKA @ 2014-05-01 10:07 UTC (permalink / raw)
  To: cygwin

Hello 

I have tried to build the recent cvs snapshot of gnuplot both on Cygwin-x86 and Cygwin-x86_64.

The caca terminal works correctly on the Cygwin-x86. However it does not work on  Cygwin-x86_64.

First I have reported in the bug-ticket on the SourceForge of gnuplot. 
https://sourceforge.net/p/gnuplot/bugs/1391/

But I feel that this is not the gnuplot issue but Cygwin-x86_64 issue. Because the caca terminal works fine on  Cygwin-x86

I have tried to execute gnuplot(cvs) on gdb.

gnuplot> set term caca
Terminal type set to 'caca'
Options are 'enhanced size 80, 25 background rgb "white" color noinverted charset blocks'
gnuplot> plot sin(x)

Program received signal SIGSEGV, Segmentation fault.
0x0000000077868e5d in ntdll!RtlUnwindEx ()
   from /cygdrive/c/Windows/system32/ntdll.dll
(gdb) 

The Segmentation fault is occured.
What can I do the further purchase of this issue?

Regards

Tatsuro



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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-01 10:07 gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64 Tatsuro MATSUOKA
@ 2014-05-01 10:51 ` Tatsuro MATSUOKA
  2014-05-05 10:42 ` Corinna Vinschen
  1 sibling, 0 replies; 13+ messages in thread
From: Tatsuro MATSUOKA @ 2014-05-01 10:51 UTC (permalink / raw)
  To: cygwin

I have re-configured:

cd "E:\usr\Tatsu\cyg64work\gnuplotcvs\build"
CFLAGS='-g -O0' \
CXXFLAGS='-g -O0' \
../gnuplot/configure --prefix=/usr/local/gnuplotcvs --with-caca

and execute make and make install.

$ gdb /usr/local/gnuplotcvs/bin/gnuplot
GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
..
Reading symbols from /usr/local/gnuplotcvs/bin/gnuplot...done.
(gdb) r
Starting program: /usr/local/gnuplotcvs/bin/gnuplot 
[New Thread 7584.0x1f94]
[New Thread 7584.0x1548]

        G N U P L O T
        Version 5.0 patchlevel alpha    last modified 2014-04-29 

        Copyright (C) 1986-1993, 1998, 2004, 2007-2014
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        mailing list:     gnuplot-beta@lists.sourceforge.net
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'qt'
gnuplot> set term caca
Terminal type set to 'caca'
Options are 'enhanced size 80, 25 background rgb "white" color noinverted
charset blocks'
gnuplot> plot sin(x)

Program received signal SIGSEGV, Segmentation fault.
0x0000000077868e5d in ntdll!RtlUnwindEx ()
   from /cygdrive/c/Windows/system32/ntdll.dll
(gdb) where
#0  0x0000000077868e5d in ntdll!RtlUnwindEx ()
   from /cygdrive/c/Windows/system32/ntdll.dll
#1  0x0000000000000000 in ?? ()
(gdb) up
#1  0x0000000000000000 in ?? ()
(gdb) up
Initial frame selected; you cannot go up.
(gdb) 

Is this the Cygwin fault?



--
View this message in context: http://cygwin.1069669.n5.nabble.com/gnuplot-caca-terminal-work-on-Cygwin-x86-but-not-Cygwin-x86-64-tp108246p108248.html
Sent from the Cygwin list mailing list archive at Nabble.com.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-01 10:07 gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64 Tatsuro MATSUOKA
  2014-05-01 10:51 ` Tatsuro MATSUOKA
@ 2014-05-05 10:42 ` Corinna Vinschen
  2014-05-11 23:47   ` Tatsuro MATSUOKA
  1 sibling, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2014-05-05 10:42 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]

On May  1 19:07, Tatsuro MATSUOKA wrote:
> Hello 
> 
> I have tried to build the recent cvs snapshot of gnuplot both on Cygwin-x86 and Cygwin-x86_64.
> 
> The caca terminal works correctly on the Cygwin-x86. However it does not work on  Cygwin-x86_64.
> 
> First I have reported in the bug-ticket on the SourceForge of gnuplot. 
> https://sourceforge.net/p/gnuplot/bugs/1391/
> 
> But I feel that this is not the gnuplot issue but Cygwin-x86_64 issue. Because the caca terminal works fine on  Cygwin-x86
> 
> I have tried to execute gnuplot(cvs) on gdb.
> 
> gnuplot> set term caca
> Terminal type set to 'caca'
> Options are 'enhanced size 80, 25 background rgb "white" color noinverted charset blocks'
> gnuplot> plot sin(x)
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000077868e5d in ntdll!RtlUnwindEx ()
>    from /cygdrive/c/Windows/system32/ntdll.dll
> (gdb) 
> 
> The Segmentation fault is occured.
> What can I do the further purchase of this issue?

I have a hunch:

Please try the latest snapshot DLL from http://cygwin.com/snhapshots/

The above crash looks like it might be a wrongly catched exception in
one of the Windows DLLs.  If so, this would be a result of a glitch in
the 64 bit exception handling, which should be fixed in the latest
snapshots.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-05 10:42 ` Corinna Vinschen
@ 2014-05-11 23:47   ` Tatsuro MATSUOKA
  2014-05-11 23:58     ` Tatsuro MATSUOKA
                       ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Tatsuro MATSUOKA @ 2014-05-11 23:47 UTC (permalink / raw)
  To: cygwin; +Cc: Corinna Vinschen

--- On Mon, 2014/5/5, Corinna Vinschen wrote:
> On May  1 19:07, Tatsuro MATSUOKA wrote:
> > Hello
> >
> > I have tried to build the recent cvs snapshot of gnuplot both on Cygwin-x86 and Cygwin-x86_64.
> >
> > The caca terminal works correctly on the Cygwin-x86. However it does not work on  Cygwin-x86_64.
> >
> > First I have reported in the bug-ticket on the SourceForge of gnuplot.
> > https://sourceforge.net/p/gnuplot/bugs/1391/
> >
> > But I feel that this is not the gnuplot issue but Cygwin-x86_64 issue. Because the caca terminal works fine on  Cygwin-x86
> >
> > I have tried to execute gnuplot(cvs) on gdb.
> >
> > gnuplot> set term caca
> > Terminal type set to 'caca'
> > Options are 'enhanced size 80, 25 background rgb "white" color noinverted charset blocks'
> > gnuplot> plot sin(x)
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0000000077868e5d in ntdll!RtlUnwindEx ()
> >    from /cygdrive/c/Windows/system32/ntdll.dll
> > (gdb)
> >
> > The Segmentation fault is occured.
> > What can I do the further purchase of this issue?
>
> I have a hunch:
>
> Please try the latest snapshot DLL from http://cygwin.com/snhapshots/
>
> The above crash looks like it might be a wrongly catched exception in
> one of the Windows DLLs.  If so, this would be a result of a glitch in
> the 64 bit exception handling, which should be fixed in the latest
> snapshots.
>
>
> Corinna

Sorry for late reply.

I cannot access the page that you indicated:
http://cygwin.com/snhapshots/

*****************************************
Not Found

The requested URL /snhapshots/ was not found on this server.
Apache Server at cygwin.com Port 80
*****************************************
Is this a tempral phenomenon?

Tatsuro

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-11 23:47   ` Tatsuro MATSUOKA
@ 2014-05-11 23:58     ` Tatsuro MATSUOKA
  2014-05-12  7:28     ` Christopher Faylor
  2014-05-12  7:51     ` Csaba Raduly
  2 siblings, 0 replies; 13+ messages in thread
From: Tatsuro MATSUOKA @ 2014-05-11 23:58 UTC (permalink / raw)
  To: cygwin; +Cc: Corinna Vinschen

--- On Mon, 2014/5/5, Corinna Vinschen wrote:
> On May  1 19:07, Tatsuro MATSUOKA wrote:
> > Hello
> >
> > I have tried to build the recent cvs snapshot of gnuplot both on Cygwin-x86 and Cygwin-x86_64.
> >
> > The caca terminal works correctly on the Cygwin-x86. However it does not work on  Cygwin-x86_64.
> >
> > First I have reported in the bug-ticket on the SourceForge of gnuplot.
> > https://sourceforge.net/p/gnuplot/bugs/1391/
> >
> > But I feel that this is not the gnuplot issue but Cygwin-x86_64 issue. Because the caca terminal works fine on  Cygwin-x86
> >
> > I have tried to execute gnuplot(cvs) on gdb.
> >
> > gnuplot> set term caca
> > Terminal type set to 'caca'
> > Options are 'enhanced size 80, 25 background rgb "white" color noinverted charset blocks'
> > gnuplot> plot sin(x)
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0000000077868e5d in ntdll!RtlUnwindEx ()
> >    from /cygdrive/c/Windows/system32/ntdll.dll
> > (gdb)
> >
> > The Segmentation fault is occured.
> > What can I do the further purchase of this issue?
>
> I have a hunch:
>
> Please try the latest snapshot DLL from http://cygwin.com/snhapshots/
>
> The above crash looks like it might be a wrongly catched exception in
> one of the Windows DLLs.  If so, this would be a result of a glitch in
> the 64 bit exception handling, which should be fixed in the latest
> snapshots.
>
>
> Corinna

Sorry for late reply.

I cannot access the page that you indicated:
http://cygwin.com/snhapshots/

*****************************************
Not Found

The requested URL /snhapshots/ was not found on this server.
Apache Server at cygwin.com Port 80
*****************************************
Is this a tempral phenomenon?

Tatsuro

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-11 23:47   ` Tatsuro MATSUOKA
  2014-05-11 23:58     ` Tatsuro MATSUOKA
@ 2014-05-12  7:28     ` Christopher Faylor
  2014-05-12  7:51     ` Csaba Raduly
  2 siblings, 0 replies; 13+ messages in thread
From: Christopher Faylor @ 2014-05-12  7:28 UTC (permalink / raw)
  To: cygwin

On Mon, May 12, 2014 at 08:47:26AM +0900, Tatsuro MATSUOKA wrote:
>--- On Mon, 2014/5/5, Corinna Vinschen wrote:
>> On May  1 19:07, Tatsuro MATSUOKA wrote:
>> > Hello
>> >
>> > I have tried to build the recent cvs snapshot of gnuplot both on Cygwin-x86 and Cygwin-x86_64.
>> >
>> > The caca terminal works correctly on the Cygwin-x86. However it does not work on  Cygwin-x86_64.
>> >
>> > First I have reported in the bug-ticket on the SourceForge of gnuplot.
>> > https://sourceforge.net/p/gnuplot/bugs/1391/
>> >
>> > But I feel that this is not the gnuplot issue but Cygwin-x86_64 issue. Because the caca terminal works fine on  Cygwin-x86
>> >
>> > I have tried to execute gnuplot(cvs) on gdb.
>> >
>> > gnuplot> set term caca
>> > Terminal type set to 'caca'
>> > Options are 'enhanced size 80, 25 background rgb "white" color noinverted charset blocks'
>> > gnuplot> plot sin(x)
>> >
>> > Program received signal SIGSEGV, Segmentation fault.
>> > 0x0000000077868e5d in ntdll!RtlUnwindEx ()
>> >    from /cygdrive/c/Windows/system32/ntdll.dll
>> > (gdb)
>> >
>> > The Segmentation fault is occured.
>> > What can I do the further purchase of this issue?
>>
>> I have a hunch:
>>
>> Please try the latest snapshot DLL from http://cygwin.com/snhapshots/
>>
>> The above crash looks like it might be a wrongly catched exception in
>> one of the Windows DLLs.  If so, this would be a result of a glitch in
>> the 64 bit exception handling, which should be fixed in the latest
>> snapshots.
>>
>>
>> Corinna
>
>Sorry for late reply.
>
>I cannot access the page that you indicated:
>http://cygwin.com/snhapshots/
>
>*****************************************
>Not Found
>
>The requested URL /snhapshots/ was not found on this server.
>Apache Server at cygwin.com Port 80
>*****************************************
>Is this a tempral phenomenon?

Go to http://cygwin.com/.  Scan your eyes to the left.  Look for
"Contributing" in the bar at the left.  Scan down a line below
that.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-11 23:47   ` Tatsuro MATSUOKA
  2014-05-11 23:58     ` Tatsuro MATSUOKA
  2014-05-12  7:28     ` Christopher Faylor
@ 2014-05-12  7:51     ` Csaba Raduly
  2014-05-12  9:35       ` Tatsuro MATSUOKA
  2 siblings, 1 reply; 13+ messages in thread
From: Csaba Raduly @ 2014-05-12  7:51 UTC (permalink / raw)
  To: matsuoka, cygwin list

On Mon, May 12, 2014 at 1:47 AM, Tatsuro MATSUOKA  wrote:
> I cannot access the page that you indicated:
> http://cygwin.com/snhapshots/
>
> *****************************************
> Not Found
>
> The requested URL /snhapshots/ was not found on this server.
> Apache Server at cygwin.com Port 80
> *****************************************
> Is this a tempral phenomenon?

No, it's likely to be permanent. /sn_h_apshots/ is not the same as /snapshots/

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-12  7:51     ` Csaba Raduly
@ 2014-05-12  9:35       ` Tatsuro MATSUOKA
  2014-05-12 10:03         ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Tatsuro MATSUOKA @ 2014-05-12  9:35 UTC (permalink / raw)
  To: cygwin list, Csaba Raduly

--- On Mon, 2014/5/12, Csaba Raduly wrote:
> On Mon, May 12, 2014 at 1:47 AM, Tatsuro MATSUOKA  wrote:
> > I cannot access the page that you indicated:
> > http://cygwin.com/snhapshots/
> >
> > *****************************************
> > Not Found
> >
> > The requested URL /snhapshots/ was not found on this server.
> > Apache Server at cygwin.com Port 80
> > *****************************************
> > Is this a tempral phenomenon?
> 
> No, it's likely to be permanent. /sn_h_apshots/ is not the same as /snapshots/
> 
> Csaba

Csaba Thanks! I can access http://cygwin.com/snapshots/

I have downdoaded x86_64/cygwin1-20140509.dll.xz and execute gnuplot on gdb

$ gdb src/gnuplot
<snip>
Reading symbols from /cygdrive/e/usr/Tatsu/cyg64work/gnuplotcvs/build/src/gnuplot...done.
(gdb) r
Starting program: /cygdrive/e/usr/Tatsu/cyg64work/gnuplotcvs/build/src/gnuplot
[New Thread 9176.0x2614]
[New Thread 9176.0x1494]

        G N U P L O T
        Version 5.0 patchlevel alpha    last modified 2014-05-11

        Copyright (C) 1986-1993, 1998, 2004, 2007-2014
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        mailing list:     gnuplot-beta@lists.sourceforge.net
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'qt'
gnuplot> plot sin(x)
[New Thread 9176.0x1b50]
[New Thread 9176.0x269c]
[New Thread 9176.0x2780]

Program received signal SIGSEGV, Segmentation fault.
0x000000007782a5a0 in vsprintf_s () from /cygdrive/c/Windows/system32/ntdll.dll
(gdb) bt
#0  0x000000007782a5a0 in vsprintf_s ()
   from /cygdrive/c/Windows/system32/ntdll.dll

Is this information helpful?

Tatsuro

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-12  9:35       ` Tatsuro MATSUOKA
@ 2014-05-12 10:03         ` Corinna Vinschen
  2014-05-13  0:00           ` Tatsuro MATSUOKA
  0 siblings, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2014-05-12 10:03 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1818 bytes --]

On May 12 16:51, Tatsuro MATSUOKA wrote:
> I have downdoaded x86_64/cygwin1-20140509.dll.xz and execute gnuplot on gdb

First, are you shure this is running under the snapshot?  what does
`uname -a' print when called right before the below gdb call?

> $ gdb src/gnuplot
> <snip>
> Reading symbols from /cygdrive/e/usr/Tatsu/cyg64work/gnuplotcvs/build/src/gnuplot...done.
> (gdb) r
> Starting program: /cygdrive/e/usr/Tatsu/cyg64work/gnuplotcvs/build/src/gnuplot
> [New Thread 9176.0x2614]
> [New Thread 9176.0x1494]
> 
>         G N U P L O T
>         Version 5.0 patchlevel alpha    last modified 2014-05-11
> 
>         Copyright (C) 1986-1993, 1998, 2004, 2007-2014
>         Thomas Williams, Colin Kelley and many others
> 
>         gnuplot home:     http://www.gnuplot.info
>         mailing list:     gnuplot-beta@lists.sourceforge.net
>         faq, bugs, etc:   type "help FAQ"
>         immediate help:   type "help"  (plot window: hit 'h')
> 
> Terminal type set to 'qt'
> gnuplot> plot sin(x)
> [New Thread 9176.0x1b50]
> [New Thread 9176.0x269c]
> [New Thread 9176.0x2780]
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000007782a5a0 in vsprintf_s () from /cygdrive/c/Windows/system32/ntdll.dll
> (gdb) bt
> #0  0x000000007782a5a0 in vsprintf_s ()
>    from /cygdrive/c/Windows/system32/ntdll.dll
> 
> Is this information helpful?

Not really.  We can't quite trust the information returned for frames
in one of the OS DLLs, but if this is really a vsprintf_s call, it's
weird since no Cygwin application would call a vsprintf functions
from ntdll.dll, if it's linked correctly.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-12 10:03         ` Corinna Vinschen
@ 2014-05-13  0:00           ` Tatsuro MATSUOKA
  2014-05-13  5:49             ` Tatsuro MATSUOKA
  2014-05-13  9:18             ` Corinna Vinschen
  0 siblings, 2 replies; 13+ messages in thread
From: Tatsuro MATSUOKA @ 2014-05-13  0:00 UTC (permalink / raw)
  To: cygwin

--- On Mon, 2014/5/12, Corinna Vinschen  wrote:

> On May 12 16:51, Tatsuro MATSUOKA wrote:
> > I have downdoaded x86_64/cygwin1-20140509.dll.xz and execute gnuplot on gdb
> 
> First, are you shure this is running under the snapshot?  what does
> `uname -a' print when called right before the below gdb call?
> 
> > $ gdb src/gnuplot
> > <snip>
> > Reading symbols from /cygdrive/e/usr/Tatsu/cyg64work/gnuplotcvs/build/src/gnuplot...done.
> > (gdb) r
> > Starting program: /cygdrive/e/usr/Tatsu/cyg64work/gnuplotcvs/build/src/gnuplot
> > [New Thread 9176.0x2614]
> > [New Thread 9176.0x1494]
> > 
> >         G N U P L O T
> >         Version 5.0 patchlevel alpha    last modified 2014-05-11
> > 
> >         Copyright (C) 1986-1993, 1998, 2004, 2007-2014
> >         Thomas Williams, Colin Kelley and many others
> > 
> >         gnuplot home:     http://www.gnuplot.info
> >         mailing list:     gnuplot-beta@lists.sourceforge.net
> >         faq, bugs, etc:   type "help FAQ"
> >         immediate help:   type "help"  (plot window: hit 'h')
> > 
> > Terminal type set to 'qt'
> > gnuplot> plot sin(x)
> > [New Thread 9176.0x1b50]
> > [New Thread 9176.0x269c]
> > [New Thread 9176.0x2780]
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x000000007782a5a0 in vsprintf_s () from /cygdrive/c/Windows/system32/ntdll.dll
> > (gdb) bt
> > #0  0x000000007782a5a0 in vsprintf_s ()
> >    from /cygdrive/c/Windows/system32/ntdll.dll
> > 
> > Is this information helpful?
> 

> First, are you shure this is running under the snapshot?  what does
> `uname -a' print when called right before the below gdb call?

I have mis-operated. I have copied snapshot cywin1.dll to Cygwin_x86 but not Cygwin_x86_64.  I corrected makatake and found :

$ gdb src/gnuplot
GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
..
Reading symbols from /cygdrive/e/usr/Tatsu/cyg64work/gnuplotcvs/build/src/gnuplot...done.
(gdb) r
Starting program: /cygdrive/e/usr/Tatsu/cyg64work/gnuplotcvs/build/src/gnuplot
[New Thread 5892.0x478]
warning: the debug information found in "/usr/lib/debug//usr/bin/cygwin1.dbg" does not match "/usr/bin/cygwin1.dll" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/bin/cygwin1.dbg" does not match "/usr/bin/cygwin1.dll" (CRC mismatch).

[New Thread 5892.0x788]
[New Thread 5892.0xc1c]

        G N U P L O T
        Version 5.0 patchlevel alpha    last modified 2014-05-11

        Copyright (C) 1986-1993, 1998, 2004, 2007-2014
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        mailing list:     gnuplot-beta@lists.sourceforge.net
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'qt'
gnuplot> plot sin(x)
[New Thread 5892.0xba4]
[New Thread 5892.0x41c]
[New Thread 5892.0x142c]
[New Thread 5892.0x10ec]
[Thread 5892.0x10ec exited with code 0]
[New Thread 5892.0xae0]
[New Thread 5892.0x1a68]
[New Thread 5892.0x1bf0]
Could not connect to gnuplot_qt "qtgnuplot3112" . Starting a new one

Warning: slow font initializationgnuplot> Quit
(gdb) Undefined command: "rq".  Try "help".
(gdb) Undefined command: "q2qqqqqqqq".  Try "help".
(gdb) A debugging session is active.

********************************************
Segmentation fault is no longer happned.
The behavior similar to that happened at Cygwin_x86.

Anyway thanks your advise.

# On Ubuntu 12.04 LTS 64bit, gnuplot qt terminal works without problem.

Regards

Tatsuro


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-13  0:00           ` Tatsuro MATSUOKA
@ 2014-05-13  5:49             ` Tatsuro MATSUOKA
  2014-05-13  9:18             ` Corinna Vinschen
  1 sibling, 0 replies; 13+ messages in thread
From: Tatsuro MATSUOKA @ 2014-05-13  5:49 UTC (permalink / raw)
  To: cygwin

Hello

Sorry I am confused. Here is the post concerning with caca terminal but not
qt terminal of gnuplot on Cygwin_x86_64.

$ gdb src/gnuplot
GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)
<snip>
(gdb) r
<snip>
[New Thread 1840.0x81c]
[New Thread 1840.0x149c]

        G N U P L O T
        Version 5.0 patchlevel alpha    last modified 2014-05-11 

        Copyright (C) 1986-1993, 1998, 2004, 2007-2014
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        mailing list:     gnuplot-beta@lists.sourceforge.net
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'qt'
gnuplot> set term caca
Terminal type set to 'caca'
Options are 'enhanced size 80, 25 background rgb "white" color noinverted t
blocks'
gnuplot> plot sin(x)
[New Thread 1840.0x904]
[Thread 1840.0x904 exited with code 0]
[New Thread 1840.0x1830]
[New Thread 1840.0x1b00]
X Error of failed request:  BadValue (integer parameter out of range for
oon)
  Major opcode of failed request:  1 (X_CreateWindow)
  Value in failed request:  0x0
  Serial number of failed request:  4149
  Current serial number in output stream:  4150
Gnuplot not exited using gp_exit(). Exit handlers may not work correctly!
[Thread 1840.0x81c exited with code 1]
[Thread 1840.0x1830 exited with code 1]
[Thread 1840.0x149c exited with code 1]
[Inferior 1 (process 1840) exited with code 01]
(gdb) bt
No stack.

Any suggestions?




--
View this message in context: http://cygwin.1069669.n5.nabble.com/gnuplot-caca-terminal-work-on-Cygwin-x86-but-not-Cygwin-x86-64-tp108246p108567.html
Sent from the Cygwin list mailing list archive at Nabble.com.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-13  0:00           ` Tatsuro MATSUOKA
  2014-05-13  5:49             ` Tatsuro MATSUOKA
@ 2014-05-13  9:18             ` Corinna Vinschen
  2014-05-14 11:37               ` Tatsuro MATSUOKA
  1 sibling, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2014-05-13  9:18 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1917 bytes --]

On May 13 08:54, Tatsuro MATSUOKA wrote:
> --- On Mon, 2014/5/12, Corinna Vinschen  wrote:
> > First, are you shure this is running under the snapshot?  what does
> > `uname -a' print when called right before the below gdb call?
> 
> I have mis-operated. I have copied snapshot cywin1.dll to Cygwin_x86 but not Cygwin_x86_64.  I corrected makatake and found :
> 
> $ gdb src/gnuplot
> [...]
> 
>         G N U P L O T
>         Version 5.0 patchlevel alpha    last modified 2014-05-11
> 
>         Copyright (C) 1986-1993, 1998, 2004, 2007-2014
>         Thomas Williams, Colin Kelley and many others
> 
>         gnuplot home:     http://www.gnuplot.info
>         mailing list:     gnuplot-beta@lists.sourceforge.net
>         faq, bugs, etc:   type "help FAQ"
>         immediate help:   type "help"  (plot window: hit 'h')
> 
> Terminal type set to 'qt'
> gnuplot> plot sin(x)
> [New Thread 5892.0xba4]
> [New Thread 5892.0x41c]
> [New Thread 5892.0x142c]
> [New Thread 5892.0x10ec]
> [Thread 5892.0x10ec exited with code 0]
> [New Thread 5892.0xae0]
> [New Thread 5892.0x1a68]
> [New Thread 5892.0x1bf0]
> Could not connect to gnuplot_qt "qtgnuplot3112" . Starting a new one
> 
> Warning: slow font initializationgnuplot> Quit
> (gdb) Undefined command: "rq".  Try "help".
> (gdb) Undefined command: "q2qqqqqqqq".  Try "help".
> (gdb) A debugging session is active.
> 
> ********************************************
> Segmentation fault is no longer happned.
> The behavior similar to that happened at Cygwin_x86.
> 
> Anyway thanks your advise.

Ok, so we know now that the crash was spurious and fixed in the
snapshots.  That's good to know.  I can't help you with the other
problems, unfortunately.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64
  2014-05-13  9:18             ` Corinna Vinschen
@ 2014-05-14 11:37               ` Tatsuro MATSUOKA
  0 siblings, 0 replies; 13+ messages in thread
From: Tatsuro MATSUOKA @ 2014-05-14 11:37 UTC (permalink / raw)
  To: cygwin

--- On Tue, 2014/5/13, Corinna Vinschen wrote:
> On May 13 08:54, Tatsuro MATSUOKA wrote:
> > --- On Mon, 2014/5/12, Corinna Vinschen  wrote:
> > > First, are you shure this is running under the snapshot?  what does
> > > `uname -a' print when called right before the below gdb call?
> > 
> > I have mis-operated. I have copied snapshot cywin1.dll to Cygwin_x86 but not Cygwin_x86_64.  I corrected makatake and found :
> > 
> > $ gdb src/gnuplot
> > [...]
> > 
> >         G N U P L O T
> >         Version 5.0 patchlevel alpha    last modified 2014-05-11
> > 
> >         Copyright (C) 1986-1993, 1998, 2004, 2007-2014
> >         Thomas Williams, Colin Kelley and many others
> > 
> >         gnuplot home:     http://www.gnuplot.info
> >         mailing list:     gnuplot-beta@lists.sourceforge.net
> >         faq, bugs, etc:   type "help FAQ"
> >         immediate help:   type "help"  (plot window: hit 'h')
> > 
> > Terminal type set to 'qt'
> > gnuplot> plot sin(x)
> > [New Thread 5892.0xba4]
> > [New Thread 5892.0x41c]
> > [New Thread 5892.0x142c]
> > [New Thread 5892.0x10ec]
> > [Thread 5892.0x10ec exited with code 0]
> > [New Thread 5892.0xae0]
> > [New Thread 5892.0x1a68]
> > [New Thread 5892.0x1bf0]
> > Could not connect to gnuplot_qt "qtgnuplot3112" . Starting a new one
> > 
> > Warning: slow font initializationgnuplot> Quit
> > (gdb) Undefined command: "rq".  Try "help".
> > (gdb) Undefined command: "q2qqqqqqqq".  Try "help".
> > (gdb) A debugging session is active.
> > 
> > ********************************************
> > Segmentation fault is no longer happned.
> > The behavior similar to that happened at Cygwin_x86.
> > 
> > Anyway thanks your advise.
> 
> Ok, so we know now that the crash was spurious and fixed in the
> snapshots.  That's good to know.  I can't help you with the other
> problems, unfortunately.
> 
> 
> Corinna

Perhaps it is better to carry out the further question at Qt forums.
Thank for your pointer so far.

I will hope that I can build gnuplot with qt terminal in the near future.

Tatsuro


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-05-14  7:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-01 10:07 gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64 Tatsuro MATSUOKA
2014-05-01 10:51 ` Tatsuro MATSUOKA
2014-05-05 10:42 ` Corinna Vinschen
2014-05-11 23:47   ` Tatsuro MATSUOKA
2014-05-11 23:58     ` Tatsuro MATSUOKA
2014-05-12  7:28     ` Christopher Faylor
2014-05-12  7:51     ` Csaba Raduly
2014-05-12  9:35       ` Tatsuro MATSUOKA
2014-05-12 10:03         ` Corinna Vinschen
2014-05-13  0:00           ` Tatsuro MATSUOKA
2014-05-13  5:49             ` Tatsuro MATSUOKA
2014-05-13  9:18             ` Corinna Vinschen
2014-05-14 11:37               ` Tatsuro MATSUOKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).