Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330044 - eclipse CDT crashes when using gnuplot pipe
Summary: eclipse CDT crashes when using gnuplot pipe
Status: RESOLVED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 16:23 EST by Johannes Kern CLA
Modified: 2010-11-11 16:57 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Kern CLA 2010-11-11 16:23:38 EST
I'm using the minGW compiler with cdt on Windows 7 x64 OS. When I try to open the gnuplot pipe, I get an APPCRASH error of the exe file. Everything works fine when I run the same code in Code::Blocks. Can anyone help me with that problem?

My main mehtod looks like the following.

     #include <stdio.h>
     #include <stdlib.h>
     #define GNUPLOT "pgnuplot -persist"

     int main(int argc, char **argv)
     {
        // Open a pipe to gnuplot
        FILE *gnuplotPipe = popen(GNUPLOT,"w");

        return 0;
       }
Comment 1 Andrew Gvozdev CLA 2010-11-11 16:40:13 EST
Does eclipse crash or your program?
Comment 2 Johannes Kern CLA 2010-11-11 16:49:33 EST
(In reply to comment #1)
> Does eclipse crash or your program?


It's my program that crashes.
Comment 3 Andrew Gvozdev CLA 2010-11-11 16:57:39 EST
This bugzilla is for reporting bugs in CDT itself not for finding bugs in user code or troubleshooting user issues. You need to find appropriate forum. I would look for some forum related to unix programming with gcc.