Trap 25 on start

Bernhard
Posts: 68
Joined: Tue Sep 17, 2013 6:56 am
Location: Munich, Germany

Trap 25 on start

Post 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 4212 times
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: Trap 25 on start

Post 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?
Bernhard
Posts: 68
Joined: Tue Sep 17, 2013 6:56 am
Location: Munich, Germany

Re: Trap 25 on start

Post 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.
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: Trap 25 on start

Post by Robert »

All I can suggest is down loading a fresh copy and trying that.
Bernhard
Posts: 68
Joined: Tue Sep 17, 2013 6:56 am
Location: Munich, Germany

Re: Trap 25 on start

Post 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).
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: Trap 25 on start

Post 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.
Bernhard
Posts: 68
Joined: Tue Sep 17, 2013 6:56 am
Location: Munich, Germany

Re: Trap 25 on start

Post 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.
Bernhard
Posts: 68
Joined: Tue Sep 17, 2013 6:56 am
Location: Munich, Germany

Re: Trap 25 on start [solved]

Post 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 ...
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: Trap 25 on start

Post 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
Bernhard
Posts: 68
Joined: Tue Sep 17, 2013 6:56 am
Location: Munich, Germany

Re: Trap 25 on start

Post 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
Post Reply