forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Access violation with utf8_enabled in ClearWin in release

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
Ryan



Joined: 25 Feb 2016
Posts: 110

PostPosted: Sun Jun 16, 2019 2:55 pm    Post subject: Access violation with utf8_enabled in ClearWin in release Reply with quote

On a specific call to DRAW_CHARACTERS@ in 64 bit release mode (no debug) we receive the error below. 32 bit release, 32 bit debug and 64 bit debug all behave properly though.

I've tried logging the data being passed to a file and it looks perfectly fine. It's the same data as has been passed previously.

How can I find out what is causing this?

Silverfrost 64-bit exception report on C:\xxxx_64Bit_Release.exe Sun Jun 16 14:21:48 2019


Access violation (c0000005) at address 7ffacff8a216

Within file CLEARWIN64.DLL
In utf8_enabled at address 716
In _win_draw_text_ll at address 219
In _win_draw_text_l at address 26
Within file xxxx_64Bit_Release.exe
in DRAW_TEXT at address 1a6
in SETUP3VIEW at address 914
in RUN_PROBLEM at address 7d1
in MAINPR at address 259a0
in RUN at address 6e6
in ALL3VIEW_CALLBACK at address 68
Within file CLEARWIN64.DLL
In _set_mg_return_value at address 5CF2


RAX = 0000000000000000 RBX = 0000000000000007 RCX = 000000003b8faf30 RDX = 0000000000000008
RBP = 0000000000000008 RSI = 000000027ffeeff0 RDI = 000000027ffeeff0 RSP = 0000000002783140
R8 = 0000000000000008 R9 = 000000027ffeeff0 R10 = 0000000008c20000 R11 = 000000000000371c
R12 = 0000000000000008 R13 = 000000000b01371c R14 = 0000000000000008 R15 = 0000000000000008

7ffacff8a216) test_b [3dc+RCX],20
Back to top
View user's profile Send private message
John-Silver



Joined: 30 Jul 2013
Posts: 1520
Location: Aerospace Valley

PostPosted: Tue Jun 25, 2019 9:52 pm    Post subject: Reply with quote

I've never understood why these 'Access Violation' Erors and suchlike are so difficult to track down.

what the user really needs is the line number where the error occurs (analagous to compile syntax errors) not 'adresses' within routines which are only decipherable ìfor 0.0000000001 % of the user population !

It's like emergency services getting a call about a car crash:

'stay calm, stay calm sir, now and where exactly did the crash occur sir ?'
'ah I see , on a road, and where is this road sir ?'
'ah right, somewhere in London .... don't worry sir we'll be there in no time'
' what type of vehicle is it involved sir ?'
'ah tright, ones with 4 wheels'

Why is this so difficult a task for programmers ?
_________________
''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... Smile "
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group