MATLAB crash- access violation

834 views
Skip to first unread message

Faezeh

unread,
Aug 6, 2015, 12:53:02 PM8/6/15
to ecg-kit users
Hi Mariano,
Thanks for this complete toolbox, it will be really useful for me.. I've just installed it and tried QRS detection, using this:

ECGw=ECGwrapper('recording_name','recordings\example_recording.mat','ECGtaskHandle','QRS_detection')

which was successful in configuring the ECGwrapper object, but when now I run it (ECGw.Run), it works upto: ecgpuwave and then Matlab gives an error (access violation)...

Description of the process:
 + Recording: recordings\example_recording.mat
 + Task name: QRS_detection                    

Processing QRS detector wavedet
Processing QRS detector pantom
..................
..................
.................
.................
.................
.................
.................
.................
.................
.................
Processing QRS detector aristotle

###############################################
# Could not execute "aristotle" QRS detector. #
###############################################

Processing QRS detector gqrs
Processing QRS detector sqrs
Processing QRS detector wqrs
Processing QRS detector ecgpuwave

####################################################################
# ecgpuwave failed in recording example_recording_1_10000 lead PPG #
####################################################################

looking at the log file (below), the problem seems to be with the readannot.mex...


------------------------------------------------------------------------
          Access violation detected at Thu Aug 06 17:42:22 2015
------------------------------------------------------------------------

Configuration:
  Crash Decoding     : Disabled
  Default Encoding   : windows-1252
  Graphics card 1    : NVIDIA ( 0x10de ) NVIDIA GeForce 310M Version 8.16.11.8921
  MATLAB Architecture: win32
  MATLAB Root        : C:\Program Files\MATLAB\R2014b
  MATLAB Version     : 8.4.0.150421 (R2014b)
  Operating System   : Microsoft Windows 7 Ultimate 
  Processor ID       : x86 Family 6 Model 37 Stepping 5, GenuineIntel
  Software OpenGL    : 0
  Virtual Machine    : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) Client VM mixed mode
  Window System      : Version 6.1 (Build 7601: Service Pack 1)

Fault Count: 1


Abnormal termination:
Access violation

Register State (from fault):
  EAX = 00000000  EBX = 00000001
  ECX = 76e83dcf  EDX = 775470b4
  ESP = 00c28488  EBP = 00c28550
  ESI = 00000000  EDI = 00000000
 
  EIP = 07ff1a37  EFL = 00210202
 
   CS = 0000001b   DS = 00000023   SS = 00000023
   ES = 00000023   FS = 0000003b   GS = 00000000

Stack Trace (from fault):
[  0] 0x07ff1a37 C:\Users\faezeh\Documents\MATLAB\ecg-kit-0.1.0\common\readannot.mexw32+00006711 mexFunction+00001751
[  1] 0x7c791a3f C:\Program Files\MATLAB\R2014b\bin\win32\libmex.dll+00072255 mexRunMexFile+00000127
[  2] 0x7c790b94 C:\Program Files\MATLAB\R2014b\bin\win32\libmex.dll+00068500 inSwapMexfileReader+00000692
[  3] 0x7c79032d C:\Program Files\MATLAB\R2014b\bin\win32\libmex.dll+00066349 mexUnlock+00005245
[  4] 0x0359d813 C:\Program Files\MATLAB\R2014b\bin\win32\m_dispatcher.dll+00055315 Mfh_file::dispatch_fh+00000595
[  5] ....
.
.
.
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.

If this problem is reproducible, please submit a Service Request via:

A technical support engineer might contact you with further information.

Thank you for your help.** This crash report has been saved to disk as C:\Users\faezeh\AppData\Local\Temp\matlab_crash_dump.2828-1 **

Would you please kindly help me resolve this issue?

Regards,
Fazi

Mariano Llamedo Soria

unread,
Aug 6, 2015, 1:54:53 PM8/6/15
to Faezeh, ecg-kit users

Dear fazeh, ecgpuwave is neither the better nor the most stable qrs detector. I suggest you two things:

1- updating the toolbox , do a git pull or download version 0.1.1. Try if problem remains

2 omit ecgpuwave with the detectors property in the ecgtask object. See examples and docs about it. Just assign to this property a cell array {'gqrs' 'wqrs' …} with the detectors you want to use.

Hope this help, thanks for trying the kit
M


selecting all the detectors except ecgpuwave, and check

--
You received this message because you are subscribed to the Google Groups "ecg-kit users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ecg-kit-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ecg-kit-users/584ee712-ac1f-4288-8c68-24d9d258de3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Faezeh

unread,
Aug 7, 2015, 8:12:20 AM8/7/15
to ecg-kit users, fmr...@gmail.com
Thanks Mariano.

Problem solved :) version 0.1.2 works perfectly!

Regards,
Faezeh
Reply all
Reply to author
Forward
0 new messages