Re: 1.5.24-2: zero-length write() and ioctl() on fd -1 cause crashes

2007-10-04 Thread Lewis Hyatt
i can remove the method call, too. this also crashes: extern "C" JNIEXPORT void JNICALL Java_terminator_terminal_PtyProcess_sendResizeNotification(JNIEnv* env, jobject instance, jobject a0, jobject a1) { try { throw std::exception(); } catch (const std::exception& ex) { } }

Re: 1.5.24-2: zero-length write() and ioctl() on fd -1 cause crashes

2007-10-04 Thread Elliott Hughes
On Thu, October 4, 2007 16:33, Lewis Hyatt wrote: >> $ cat ex.cpp >> #include >> int main() { try { throw new std::exception(); } catch (const >> std::exception& ex) { >> return 1; } >> return 0; } >> > > You are throwing a pointer and trying to catch a reference, so the > exception never gets cau

Re: 1.5.24-2: zero-length write() and ioctl() on fd -1 cause crashes

2007-10-04 Thread Lewis Hyatt
$ cat ex.cpp #include int main() { try { throw new std::exception(); } catch (const std::exception& ex) { return 1; } return 0; } You are throwing a pointer and trying to catch a reference, so the exception never gets caught at all, which causes the program to abort. You should should

Re: 1.5.24-2: zero-length write() and ioctl() on fd -1 cause crashes

2007-10-04 Thread Elliott Hughes
On Wed, September 19, 2007 02:09, Corinna Vinschen wrote: > On Sep 18 11:54, Elliott Hughes wrote: > >> http://software.jessies.org/terminator/ uses Cygwin to provide >> Windows support, and it's been most useful. i just thought i'd >> mention a couple of things that caused crashes in cygwin1.dll 1

Re: 1.5.24-2: zero-length write() and ioctl() on fd -1 cause crashes

2007-09-19 Thread Corinna Vinschen
Elliot, On Sep 18 11:54, Elliott Hughes wrote: > http://software.jessies.org/terminator/ uses Cygwin to provide > Windows support, and it's been most useful. i just thought i'd > mention a couple of things that caused crashes in cygwin1.dll > 1.5.24-2 where that might not have been Cygwin's

1.5.24-2: zero-length write() and ioctl() on fd -1 cause crashes

2007-09-18 Thread Elliott Hughes
http://software.jessies.org/terminator/ uses Cygwin to provide Windows support, and it's been most useful. i just thought i'd mention a couple of things that caused crashes in cygwin1.dll 1.5.24-2 where that might not have been Cygwin's intent (in both cases the application's skating on thi