This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnuplot caca terminal work on Cygwin-x86 but not Cygwin-x86_64


--- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]