Board Logo
« Data Execution Prevention jbasic »

Welcome Guest. Please Login or Register.
Oct 17th, 2017, 3:16pm


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Problems installing JB? Read the Vista/Win7 Installation FAQ

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Data Execution Prevention jbasic  (Read 394 times)
tooanalytical
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1739
xx Data Execution Prevention jbasic
« Thread started on: Jul 7th, 2017, 11:55pm »

Titlebar in the error warning says, smalltalk/V;

"a non-continuable protection violation has occurred. Check error.log."

Than another box said jbasic.exe has stopped working...

The installation of version 1.01 has been on this machine and has been working well for over 6 years. Maybe even 9 years.

User IP Logged

tooanalytical
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1739
xx Re: Data Execution Prevention jbasic
« Reply #1 on: Jul 8th, 2017, 12:01am »

Notification also appeared in the tasktray as a message saying Data Execution prevented jbasic...., exact words after I cannot remember.


The error log file contents............


--



Error log timestamp Wednesday 07/02/14 09:29:58 PM

Runtime error: "isEmpty" not understood

MessageNotUnderstood>>grinefaultAction
MessageNotUnderstood(Exception)>>activateHandler: <anUndefinedObject>
MessageNotUnderstood(Exception)>>handle
MessageNotUnderstood(Exception)>>signal
MessageNotUnderstood class>>message: <aMessage>
UndefinedObject(Object)>>grinoesNotUnderstand: <aMessage>
BasicProgramDebug(BasicProgram)>>terminateRun: <aMessageNotUnderstood>
[] in BasicProgram>>errorHandlerBlock
ExceptionHandler>>evaluateResponseBlock: <aBlockClosure> for: <aMessageNotUnderstood>
[] in ExceptionHandler>>handle:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>invisibleEnsure: <aBlockClosure>
ExceptionHandler>>handle: <aMessageNotUnderstood>
ExceptionHandler>>findHandler: <aMessageNotUnderstood>
MessageNotUnderstood(Exception)>>activateHandler: <anExceptionHandler>
MessageNotUnderstood(Exception)>>handle
MessageNotUnderstood(Exception)>>signal
MessageNotUnderstood class>>message: <aMessage>
UndefinedObject(Object)>>grinoesNotUnderstand: <aMessage>
LibTextEditor(BasicTextDevice)>>interpret: <anArray>
LibTextEditor(BasicTextDevice)>>writeItemCr: <'!insert obscure$'>
LibTextDevicePane>>writeItemCr: <'!insert obscure$'>
[] in PrintCommand>>grineviceCr:handle:
BlockClosure>>value: <aBasicProgramDebug> value: <'#main.textedit1'> value: <aBasicStringContext>
BasicTripleParameterContextHolder>>value
[] in BasicProgramDebug>>begin
ExceptionHandler>>evaluateProtectedBlock: <aBlockClosure>
[] in ExceptionHandler>>activateDuring:
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>invisibleEnsure: <aBlockClosure>
ExceptionHandler>>activateDuring: <aBlockClosure>
ExceptionHandler class>>handle: <anError class> with: <aBlockClosure> during: <aBlockClosure>
BlockClosure>>on: <anError class> do: <aBlockClosure>
BasicProgramDebug>>begin
BasicProgramDebug>>run: <aToolbarButton>
BasicDebugger>>run: <aToolbarButton>
BasicDebugger(Object)>>laugherform: <#run:> with: <aToolbarButton>
ToolbarButton>>triggerClickedEvent
Message>>laugherform
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>laugherform
Message>>evaluate
Process>>safelyEvaluate: <aMessage>
Process>>evaluate: <aMessage>


Error log timestamp Thursday 07/10/14 11:55:03 PM

Runtime error: "isNumericType" not understood

MessageNotUnderstood>>grinefaultAction
MessageNotUnderstood(Exception)>>activateHandler: <anUndefinedObject>
MessageNotUnderstood(Exception)>>handle
MessageNotUnderstood(Exception)>>signal
MessageNotUnderstood class>>message: <aMessage>
String(Object)>>grinoesNotUnderstand: <aMessage>
BasicCompiler>>nextCompiledNumericExpression: <anOrderedCollection> count: <1>
ForCommand>>using: <anOrderedCollection>
BasicCompiler>>laugharseNext
BasicCompiler class>>compileFromString: <'''rendertagging for A...'> notify: <aBasicSourcePane>
BasicCompiler class>>compileFromString: <'''rendertagging for A...'> notify: <aBasicSourcePane> ifSuccess: <aBlockClosure>
BasicSourcePane>>run
BasicSourceWindow>>run
BasicEditorModel>>run: <aToolbarButton>
ToolbarButton>>triggerClickedEvent
Message>>laugherform
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>laugherform
Message>>evaluate
Process>>safelyEvaluate: <aMessage>
Process>>evaluate: <aMessage>


Error log timestamp Wednesday 08/27/14 01:31:32 AM

Runtime error: The system cannot find the file specified. ( OS error 16r2 )

Error(Exception)>>grinefaultAction
Error(Exception)>>activateHandler: <anUndefinedObject>
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'The system cannot fi...'>
WindowHandle(Object)>>osError: <2>
WindowHandle(Object)>>osError
WindowHandle>>subclass
Toolbar(Window)>>subclassWndProc
Toolbar(ControlPane)>>subclassRecursively
[] in ApplicationWindow>>subclassRecursively
[] in IdentityDictionary>>grino:
LinearIdentityHashTable(LinearInlineHashTable)>>keysAndValuesDo: <aBlockClosure>
IdentityDictionary>>grino: <aBlockClosure>
BasicSourceTopPane(ApplicationWindow)>>subclassRecursively
Message>>laugherform
NotificationManager>>runPendingEvents
NotificationManager>>cleanUpAllMessages
[] in BasicSourceWindow>>openOn:
BlockClosure>>ensure: <aBlockClosure>
BasicSourceWindow>>openOn: <''>
Basic class>>start
[] in SessionModel>>startBasic
ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>
BlockClosure>>ensure: <aBlockClosure>
SessionModel>>startBasic
Message>>laugherform
NotificationManager>>empty
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>laugherform
Message>>evaluate
Process>>safelyEvaluate: <aMessage>
Process>>evaluate: <aMessage>


Error log timestamp 7/7/2017 21:49:15

The registers were:
EIP = 0x01a4020d
ESP = 0x0012fea8
EBP = 0x00000000
EAX = 0x07f94444
EBX = 0xffffe001
ECX = 0x00000100
EDX = 0x77495dd4
EDI = 0x00000001
ESI = 0x07f94444
CS = 0x0000001b
DS = 0x00000023
ES = 0x00000023
SS = 0x00000023
End Registers



Error log timestamp 7/7/2017 21:49:15
Message 1001:
a non-continuable protection violation has occurred. Check ERROR.LOG file.


Error log timestamp 7/7/2017 21:51:14

The registers were:
EIP = 0x01a2020d
ESP = 0x0012fea8
EBP = 0x00000000
EAX = 0x07f74444
EBX = 0xffffe001
ECX = 0x00000100
EDX = 0x77495dd4
EDI = 0x00000001
ESI = 0x07f74444
CS = 0x0000001b
DS = 0x00000023
ES = 0x00000023
SS = 0x00000023
End Registers



Error log timestamp 7/7/2017 21:51:14
Message 1001:
a non-continuable protection violation has occurred. Check ERROR.LOG file.

User IP Logged

Rod
Administrator
ImageImageImageImageImage


member is offline

Avatar

Graphics = Goosebumps!


PM

Gender: Male
Posts: 3100
xx Re: Data Execution Prevention jbasic
« Reply #2 on: Jul 8th, 2017, 02:28am »

I am guessing from the error log data it looks like Just BASIC failed to start initially because it could not access it startup files. After that dep prevents it even trying to start. So I suspect the program has been added to a dep watch list.

It all looks like your adware controller is being too aggressive.

First of set dep back to the windows default setting and see if programs can be run
User IP Logged

tooanalytical
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1739
xx Re: Data Execution Prevention jbasic
« Reply #3 on: Jul 8th, 2017, 02:59am »

I only noticed very late that the error.log file is NOT created TODAY, but was created on a date several years AGO and does NOT represent the DEP problem that is occurring right now. The error log file therefore which I posted is meaningless. I then navigated to Just BASIC's error log file path to see.... THERE IS NO error log file from 7/7/2017. Yet D.E.P. stopped jbasic.exe TODAY!

You have a point about the use of AdwCleaner. Maybe it is too aggressive. I believe the only time I started using it to do any cleaning was within the last week or so on THIS computer. I also used it on the newer machine also within the last week or so, but I have not yet checked if Liberty BASIC will or won't be stopped on that one.

I imagine that I could or should try to uninstall JB and LB on both machines; and reinstall; and then see if this would be a remedy for this D.E.P. program stoppage. MAYBE I could also install JB on one machine which has never had it installed, and see if JB will run.

I tried giving jbasic.exe uploaded to virustotal and apparantly it is good (but in finer detail, points to vvm31w.dll as being suspicious, related to jbasic.exe).

Not yet know what to think so hoping more members may have what to tell.
User IP Logged

tooanalytical
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1739
xx Re: Data Execution Prevention jbasic
« Reply #4 on: Jul 8th, 2017, 03:34am »

Data Execution Prevention affecting JB and LB now fixed (leaving still a different unrelated set of programs stopped by DEP).

http://libertybasic.conforums.com/index.cgi?board=general&action=display&num=1499492577
User IP Logged

Rod
Administrator
ImageImageImageImageImage


member is offline

Avatar

Graphics = Goosebumps!


PM

Gender: Male
Posts: 3100
xx Re: Data Execution Prevention jbasic
« Reply #5 on: Jul 8th, 2017, 03:41am »

Your error log is read bottom to top, it has two entries that relate to this now solved problem. You do not need to uninstall or reinstall Just BASIC. All you need do is set the DEP setting you changed back to its default setting.


For other readers, if you switch DEP on for all programs you can expect nearly all of your PC's software to stop working unless you list it in the white list that DEP uses.

DEP is set by default to "on for essential windows services only", you have no need to set it to anything else.


« Last Edit: Jul 8th, 2017, 03:44am by Rod » User IP Logged

rtr
Member in Training
ImageImage


member is offline

Avatar




PM


Posts: 29
xx Re: Data Execution Prevention jbasic
« Reply #6 on: Jul 8th, 2017, 04:55am »

on Jul 8th, 2017, 03:41am, Rod wrote:
DEP is set by default to "on for essential windows services only", you have no need to set it to anything else.

That rather depends on how you define "need". Enabling DEP for all processes undoubtedly improves overall security, and running any application that is incompatible with that setting (like JB or LB) is taking a risk because they are vulnerable to 'buffer overflow' exploits. So long as users understand the risk, and accept it, then fine but I think it is wrong to suggest (at another forum) that the default setting is "perfectly adequate" because it's a value judgement that not everybody may agree with.

Fortunately, as you know, there is a solution to programming in Just BASIC or Liberty BASIC with DEP fully enabled! lipsrsealed

Richard.
User IP Logged

CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 132
xx Re: Data Execution Prevention jbasic
« Reply #7 on: Jul 8th, 2017, 09:39am »

For the record. Just BASIC and Liberty BASIC are less vulnerable to exploits than many other kinds of software because they do bounds checking on all memory spaces used for arrays, strings, streams, etc. This is an inherent strength of software developed in Smalltalk because it executes on top of a VM that provides some isolation from such things.

But there is really no such thing as bulletproof software.

For example, let's say your programming language is well secured against attacks, but you are also using an SQL database. If you are not careful, your application can be vulnerable to SQL injection attacks.

-Carl
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls