-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
First off, thanks for this library. Awesome project!
I'm seeing a consistent hang when using gnuplot-iostream on Windows, and was hoping you could point me in the right direction to resolve it. These tend to happen when the command is very large (thousands of lines). I attached the debugger, and noticed that it stalls inside some deep boost::iostreams method, not sure if this will mean much to you:
template<>
struct write_device_impl<output> {
template<typename T>
static bool put(T& t, typename char_type_of<T>::type c)
{ return t.write(&c, 1) == 1; }
template<typename T>
static std::streamsize
write(T& t, const typename char_type_of<T>::type* s, std::streamsize n)
{ return t.write(s, n); }
};
This is in boost\iostreams\write.hpp, and that last t.write(s,n) call is where it seems to always hang. I tried the exact same code on Linux, and it works fine (plot takes 2 secs to generate). Any pointer will be incredibly helpful. Thank you!
Metadata
Metadata
Assignees
Labels
No labels