Access violation on scaled shapes

Paul Boyd

Member
Location
Loughborough, UK
Hi Martin

Definitely found a bug this time, although it might be a bgs/sk81/bgs3 problem. I've attached the relevant files - I had to zip them as .sk82 isn't an allowed file type. I can replicate the problem as follows:-
  1. Open Templot (no need for any templates)
  2. Open the shapes window and load the shapes file
  3. Modify all
  4. Scale all by 50% (This gives the correct results on the screen)
  5. File => 'save all' produces the access violation error in the attached screenshot. The shapes file is saved as bgs3, but the embedded images aren't in that file.
If I try to save again, the error changes to Out of Memory.

Am I trying to do something I shouldn't be doing? You can see from the filename that the shapes file I'm using is getting on a bit!

Cheers,
Paul
 

Attachments

  • violation.PNG
    violation.PNG
    165 KB · Views: 17
  • shotley_south_quay_13_01_11_1951_02.zip
    2 MB · Views: 15
_______________
message ref: 3992

Martin Wynne

Admin
Location
West of the Severn UK
Info
.
Enjoy using Templot?
Thanks.

Please do not send requests for help direct to me via email.

Post your questions on the forum where everyone can see them and add
helpful replies.
@Paul Boyd

Hi Paul,

Thanks for finding that.

Surprisingly, the problem is not the 2 large images -- it's the 2 turntable circles. I removed them and it saves as BGS3 fine.

Attached below.

p.s. after "Out of Memory" you need to restart Templot to get everything working properly again.

So now I need to nail what's causing that. :confused:

Thanks for the report.

p.s. I have added sk82, sk83, sk84 to the allowed attachments.

cheers,

Martin.
 

Attachments

  • paul_mod.bgs3
    3.7 MB · Views: 14
_______________
message ref: 3993

Martin Wynne

Admin
Location
West of the Severn UK
Info
.
Enjoy using Templot?
Thanks.

Please do not send requests for help direct to me via email.

Post your questions on the forum where everyone can see them and add
helpful replies.
So now I need to nail what's causing that. :confused:

Hi Paul,

The problem was the age of the BGS file -- an old bug in there (uninitialised field, not converting to BGS3).

Fixed in the next program update.

cheers,

Martin.
 
_______________
message ref: 3994

Paul Boyd

Member
Thread starter
Location
Loughborough, UK
Hi Paul,

The problem was the age of the BGS file -- an old bug in there (uninitialised field, not converting to BGS3).

Fixed in the next program update.

cheers,

Martin.
Thanks Martin! I hadn’t even noticed that the turntables had gone! I also assumed it was related to the images, bit it’s probably a relief to you that it isn’t!

Thanks also for the attached bgs3 file.

The background to this is that I’ve been a member of the 2mm Scale Association for some time to give me access to bits and pieces for my 4mm scale narrow gauge stuff. I seem to be also getting drawn into modelling in 2FS so I’m revisiting some of my (old) P4 plans which may be feasible now that they would take up so much less space. N gauge models these days are so much better than they used to be! (Quietly ignoring the 2FS/ N gauge scale difference for now!)

Cheers,
Paul
 
_______________
message ref: 3996
Top