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: qt terminal of gnuplot fails


--- On Fri, 2014/5/2, Tatsuro MATSUOKA wrote:

> qt terminal of gnuplot (cvs 2014-04-29  Ethan A Merritt) fails.
> 
> $ gdb src/gnuplot
>  :
> (gdb) r
> Starting program: /cygdrive/d/usr/Tatsu/Cygwinhome/gnuplotcvs/build/src/gnuplot 
> [New Thread 5696.0x1c74]
> 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).
> 
> warning: the debug information found in "/usr/lib/debug//usr/bin/cygcairo-2.dll.dbg" does not match "/usr/bin/cygcairo-2.dll" (CRC mismatch).
> (gdb) 
> 
> 
> [New Thread 5696.0x1904]
> 
>         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> plot sin(x)
> [New Thread 5696.0x1bd0]
> [New Thread 5696.0x14ec]
> [New Thread 5696.0x183c]
> Could not start gnuplot_qt with path "/usr/local/gnuplotcvs/libexec/gnuplot/5.0/gnuplot_qt" 
> Could not start gnuplot_qt with path "/usr/local/gnuplotcvs/libexec/gnuplot/5.0/gnuplot_qt" 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x6d10602a in cygQtCore-4!_ZN9QDateTimeD2Ev () from /usr/bin/cygQtCore-4.dll
> (gdb) bt
> #0  0x6d10602a in cygQtCore-4!_ZN9QDateTimeD2Ev ()
>    from /usr/bin/cygQtCore-4.dll
> #1  0x00506f76 in qt_connectToServer (server=..., retry=retry@entry=true)
>     at ../../gnuplot/src/qtterminal/qt_term.cpp:276
> #2  0x00507765 in qt_connectToServer ()
>     at ../../gnuplot/src/qtterminal/qt_term.cpp:337
> #3  0x00508c8b in qt_graphics ()
>     at ../../gnuplot/src/qtterminal/qt_term.cpp:486
> #4  0x004dfeab in term_start_plot () at ../../gnuplot/src/term.c:502
> #5  0x0043a36e in do_plot (plots=0x2006a758, pcount=pcount@entry=1)
>     at ../../gnuplot/src/graphics.c:522
> #6  0x0045dd90 in eval_plots () at ../../gnuplot/src/plot2d.c:3277
> #7  0x00411150 in command () at ../../gnuplot/src/command.c:615
> #8  do_line () at ../../gnuplot/src/command.c:410
> #9  0x004112bc in com_line () at ../../gnuplot/src/command.c:322
> #10 0x005133ec in main (argc=0, argv=0x22ac1c) at ../../gnuplot/src/plot.c:669
> 
> (gdb) up
> #1  0x00506f76 in qt_connectToServer (server=..., retry=retry@entry=true)
>     at ../../gnuplot/src/qtterminal/qt_term.cpp:276
> 276             QDateTime timeout = QDateTime::currentDateTime().addMSecs(30000);
> (gdb) up
> #2  0x00507765 in qt_connectToServer ()
>     at ../../gnuplot/src/qtterminal/qt_term.cpp:337
> 337             qt_connectToServer(server);
> (gdb) up
> #3  0x00508c8b in qt_graphics ()
>     at ../../gnuplot/src/qtterminal/qt_term.cpp:486
> 486             qt_connectToServer();
> (gdb) up
> #4  0x004dfeab in term_start_plot () at ../../gnuplot/src/term.c:502
> 502             (*term->graphics) ();
> (gdb) up
> #5  0x0043a36e in do_plot (plots=0x2006a758, pcount=pcount@entry=1)
>     at ../../gnuplot/src/graphics.c:522
> 522         term_start_plot();
> 
> 
> ###make (gdb) up
> #7  0x00411150 in command () at ../../gnuplot/src/command.c:615
> 615             (*lookup_ftable(&command_ftbl[0],c_token))();
> (gdb) up
> #8  do_line () at ../../gnuplot/src/command.c:410
> 410             command();
> (gdb) up
> #9  0x004112bc in com_line () at ../../gnuplot/src/command.c:322
> 322         if (do_line())
> (gdb) up
> #10 0x005133ec in main (argc=0, argv=0x22ac1c) at ../../gnuplot/src/plot.c:669
> 669                 while (!com_line())
> (gdb) up
> Initial frame selected; you cannot go up.
> 

I have execute src/gnuplot on gdb

$ gdb src/gnuplot
<snip>

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

        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 7384.0x1424]
[New Thread 7384.0x120c]
[New Thread 7384.0x1720]
Could not start gnuplot_qt with path "/usr/local/gnuplotcvs/libexec/gnuplot/5.0/gnuplot_qt"

Breakpoint 1, qt_connectToServer ()
    at ../../gnuplot/src/qtterminal/qt_term.cpp:310
310             if (!qt)
(gdb) step
309     {
(gdb) step
312             ensureOptionsCreated();
(gdb) step
ensureOptionsCreated () at ../../gnuplot/src/qtterminal/qt_term.cpp:183
183             if (!qt_option)
(gdb) step
185     }
(gdb) step
qt_connectToServer () at ../../gnuplot/src/qtterminal/qt_term.cpp:315
315             bool connectToWidget = !qt_option->Widget.isEmpty();
(gdb) step
isEmpty (this=0x20058b48) at /usr/include/qt4/QtCore/qstring.h:705
705     { return d->size == 0; }
(gdb) step
qt_connectToServer () at ../../gnuplot/src/qtterminal/qt_term.cpp:315
315             bool connectToWidget = !qt_option->Widget.isEmpty();
(gdb) step
316             QString server = connectToWidget ? qt_option->Widget : qt->localServerName;
(gdb) step
QString (other=..., this=0x22a708) at /usr/include/qt4/QtCore/qstring.h:726
726     { Q_ASSERT(&other != this); d->ref.ref(); }
(gdb) step
725     inline QString::QString(const QString &other) : d(other.d)
(gdb) step
726     { Q_ASSERT(&other != this); d->ref.ref(); }
(gdb) step
ref (this=0x6d268118 <cygQtCore-4!_ZN7QString11shared_nullE>)
    at /usr/include/qt4/QtCore/qatomic_i386.h:120
120                      : "memory");
(gdb) step
qt_connectToServer () at ../../gnuplot/src/qtterminal/qt_term.cpp:318
318             if (qt->socket.state() == QLocalSocket::ConnectedState)
(gdb) step
331             if (!connectToWidget && !qt->gnuplot_qtStarted) {
(gdb) step
332                     execGnuplotQt();
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:217
217             QString filename;
(gdb) step
QString (this=0x22a698) at /usr/include/qt4/QtCore/qstring.h:879
879     inline QString::QString() : d(&shared_null) { d->ref.ref(); }
(gdb) step
ref (this=<optimized out>) at /usr/include/qt4/QtCore/qatomic_i386.h:120
120                      : "memory");
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:218
218             char* path = getenv("GNUPLOT_DRIVER_DIR");
(gdb) step
219             if (path)
(gdb) step
226             if (filename.isEmpty())
(gdb) step
isEmpty (this=0x22a698) at /usr/include/qt4/QtCore/qstring.h:705
705     { return d->size == 0; }
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:226
226             if (filename.isEmpty())
(gdb) step
227                     filename = QT_DRIVER_DIR;
(gdb) step
operator= (
    ch=0x557a6c <dashpattern.17706+2220> "/usr/local/gnuplotcvs/libexec/gnuplot/5.0", this=0x22a698) at /usr/include/qt4/QtCore/qstring.h:425
425         { return (*this = fromAscii(ch)); }
(gdb) step
~QString (this=0x22a6b4, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
deref (this=0x200a8990) at /usr/include/qt4/QtCore/qatomic_i386.h:132
132                      : "memory");
(gdb) step
~QString (this=0x22a6b4, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:228
228             filename += "/gnuplot_qt";
(gdb) step
operator+= (s=0x557a96 <dashpattern.17706+2262> "/gnuplot_qt", this=0x22a698)
    at /usr/include/qt4/QtCore/qstring.h:441
441         { return append(QString::fromAscii(s)); }
(gdb) step
~QString (this=0x22a6b8, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
deref (this=0x2009ec40) at /usr/include/qt4/QtCore/qatomic_i386.h:132
132                      : "memory");
(gdb) step
~QString (this=0x22a6b8, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
232             qt->gnuplot_qtStarted = QProcess::startDetached(filename, QStringList(), QString(), &pid);
(gdb) step
QString (this=0x22a6a4) at /usr/include/qt4/QtCore/qstring.h:879
879     inline QString::QString() : d(&shared_null) { d->ref.ref(); }
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:232
232             qt->gnuplot_qtStarted = QProcess::startDetached(filename, QStringList(), QString(), &pid);
(gdb) step
QString (this=0x22a6a4) at ../../gnuplot/src/qtterminal/qt_term.cpp:232
232             qt->gnuplot_qtStarted = QProcess::startDetached(filename, QStringList(), QString(), &pid);
(gdb) step
ref (this=<optimized out>) at /usr/include/qt4/QtCore/qatomic_i386.h:120
120                      : "memory");
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:232
232             qt->gnuplot_qtStarted = QProcess::startDetached(filename, QStringList(), QString(), &pid);
(gdb) step
QStringList (this=0x22a6a0) at ../../gnuplot/src/qtterminal/qt_term.cpp:232
232             qt->gnuplot_qtStarted = QProcess::startDetached(filename, QStringList(), QString(), &pid);
(gdb) step
QList (this=0x22a6a0) at /usr/include/qt4/QtCore/qlist.h:121
121         inline QList() : d(&QListData::shared_null) { d->ref.ref(); }
(gdb) step
ref (this=<optimized out>) at /usr/include/qt4/QtCore/qatomic_i386.h:120
120                      : "memory");
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:232
232             qt->gnuplot_qtStarted = QProcess::startDetached(filename, QStringList(), QString(), &pid);
(gdb) step
~QStringList (this=0x22a6a0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstringlist.h:66
66      class QStringList : public QList<QString>
(gdb) step
QList<QString>::~QList (this=0x22a6a0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qlist.h:729
729     Q_OUTOFLINE_TEMPLATE QList<T>::~QList()
(gdb) step
731         if (!d->ref.deref())
(gdb) step
deref (this=0x6d268074 <cygQtCore-4!_ZN9QListData11shared_nullE>)
    at /usr/include/qt4/QtCore/qatomic_i386.h:132
132                      : "memory");
(gdb) step
QList<QString>::~QList (this=0x22a6a0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qlist.h:731
731         if (!d->ref.deref())
(gdb) step
733     }
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:232
232             qt->gnuplot_qtStarted = QProcess::startDetached(filename, QStringList(), QString(), &pid);
(gdb) step
~QString (this=0x22a6a4, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
deref (this=0x6d268118 <cygQtCore-4!_ZN7QString11shared_nullE>)
    at /usr/include/qt4/QtCore/qatomic_i386.h:132
132                      : "memory");
(gdb) step
~QString (this=0x22a6a4, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:233
233             if (qt->gnuplot_qtStarted)
(gdb) step
236                     qDebug() << "Could not start gnuplot_qt with path" << filename;
(gdb) step
qDebug () at ../../gnuplot/src/qtterminal/qt_term.cpp:236
236                     qDebug() << "Could not start gnuplot_qt with path" << filename;
(gdb) step
QDebug (t=QtDebugMsg, this=0x22a6b0) at /usr/include/qt4/QtCore/qdebug.h:78
78          inline QDebug(QtMsgType t) : stream(new Stream(t)) {}
(gdb) step
Stream (t=QtDebugMsg, this=0x2009ec68) at /usr/include/qt4/QtCore/qdebug.h:67
67              Stream(QtMsgType t) : ts(&buffer, QIODevice::WriteOnly), ref(1), type(t), space(true), message_output(true) {}
(gdb) step
QFlags (f=QIODevice::WriteOnly, this=0x22a6bc)
    at /usr/include/qt4/QtCore/qglobal.h:2312
2312        Q_DECL_CONSTEXPR inline QFlags(Enum f) : i(f) {}
(gdb) step
Stream (t=QtDebugMsg, this=0x2009ec68) at /usr/include/qt4/QtCore/qdebug.h:67
67              Stream(QtMsgType t) : ts(&buffer, QIODevice::WriteOnly), ref(1), type(t), space(true), message_output(true) {}
(gdb) step
QString (this=0x2009ec70) at /usr/include/qt4/QtCore/qstring.h:879
879     inline QString::QString() : d(&shared_null) { d->ref.ref(); }
(gdb)
ref (this=<optimized out>) at /usr/include/qt4/QtCore/qatomic_i386.h:120
120                      : "memory");
(gdb) step
Stream (t=QtDebugMsg, this=0x2009ec68) at /usr/include/qt4/QtCore/qdebug.h:67
67              Stream(QtMsgType t) : ts(&buffer, QIODevice::WriteOnly), ref(1), type(t), space(true), message_output(true) {}
(gdb) step
QDebug (t=QtDebugMsg, this=0x22a6b0) at /usr/include/qt4/QtCore/qdebug.h:78
78          inline QDebug(QtMsgType t) : stream(new Stream(t)) {}
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:236
236                     qDebug() << "Could not start gnuplot_qt with path" << filename;
(gdb) step
operator<< (
    t=0x557aac <dashpattern.17706+2284> "Could not start gnuplot_qt with path", this=0x22a6b0) at /usr/include/qt4/QtCore/qdebug.h:111
111         inline QDebug &operator<<(const char* t) { stream->ts << QString::fromAscii(t); return maybeSpace(); }
(gdb) step
~QString (this=0x22a6c0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
deref (this=0x200ac138) at /usr/include/qt4/QtCore/qatomic_i386.h:132
132                      : "memory");
(gdb) step
~QString (this=0x22a6c0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
operator<< (
    t=0x557aac <dashpattern.17706+2284> "Could not start gnuplot_qt with path", this=0x22a6b0) at /usr/include/qt4/QtCore/qdebug.h:111
111         inline QDebug &operator<<(const char* t) { stream->ts << QString::fromAscii(t); return maybeSpace(); }
(gdb) step
maybeSpace (this=0x22a6b0) at /usr/include/qt4/QtCore/qdebug.h:93
93          inline QDebug &maybeSpace() { if (stream->space) stream->ts << ' '; return *this; }
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:236
236                     qDebug() << "Could not start gnuplot_qt with path" << filename;
(gdb) step
operator<< (t=..., this=0x22a6b0) at /usr/include/qt4/QtCore/qdebug.h:112
112         inline QDebug &operator<<(const QString & t) { stream->ts << '\"' << t  << '\"'; return maybeSpace(); }
(gdb) step
maybeSpace (this=0x22a6b0) at /usr/include/qt4/QtCore/qdebug.h:93
93          inline QDebug &maybeSpace() { if (stream->space) stream->ts << ' '; return *this; }
(gdb) step
236                     qDebug() << "Could not start gnuplot_qt with path" << filename;
(gdb) step
~QDebug (this=0x22a6b0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qdebug.h:82
82              if (!--stream->ref) {
(gdb) step
83                  if(stream->message_output) {
(gdb) step
85                          qt_message_output(stream->type, stream->buffer.toLocal8Bit().data());
(gdb) step
data (this=<optimized out>) at /usr/include/qt4/QtCore/qdebug.h:85
85                          qt_message_output(stream->type, stream->buffer.toLocal8Bit().data());
(gdb) step
detach (this=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:436
436     { if (d->ref != 1 || d->data != d->array) realloc(d->size); }
(gdb) step
~QDebug (this=0x22a6b0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qdebug.h:85
85                          qt_message_output(stream->type, stream->buffer.toLocal8Bit().data());
(gdb) step
data (this=0x22a6c4) at /usr/include/qt4/QtCore/qdebug.h:85
85                          qt_message_output(stream->type, stream->buffer.toLocal8Bit().data());
(gdb) step
detach (this=0x22a6c4) at /usr/include/qt4/QtCore/qdebug.h:85
85                          qt_message_output(stream->type, stream->buffer.toLocal8Bit().data());
(gdb) step
operator!= (value=1, this=0x200ac240)
    at /usr/include/qt4/QtCore/qbasicatomic.h:75
75              return _q_value != value;
(gdb) step
detach (this=0x22a6c4) at /usr/include/qt4/QtCore/qbytearray.h:436
436     { if (d->ref != 1 || d->data != d->array) realloc(d->size); }
(gdb) step
85                          qt_message_output(stream->type, stream->buffer.toLocal8Bit().data());
(gdb) step
Could not start gnuplot_qt with path "/usr/local/gnuplotcvs/libexec/gnuplot/5.0/gnuplot_qt"
~QByteArray (this=0x22a6c4, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qbytearray.h:401
401     inline QByteArray::~QByteArray() { if (!d->ref.deref()) qFree(d); }
(gdb) step
deref (this=0x200ac240) at /usr/include/qt4/QtCore/qatomic_i386.h:132
132                      : "memory");
(gdb) step
~QByteArray (this=0x22a6c4, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qbytearray.h:401
401     inline QByteArray::~QByteArray() { if (!d->ref.deref()) qFree(d); }
(gdb) step
0x00506ec3 in ~QByteArray (this=<optimized out>, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qbytearray.h:401
401     inline QByteArray::~QByteArray() { if (!d->ref.deref()) qFree(d); }
(gdb) step
~QDebug (this=0x22a6b0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qdebug.h:88
88                  delete stream;
(gdb) step
~Stream (this=0x2009ec68, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qdebug.h:88
88                  delete stream;
(gdb) step
~QString (this=0x2009ec70, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
deref (this=0x200ac138) at /usr/include/qt4/QtCore/qatomic_i386.h:132
132                      : "memory");
(gdb) step
~QString (this=0x2009ec70, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
~Stream (this=0x2009ec68, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qdebug.h:64
64          struct Stream {
(gdb) step
~QDebug (this=0x22a6b0, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qdebug.h:88
88                  delete stream;
(gdb) step
~QString (this=0x22a698, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
deref (this=0x200ac000) at /usr/include/qt4/QtCore/qatomic_i386.h:132
132                      : "memory");
(gdb) step
~QString (this=0x22a698, __in_chrg=<optimized out>)
    at /usr/include/qt4/QtCore/qstring.h:880
880     inline QString::~QString() { if (!d->ref.deref()) free(d); }
(gdb) step
execGnuplotQt () at ../../gnuplot/src/qtterminal/qt_term.cpp:237
237     }
(gdb) step
qt_connectToServer () at ../../gnuplot/src/qtterminal/qt_term.cpp:333
333                     server = qt->localServerName;
(gdb) step
337             qt_connectToServer(server);
(gdb) step

Breakpoint 1, qt_connectToServer (server=..., retry=retry@entry=true)
    at ../../gnuplot/src/qtterminal/qt_term.cpp:269
269     {
(gdb) step
276             QDateTime timeout = QDateTime::currentDateTime().addMSecs(30000);
(gdb) step
269     {
(gdb) step
270             ensureOptionsCreated();
(gdb) step
ensureOptionsCreated () at ../../gnuplot/src/qtterminal/qt_term.cpp:183
183             if (!qt_option)
(gdb) step
185     }
(gdb) step
qt_connectToServer (server=..., retry=retry@entry=true)
    at ../../gnuplot/src/qtterminal/qt_term.cpp:271
271             bool connectToWidget = (server != qt->localServerName);
(gdb) step
operator!= (s=..., this=0x22a708) at /usr/include/qt4/QtCore/qstring.h:406
406         inline bool operator!=(const QString &s) const { return !operator==(s); }
(gdb) step
qt_connectToServer (server=..., retry=retry@entry=true)
    at ../../gnuplot/src/qtterminal/qt_term.cpp:271
271             bool connectToWidget = (server != qt->localServerName);
(gdb) step
operator!= (s=..., this=0x22a708) at /usr/include/qt4/QtCore/qstring.h:406
406         inline bool operator!=(const QString &s) const { return !operator==(s); }
(gdb) step
qt_connectToServer (server=..., retry=retry@entry=true)
    at ../../gnuplot/src/qtterminal/qt_term.cpp:276
276             QDateTime timeout = QDateTime::currentDateTime().addMSecs(30000);
(gdb) step
271             bool connectToWidget = (server != qt->localServerName);
(gdb) step
operator!= (s=..., this=0x22a708) at /usr/include/qt4/QtCore/qstring.h:406
406         inline bool operator!=(const QString &s) const { return !operator==(s); }
(gdb) step
qt_connectToServer (server=..., retry=retry@entry=true)
    at ../../gnuplot/src/qtterminal/qt_term.cpp:276
276             QDateTime timeout = QDateTime::currentDateTime().addMSecs(30000);
(gdb) step

Program received signal SIGSEGV, Segmentation fault.
0x6d10602a in cygQtCore-4!_ZN9QDateTimeD2Ev () from /usr/bin/cygQtCore-4.dll
(gdb) bt
#0  0x6d10602a in cygQtCore-4!_ZN9QDateTimeD2Ev ()
   from /usr/bin/cygQtCore-4.dll
#1  0x00507056 in qt_connectToServer (server=..., retry=retry@entry=true)
    at ../../gnuplot/src/qtterminal/qt_term.cpp:276
#2  0x00507845 in qt_connectToServer ()
    at ../../gnuplot/src/qtterminal/qt_term.cpp:337
#3  0x00508d6b in qt_graphics ()
    at ../../gnuplot/src/qtterminal/qt_term.cpp:486
#4  0x004dff8b in term_start_plot () at ../../gnuplot/src/term.c:502
#5  0x0043a3fe in do_plot (plots=0x2006a5a8, pcount=pcount@entry=1)
    at ../../gnuplot/src/graphics.c:522
#6  0x0045de60 in eval_plots () at ../../gnuplot/src/plot2d.c:3277
#7  0x00411150 in command () at ../../gnuplot/src/command.c:615
#8  do_line () at ../../gnuplot/src/command.c:410
#9  0x004112bc in com_line () at ../../gnuplot/src/command.c:322
#10 0x005134cc in main (argc=0, argv=0x22ac1c) at ../../gnuplot/src/plot.c:669
(gdb) up
#1  0x00507056 in qt_connectToServer (server=..., retry=retry@entry=true)
    at ../../gnuplot/src/qtterminal/qt_term.cpp:276
276             QDateTime timeout = QDateTime::currentDateTime().addMSecs(30000);
(gdb) up
#2  0x00507845 in qt_connectToServer ()
    at ../../gnuplot/src/qtterminal/qt_term.cpp:337
337             qt_connectToServer(server);
(gdb) up
#3  0x00508d6b in qt_graphics ()
    at ../../gnuplot/src/qtterminal/qt_term.cpp:486
486             qt_connectToServer();
(gdb) up
#4  0x004dff8b in term_start_plot () at ../../gnuplot/src/term.c:502
502             (*term->graphics) ();
(gdb) up
#5  0x0043a3fe in do_plot (plots=0x2006a5a8, pcount=pcount@entry=1)
    at ../../gnuplot/src/graphics.c:522
522         term_start_plot();
(gdb) up
#6  0x0045de60 in eval_plots () at ../../gnuplot/src/plot2d.c:3277
3277            do_plot(first_plot, plot_num);
(gdb) up
#7  0x00411150 in command () at ../../gnuplot/src/command.c:615
615             (*lookup_ftable(&command_ftbl[0],c_token))();
(gdb) up
#8  do_line () at ../../gnuplot/src/command.c:410
410             command();
(gdb) up
#9  0x004112bc in com_line () at ../../gnuplot/src/command.c:322
322         if (do_line())
(gdb) up
#10 0x005134cc in main (argc=0, argv=0x22ac1c) at ../../gnuplot/src/plot.c:669
669                 while (!com_line())
(gdb) up
Initial frame selected; you cannot go up.


Any suggestions?

Regareds

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]