Page 1 of 2

Trap 25 on start

Posted: Fri May 08, 2020 10:58 am
by Bernhard
Since today, I cannot start Blackbox anymore In my (restricted) work environment and I get a Trap 25, see attached Trap Window:
Trap-25.jpg
Trap-25.jpg (69.14 KiB) Viewed 13827 times

Re: Trap 25 on start

Posted: Fri May 08, 2020 11:31 am
by Robert
TRAP 25 is

Code: Select all

ASSERT(pl < pr, 25);
which, presumably, wants the page left to be less than the page right (margin or paper size ???).

Does your installation automatically open any documents on startup that can be (temporarily) moved?

Re: Trap 25 on start

Posted: Fri May 08, 2020 11:38 am
by Bernhard
no, it does not try to open any document (except the log viewer ofcourse).
The strange thing is that this occured over night without any clear changes in between.

Re: Trap 25 on start

Posted: Fri May 08, 2020 11:39 am
by Robert
All I can suggest is down loading a fresh copy and trying that.

Re: Trap 25 on start

Posted: Fri May 08, 2020 11:57 am
by Bernhard
forgot to say: I am still using 1.7.1 (since I have to apply for freeing Blackbox from being locked out by AppLocker).

Re: Trap 25 on start

Posted: Fri May 08, 2020 12:08 pm
by Robert
Youy can down load a fresh version of 1.7.1 from http://blackboxframework.org/index.php? ... page,en-us to check if your version has somehow got corrupted.

Re: Trap 25 on start

Posted: Fri May 08, 2020 2:39 pm
by Bernhard
Robert wrote:All I can suggest is down loading a fresh copy and trying that.
I tried running from a freshly downloaded and unpacked 1.7.1 zip, but this does not change anything. Still trapping. Very strange.

Re: Trap 25 on start [solved]

Posted: Fri May 08, 2020 2:52 pm
by Bernhard
I started reading in System/Mod/Documents.odc and noticed that StdDocuments.SetView reads stuff and uses it from some kind of printer configuration. So I reset the default printer to "MS Print to PDF" and now Blackbox starts again. Maybe this helps somebody else ...

Re: Trap 25 on start

Posted: Sat May 09, 2020 11:22 am
by Josef Templ
After starting successfully, what happens if you select the printer that was in use when it did not start successfully abd try to print something?
Maybe you can get a more informative stack dump then to see what is going in.

- Josef

Re: Trap 25 on start

Posted: Sat May 09, 2020 11:53 am
by Bernhard
hmm, the problem is/was that I was not able to determine, which was the current default when the error occured and it was due to corona a virtual machine via RDP connected to an USB WinToGo stick booted locally. The local BB on the WinToGo stick had no problem, only the BB on the remote virtual machine.

Update: no success, this appears to be an unreproducible error. I tried setting all available printers as default, but in no case BB trapped.

-- Bernhard