Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.iso-c++ > #1958
| From | Stefan Reuther <stefan.news@arcor.de> |
|---|---|
| Newsgroups | de.comp.lang.iso-c++ |
| Subject | Re: Exception mit Durchfall? |
| Date | 2016-11-20 11:18 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <o0s0q8.2so.1@stefan.msgid.phost.de> (permalink) |
| References | <o0mvct$30v$1@news2.open-news-network.org> |
Am 18.11.2016 um 14:23 schrieb Edzard Egberts:
> Funktioniert nicht - im Debugfenster sehe ich zwar eine Ausgabe, dass
> die OpenCV eine Exception geworfen hat, die wird aber nicht vollständig
> abgefangen:
>
> Unter Linux beendet das Programm kommentarlos, unter Windows erscheint
> die Message_Error() aus dem catch-Zweig und ein Fenster "Microsoft
> Visual C++ Runtime Library" "This application has requested the runtime
> to terminate in an unusual way". Das erscheint mir widersprüchlich.
Das klingt, als ob irgendwo mittendrin 'abort', wahrscheinlich ausgelöst
von 'terminate', aufgerufen wird. Dass das unter Linux kommentarlos
wegfliegt, könnte an restriktiv eingestellten ulimits liegen.
Hast du schon mal einen Debugger drangehängt? Wenn der dich (unter
Linux) nicht direkt mit der Nase draufstößt ("Programm von SIGABRT
angehalten, hier ist der Backtrace"), setze einen Breakpoint auf
__cxa_throw, das ist die Library-Funktion fürs Exception-Werfen.
Blind raten würde ich, dass da irgendwo ein Destruktor rumhängt, der
wieder eine Exception wirft.
Stefan
Back to de.comp.lang.iso-c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Exception mit Durchfall? Edzard Egberts <news@edzeg.net> - 2016-11-18 14:23 +0100
Re: Exception mit Durchfall? Stefan Reuther <stefan.news@arcor.de> - 2016-11-20 11:18 +0100
Re: Exception mit Durchfall? Edzard Egberts <news@edzeg.net> - 2016-11-23 13:11 +0100
Re: Exception mit Durchfall? Stefan Reuther <stefan.news@arcor.de> - 2016-11-24 19:15 +0100
Re: Exception mit Durchfall? Edzard Egberts <news@edzeg.net> - 2016-11-25 08:11 +0100
Re: Exception mit Durchfall? Stefan Reuther <stefan.news@arcor.de> - 2016-11-25 18:07 +0100
Re: Exception mit Durchfall? Edzard Egberts <news@edzeg.net> - 2016-11-28 08:21 +0100
Re: Exception mit Durchfall? Stefan Reuther <stefan.news@arcor.de> - 2016-11-28 17:49 +0100
csiph-web