Issue2258

classification
Title: StackOverflowError stacktrace is eaten up by Jython
Type: behaviour Severity: minor
Components: Core Versions: Jython 2.7
Milestone: Jython 2.7.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: doublep, zyasoft
Priority: Keywords:

Created on 2015-01-19.10:50:27 by doublep, last changed 2015-12-29.23:43:35 by zyasoft.

Messages
msg9424 (view) Author: (doublep) Date: 2015-01-19.10:50:26
I had a bug in Java code that resulted in a stack overflow. However, this code was called from Jython, so the only message I received was "maximum recursion depth exceeded", with all further information silently removed. To understand what was going on, I had to catch StackOverflowError in Java code and print it.

Request: Jython should print the stacktrace in StackOverflowError, at least when it comes from Java code.
msg9427 (view) Author: Jim Baker (zyasoft) Date: 2015-01-19.16:43:03
It's a good idea. For now, maybe try in your Python code:

org.python.core.Options.showJavaExceptions = True
History
Date User Action Args
2015-12-29 23:43:35zyasoftsetmilestone: Jython 2.7.1 -> Jython 2.7.2
2015-04-20 21:12:26zyasoftsetmilestone: Jython 2.7.1
versions: + Jython 2.7, - Jython 2.5
2015-01-19 16:43:03zyasoftsetnosy: + zyasoft
messages: + msg9427
2015-01-19 10:50:27doublepcreate