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 

Search found 95 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Checking latest version of simdem64.dll
Ryan

Replies: 2
Views: 370

PostForum: 64-bit   Posted: Mon Oct 19, 2020 7:11 pm   Subject: Checking latest version of simdem64.dll
I have simdem64.dll dated 20th Jan 2020 (10,698 bytes). Is this the latest version?

I ask because my colleague has had a runtime error about missing functions in simdem64.dll and that's the version ...
  Topic: Access Violation in C++, address variable changes
Ryan

Replies: 4
Views: 492

PostForum: 64-bit   Posted: Wed Sep 30, 2020 12:14 pm   Subject:
Understood. They work, but old code so I'm loathe to touch them. I'll see if there is an alternate approach to templates.

Thanks Paul
  Topic: Access Violation in C++, address variable changes
Ryan

Replies: 4
Views: 492

PostForum: 64-bit   Posted: Wed Sep 30, 2020 10:55 am   Subject:
Nothing so simple, it's a Template (below, reduced for simplicity).


template <class Type>
class database {
public:
database(int);
int the_number;
private:
T ...
  Topic: Access Violation in C++, address variable changes
Ryan

Replies: 4
Views: 492

PostForum: 64-bit   Posted: Tue Sep 29, 2020 9:14 pm   Subject: Access Violation in C++, address variable changes
An odd bug where a guard clause around a loop causes the code work. Without it we get an access violation. I did not report this when I first found it as I managed to work around it using the below bu ...
  Topic: Unable to set breakpoint when using checkmate
Ryan

Replies: 15
Views: 1979

PostForum: 64-bit   Posted: Sun Sep 27, 2020 4:07 pm   Subject:
Thank you Paul. I've only just seen this.
  Topic: Unable to set breakpoint when using checkmate
Ryan

Replies: 15
Views: 1979

PostForum: 64-bit   Posted: Sat Aug 15, 2020 1:28 pm   Subject:
Please ignore the bad code. It is a bodged example. It does demonstrate though that the error line is not stopped, just a break at the end of the function. In large functions (of which we have quite a ...
  Topic: Unable to set breakpoint when using checkmate
Ryan

Replies: 15
Views: 1979

PostForum: 64-bit   Posted: Sat Aug 15, 2020 12:45 pm   Subject: Minimal reproduction
I've managed to isolate it to the point that the inclusion of an IF statement causes the ability to debug via breakpoint to disappear when using /CHECKMATE.


! Compiling with this does not allow b ...
  Topic: Unable to set breakpoint when using checkmate
Ryan

Replies: 15
Views: 1979

PostForum: 64-bit   Posted: Fri Aug 14, 2020 1:02 pm   Subject:
Yep, as I said at the top, it goes away without those options and breakpointing works.
  Topic: Unable to set breakpoint when using checkmate
Ryan

Replies: 15
Views: 1979

PostForum: 64-bit   Posted: Fri Aug 14, 2020 12:53 pm   Subject:
The reason I think that is because it varies from one function to the next, some have no ability to set breakpoints (nor an indicator in the 1st column) except for the last line and some are fine.

...
  Topic: Unable to set breakpoint when using checkmate
Ryan

Replies: 15
Views: 1979

PostForum: 64-bit   Posted: Fri Aug 14, 2020 12:23 pm   Subject:
I wasn't aware of those links, thank you.

That hasn't solved the problem though.

I will try reducing it down to the function that I cannot breakpoint and let you know.

I do worry that because ...
  Topic: Unable to set breakpoint when using checkmate
Ryan

Replies: 15
Views: 1979

PostForum: 64-bit   Posted: Fri Aug 14, 2020 11:56 am   Subject:
Sorry for the extremely slow reply.

The debugger is launched using sdbg64 name.exe from the command line.

It self identifies via the help / about popup as 'Win64 version 8.62'.

The compiler i ...
  Topic: Unable to set breakpoint when using checkmate
Ryan

Replies: 15
Views: 1979

PostForum: 64-bit   Posted: Tue Jun 16, 2020 5:41 pm   Subject: Unable to set breakpoint when using checkmate
I've started to put the /checkmate option into my debug builds but I've had to back it out for the moment as when I specify it I lose the ability to breakpoint 'some' functions.

The only option is ...
  Topic: Difference in behaviour between 32/64 bit with fopen
Ryan

Replies: 12
Views: 2972

PostForum: 64-bit   Posted: Wed Apr 15, 2020 3:22 pm   Subject:
It's the same code in both situations and they both call fclose before attempting to open it again.

It could be me, but at the moment the only thing I can see different is the file attributes not b ...
  Topic: Difference in behaviour between 32/64 bit with fopen
Ryan

Replies: 12
Views: 2972

PostForum: 64-bit   Posted: Wed Apr 15, 2020 3:05 pm   Subject:
Later on in the code the file is closed, then opened again for write.

In 32 bit this works.

In 64 bit the file handle is not released and the open for write fails.

Using procmon.exe I can see ...
  Topic: Difference in behaviour between 32/64 bit with fopen
Ryan

Replies: 12
Views: 2972

PostForum: 64-bit   Posted: Wed Apr 15, 2020 2:00 pm   Subject:
What I meant by 'called from Fortran' is that the Fortran code calls a routine in C which then calls fopen.

This uses the definition from include\stdio.h
FILE *fopen(const char *filename, const c ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group