Custom Query (95 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 95)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#119 fixed Undefined behavior in img.c Olly Betts Matěj Plch
Description

Hi, therion uses img.h and img.c, and when I compile and run therion with Undefined Behavior Sanitizer, this error appears:

UndefinedBehaviorSanitizer: undefined-behavior
../extern/img.c:103:27: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'

Problem is in function get32(), where shifting of signed value by 24 bits interferes with a sign bit. Bitwise operations should be done with unsigned types.

Therion CI job where this error occured: https://github.com/Afforix/therion/runs/2025117514?check_suite_focus=true.

#61 fixed Units option on *calibrate Olly Betts Andrew
Description

Currently the calibrate adjusts for the offset then multiplies by the scale factor, which works for a stretched tape with the end missing *calibrate tape 0.05 0.752

But of things like mounting a DistoX in a waterproof case the offset will be measured with another device so will not want scaling

Suggestion is to allow the addition of units to the offset if the scale factor should not be applied, this should allow the original format to continue to work while adding functionality.

if not units

real = ( reading - offset) * scale

If units eg *calibrate tape -0.05m 0.752

real = reading * scale - offset
#75 fixed Problem processing .svx files with aven Olly Betts Alan Gray
Description

Hi

I have been successfully using Survex for many years – a fantastic piece of software.

After completing a partial re-survey of Upper Canada Cave (Mendip, UK) yesterday I created the text file as usual and renamed it with the .svx extension. I decided to see if there was an update of the Survex software and I updated from release 1.2.23 to 1.2.24. Right clicked in the Upper Canada Cave.svx file and the Aven screen was displayed with normal headings but with a white screen where the line survey should be. No Log File, 3D file or Error files were created.

I tried viewing one of my old 3D files in Aven (UCC.3D) and it worked perfectly; however when I tried to Process the old data file (UCC.svx) the same error occurred as detailed in the paragraph above.

I then removed Survex 1.2.24 from my computer and reinstalled 1.2.23 but the same error occurred as detailed in the paragraph above.

Please could you let me know how to fix this as I would dearly like to see the results of yesterdays survey. Something stupid that I have, or have not done I’m sure.

Many thanks

Alan Gray

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.