Back to the main page.

Bug 2316 - ft_databrowser crash on Windows 7 (plotting component data)

Status CLOSED FIXED
Reported 2013-10-10 11:06:00 +0200
Modified 2019-08-10 12:29:05 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 major
Assigned to: Jörn M. Horschig
URL:
Tags:
Depends on:
Blocks: 2314
See also:

Elmeri Syrjänen - 2013-10-10 11:06:58 +0200

Hardware: Intel i7, 8 cores, 16 GB ram. OS: W7, service pack 1. Matlab 7.12.0 (R2011a) FieldTrip v: 20131008 I have uploaded today (2013-10-10 10:52:48) to ftp://ftp.fcdonders.nl/pub/incoming a file "datacomp.mat" I created this file with following code: cfg=[]; cfg.method = 'runica'; cfg.channel = 1:128; % EEG channels only datacomp = ft_componentanalysis(cfg, data); save('datacomp', 'datacomp'); Plotting the components works fine: figure cfg = []; cfg.component = [1:20]; cfg.layout = 'biosemi128.lay'; cfg.comment = 'no'; ft_topoplotIC(cfg, datacomp) However, when i run the following code matlab crashes: cfg = []; cfg.layout = 'biosemi128.lay'; cfg.viewmode = 'component'; ft_databrowser(cfg, datacomp); Matlab crashes every time I run the previous code. Feel free to contact me if you need further information. Best regards Elmeri Syrjänen


Jan-Mathijs Schoffelen - 2013-10-10 11:12:46 +0200

Hi Elmeri, Thanks for the report. Is there a particular error message you get?


Elmeri Syrjänen - 2013-10-10 11:22:01 +0200

Created attachment 528 Crash report


Elmeri Syrjänen - 2013-10-10 11:25:20 +0200

(In reply to comment #1) Hi Jan-Mathijs, thank you for your fast reply. I've attached an image with the crash. Here is the detailed matlab crash report: ------------------------------------------------------------------------ Segmentation violation detected at Thu Oct 10 11:24:22 2013 ------------------------------------------------------------------------ Configuration: Crash Decoding : Disabled Default Encoding: windows-1252 MATLAB License : 121250 MATLAB Root : C:\Program Files\MATLAB\R2011a MATLAB Version : 7.12.0.635 (R2011a) Operating System: Microsoft Windows 7 Processor ID : x86 Family 6 Model 14 Stepping 5, GenuineIntel Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode Window System : Version 6.1 (Build 7601: Service Pack 1) Fault Count: 1 Abnormal termination: Segmentation violation Register State (from fault): RAX = 00000000000001a4 RBX = 000000005bee0630 RCX = 00000000000262de RDX = 00000000000001b2 RSP = 0000000001668850 RBP = 000000000000007e RSI = 000000005bdfab20 RDI = 000000013942b996 R8 = 00000000000262de R9 = 0000000000000230 R10 = 0000000000000000 R11 = 0000000001668928 R12 = 0000000000f206cd R13 = 000000004fb59390 R14 = 000000000002635c R15 = 00000000000006c8 RIP = 00000000634cce81 EFL = 00010216 CS = 0033 FS = 0053 GS = 002b Stack Trace (from fault): [ 0] 0x00000000634cce81 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00183937 ( RenderEngineBase::~RenderEngineBase+171553 ) [ 1] 0x00000000635e0c11 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+01313809 ( text_to_pixel+005793 ) [ 2] 0x00000000634e49b3 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00281011 ( GO_TransformObject+001523 ) [ 3] 0x00000000635443c7 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00672711 ( renderAnimatedKids+000519 ) [ 4] 0x000000006354c658 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00706136 ( getARDonAxis+020088 ) [ 5] 0x00000000634e49b3 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00281011 ( GO_TransformObject+001523 ) [ 6] 0x00000000635696d9 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00825049 ( FigureSetVisualAutoMode+001561 ) [ 7] 0x000000006356f46f C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00849007 ( UIJ_CreatePeerWindow+001599 ) [ 8] 0x00000000634e49b3 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00281011 ( GO_TransformObject+001523 ) [ 9] 0x00000000634d3068 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00209000 ( RenderEngineBase::~RenderEngineBase+196616 ) [ 10] 0x000000006356bb17 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00834327 ( FigureSetVisualAutoMode+010839 ) [ 11] 0x000000006356bb9d C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00834461 ( FigureSetVisualAutoMode+010973 ) [ 12] 0x00000000648e7246 C:/Program Files/MATLAB/R2011a/bin/win64/libmwgui.dll+00422470 ( wm_ExposeFcn_Pre_Optional+000374 ) [ 13] 0x00000000653340f4 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00147700 ( GetframeJava+001252 ) [ 14] 0x0000000065335cc6 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00154822 ( UIJ_IsWindowShowing+000438 ) [ 15] 0x000000006533725d C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00160349 ( UIJ_clearWaitForResize+002061 ) [ 16] 0x000000006533736e C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00160622 ( UIJ_ExposeFcn+000142 ) [ 17] 0x00000000653181be C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00033214 ( UIJ_MarkEventFinished+005838 ) [ 18] 0x0000000065318210 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00033296 ( UIJ_MarkEventFinished+005920 ) [ 19] 0x0000000065330e0c C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00134668 ( uij::JavaDraw2D::paintQuadStrip+001324 ) [ 20] 0x000000006525159c C:/Program Files/MATLAB/R2011a/bin/win64/udd.dll+00202140 ( uddSetListenerRecursionWarning+000668 ) [ 21] 0x0000000065251bcc C:/Program Files/MATLAB/R2011a/bin/win64/udd.dll+00203724 ( UDListenerManagerHost::notifyEvent+000076 ) [ 22] 0x000000006524a4fd C:/Program Files/MATLAB/R2011a/bin/win64/udd.dll+00173309 ( UDEventInfo::send+000093 ) [ 23] 0x00000000645283eb C:/Program Files/MATLAB/R2011a/bin/win64/udd_mi.dll+00033771 ( MErrorException::operator=+029579 ) [ 24] 0x0000000001b79676 C:/Program Files/MATLAB/R2011a/bin/win64/uiw.dll+00366198 ( UIW_IsUserMessage+000086 ) [ 25] 0x0000000001b79d44 C:/Program Files/MATLAB/R2011a/bin/win64/uiw.dll+00367940 ( ws_ProcessPendingEventsWaitForWindows+000356 ) [ 26] 0x0000000077b487fe C:/Windows/system32/USER32.dll+00165886 ( GetMenuBarInfo+000638 ) [ 27] 0x0000000077b2f5fb C:/Windows/system32/USER32.dll+00062971 ( SystemParametersInfoW+000235 ) [ 28] 0x0000000077b34895 C:/Windows/system32/USER32.dll+00084117 ( IsProcessDPIAware+000465 ) [ 29] 0x0000000077c711f5 C:/Windows/SYSTEM32/ntdll.dll+00332277 ( KiUserCallbackDispatcher+000031 ) [ 30] 0x0000000077b39e6a C:/Windows/system32/USER32.dll+00106090 ( SfmDxSetSwapChainStats+000026 ) [ 31] 0x0000000077b3615e C:/Windows/system32/USER32.dll+00090462 ( GetMessageA+000078 ) [ 32] 0x0000000001b53f07 C:/Program Files/MATLAB/R2011a/bin/win64/uiw.dll+00212743 ( UIW_SetCurrentDialog+000855 ) [ 33] 0x0000000001b7b117 C:/Program Files/MATLAB/R2011a/bin/win64/uiw.dll+00373015 ( ws_FreeSystemFont+000519 ) [ 34] 0x000000006533b7b3 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00178099 ( sysq::ws_ppeHook::~ws_ppeHook+009539 ) [ 35] 0x000000006533cf3c C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00184124 ( svWS_CommitDatabaseUpdates+002796 ) [ 36] 0x000000006533d97a C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00186746 ( svWS_CommitDatabaseUpdates+005418 ) [ 37] 0x000000006533dbbd C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00187325 ( svWS_CommitDatabaseUpdates+005997 ) [ 38] 0x000000006533ddb8 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00187832 ( svWS_CommitDatabaseUpdates+006504 ) [ 39] 0x000000006533df10 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00188176 ( svWS_CommitDatabaseUpdates+006848 ) [ 40] 0x0000000063570e20 C:/Program Files/MATLAB/R2011a/bin/win64/hg.dll+00855584 ( hgHitTest+001600 ) [ 41] 0x0000000065a301a9 C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00065961 ( mdLogging::log_function_entry+000201 ) [ 42] 0x0000000065a30156 C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00065878 ( mdLogging::log_function_entry+000118 ) [ 43] 0x0000000065a2fb98 C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00064408 ( Mfunction_handle::dispatch+000456 ) [ 44] 0x0000000063da182b C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00530475 ( inDestroyWS+264651 ) [ 45] 0x0000000063d9e082 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00516226 ( inDestroyWS+250402 ) [ 46] 0x0000000063db4c73 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00609395 ( inDestroyWS+343571 ) [ 47] 0x0000000063db4dc0 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00609728 ( inDestroyWS+343904 ) [ 48] 0x0000000063da624b C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00549451 ( inDestroyWS+283627 ) [ 49] 0x0000000063da42ac C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00541356 ( inDestroyWS+275532 ) [ 50] 0x0000000063db1009 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00593929 ( inDestroyWS+328105 ) [ 51] 0x0000000065a2f859 C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00063577 ( Mfh_file::dispatch_fh+000473 ) [ 52] 0x0000000065a2fccf C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00064719 ( Mfunction_handle::dispatch+000767 ) [ 53] 0x0000000063dc4f34 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00675636 ( inDestroyWS+409812 ) [ 54] 0x0000000063db25e8 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00599528 ( inDestroyWS+333704 ) [ 55] 0x0000000063d8a0aa C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00434346 ( inDestroyWS+168522 ) [ 56] 0x0000000063d9812b C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00491819 ( inDestroyWS+225995 ) [ 57] 0x0000000063d9ab49 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00502601 ( inDestroyWS+236777 ) [ 58] 0x0000000063d9de65 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00515685 ( inDestroyWS+249861 ) [ 59] 0x0000000063db4c73 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00609395 ( inDestroyWS+343571 ) [ 60] 0x0000000063db4dc0 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00609728 ( inDestroyWS+343904 ) [ 61] 0x0000000063da624b C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00549451 ( inDestroyWS+283627 ) [ 62] 0x0000000063da42ac C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00541356 ( inDestroyWS+275532 ) [ 63] 0x0000000063db1009 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00593929 ( inDestroyWS+328105 ) [ 64] 0x0000000065a2f859 C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00063577 ( Mfh_file::dispatch_fh+000473 ) [ 65] 0x0000000065a2fccf C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00064719 ( Mfunction_handle::dispatch+000767 ) [ 66] 0x0000000063da182b C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00530475 ( inDestroyWS+264651 ) [ 67] 0x0000000063e0d99c C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00973212 ( inIsDefinedVariable+019900 ) [ 68] 0x0000000063d9f8db C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00522459 ( inDestroyWS+256635 ) [ 69] 0x0000000063db4c73 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00609395 ( inDestroyWS+343571 ) [ 70] 0x0000000063db4dc0 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00609728 ( inDestroyWS+343904 ) [ 71] 0x0000000063da624b C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00549451 ( inDestroyWS+283627 ) [ 72] 0x0000000063da42ac C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00541356 ( inDestroyWS+275532 ) [ 73] 0x0000000063db1009 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00593929 ( inDestroyWS+328105 ) [ 74] 0x0000000065a2f859 C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00063577 ( Mfh_file::dispatch_fh+000473 ) [ 75] 0x0000000065a2fccf C:/Program Files/MATLAB/R2011a/bin/win64/m_dispatcher.dll+00064719 ( Mfunction_handle::dispatch+000767 ) [ 76] 0x0000000063e26de8 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+01076712 ( inSetPredictor+001000 ) [ 77] 0x0000000063e33415 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+01127445 ( inInitInterestRegistry+004309 ) [ 78] 0x0000000063e35175 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+01134965 ( inIsCodeBlockComplete+007445 ) [ 79] 0x0000000063e35148 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+01134920 ( inIsCodeBlockComplete+007400 ) [ 80] 0x0000000063e3510e C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+01134862 ( inIsCodeBlockComplete+007342 ) [ 81] 0x0000000063df8113 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+00885011 ( inGetSeqVarPtrsFromCurrentWS+007315 ) [ 82] 0x0000000063e298e0 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+01087712 ( inEvalCmdWithLocalReturn+000304 ) [ 83] 0x0000000063e2983c C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+01087548 ( inEvalCmdWithLocalReturn+000140 ) [ 84] 0x0000000063e297f1 C:/Program Files/MATLAB/R2011a/bin/win64/m_interpreter.dll+01087473 ( inEvalCmdWithLocalReturn+000065 ) [ 85] 0x0000000079fb833a C:/Program Files/MATLAB/R2011a/bin/win64/libmwbridge.dll+00033594 ( mnDebugPrompt+000106 ) [ 86] 0x0000000079fbd0d2 C:/Program Files/MATLAB/R2011a/bin/win64/libmwbridge.dll+00053458 ( mnParser+000418 ) [ 87] 0x00000000749ab604 C:/Program Files/MATLAB/R2011a/bin/win64/mcr.dll+00243204 ( mcrInstance::mnParser_on_interpreter_thread+000036 ) [ 88] 0x000000007498ed24 C:/Program Files/MATLAB/R2011a/bin/win64/mcr.dll+00126244 ( DepfunRules::postWarning+045636 ) [ 89] 0x000000007498edb1 C:/Program Files/MATLAB/R2011a/bin/win64/mcr.dll+00126385 ( DepfunRules::postWarning+045777 ) [ 90] 0x0000000001b79676 C:/Program Files/MATLAB/R2011a/bin/win64/uiw.dll+00366198 ( UIW_IsUserMessage+000086 ) [ 91] 0x0000000001b79d44 C:/Program Files/MATLAB/R2011a/bin/win64/uiw.dll+00367940 ( ws_ProcessPendingEventsWaitForWindows+000356 ) [ 92] 0x0000000077b487fe C:/Windows/system32/USER32.dll+00165886 ( GetMenuBarInfo+000638 ) [ 93] 0x0000000077b2f5fb C:/Windows/system32/USER32.dll+00062971 ( SystemParametersInfoW+000235 ) [ 94] 0x0000000077b34895 C:/Windows/system32/USER32.dll+00084117 ( IsProcessDPIAware+000465 ) [ 95] 0x0000000077c711f5 C:/Windows/SYSTEM32/ntdll.dll+00332277 ( KiUserCallbackDispatcher+000031 ) [ 96] 0x0000000077b39e6a C:/Windows/system32/USER32.dll+00106090 ( SfmDxSetSwapChainStats+000026 ) [ 97] 0x0000000077b3615e C:/Windows/system32/USER32.dll+00090462 ( GetMessageA+000078 ) [ 98] 0x0000000001b53f07 C:/Program Files/MATLAB/R2011a/bin/win64/uiw.dll+00212743 ( UIW_SetCurrentDialog+000855 ) [ 99] 0x0000000001b7b117 C:/Program Files/MATLAB/R2011a/bin/win64/uiw.dll+00373015 ( ws_FreeSystemFont+000519 ) [100] 0x000000006533b7b3 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00178099 ( sysq::ws_ppeHook::~ws_ppeHook+009539 ) [101] 0x000000006533cf3c C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00184124 ( svWS_CommitDatabaseUpdates+002796 ) [102] 0x000000006533d97a C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00186746 ( svWS_CommitDatabaseUpdates+005418 ) [103] 0x000000006533dbbd C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00187325 ( svWS_CommitDatabaseUpdates+005997 ) [104] 0x000000006533ddb8 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00187832 ( svWS_CommitDatabaseUpdates+006504 ) [105] 0x000000006533df10 C:/Program Files/MATLAB/R2011a/bin/win64/libuij.dll+00188176 ( svWS_CommitDatabaseUpdates+006848 ) [106] 0x000000007498e28f C:/Program Files/MATLAB/R2011a/bin/win64/mcr.dll+00123535 ( DepfunRules::postWarning+042927 ) [107] 0x000000007498f051 C:/Program Files/MATLAB/R2011a/bin/win64/mcr.dll+00127057 ( DepfunRules::postWarning+046449 ) [108] 0x000000007498f37e C:/Program Files/MATLAB/R2011a/bin/win64/mcr.dll+00127870 ( DepfunRules::postWarning+047262 ) [109] 0x000000013f0b7304 C:/Program Files/MATLAB/R2011a/bin/win64/MATLAB.exe+00029444 ( ???+000000 ) [110] 0x000000013f0b73d9 C:/Program Files/MATLAB/R2011a/bin/win64/MATLAB.exe+00029657 ( ???+000000 ) [111] 0x000000013f0b78cb C:/Program Files/MATLAB/R2011a/bin/win64/MATLAB.exe+00030923 ( ???+000000 ) [112] 0x0000000077a1652d C:/Windows/system32/kernel32.dll+00091437 ( BaseThreadInitThunk+000013 ) [113] 0x0000000077c4c541 C:/Windows/SYSTEM32/ntdll.dll+00181569 ( RtlUserThreadStart+000033 )


Jan-Mathijs Schoffelen - 2013-10-10 11:38:47 +0200

I cannot reproduce it on my Mac. Looks like an operating system specific issue to me (or a combination between OS and Matlab version). Do you happen to have a computer with a different OS, or a different matlab version on your machine, to see whether it works then?


Jan-Mathijs Schoffelen - 2013-10-10 11:53:59 +0200

Crash confirmed on a PC running Windows 7 matlab 2011a. I created a mat file with some of the test data (containing two trials worth of component data selected from the file sent through ftp), and a test function (for our internal FT-development team) to reproduce it.


Elmeri Syrjänen - 2013-10-16 12:13:28 +0200

(In reply to comment #5) I have now replicated the crash on two different computers with w7 and matlab 2013a. No problems when i run the code in OSX 10.6 and matlab 2011a.


- 2013-11-06 14:46:58 +0100

Hello, I have the same problem on my computer (windows 7) with matlab 2012b and matlab 2013b. My code worked fine with fieldtrip 2013-09-29 and started crashing matlab several version later. I thought it was because I used matlab 2013 so I just ignored it. Do you want me to find the exact version when the bug appeared ?


Jörn M. Horschig - 2014-01-29 15:14:44 +0100

works fine on a corei7 m620 @ 2.67Ghz, 4gig ram, win64 running matlab 2013b 32bit do you guys still have this issue?


- 2014-02-11 18:24:57 +0100

I also just encountered this issue today running ft_databrowser on Windows7 64bit I have just installed fieldtrip-20140210 and using Matlab13b on 64bit machine -- which led to repeated crash issue, as with fieldtrip-20140114 which I tried on Matlab12a and 13b. Similar crash report as Elmeri. However I also noted these few extra lines below: Thank you for your help.** This crash report has been saved to disk as C:\Users\######\AppData\Local\Temp\matlab_crash_dump.11620-1 ** Error using setappdata Invalid object handle Error in ft_databrowser>redraw_cb (line 1896) setappdata(h, 'opt', opt); Error in ft_databrowser (line 676) redraw_cb(h); [Please exit and restart MATLAB]>> In any case, I have access to another machine on the grid at the institution which is a workaround for now. But would be good to know how to fix the issue on my PC if there's a way to do so. Thanks, May


roey - 2014-07-28 17:07:58 +0200

I was (unfortunately) able to recreate the error using ft_databrowser according to the EOG ICA tutorial, on Windows 8.1 (64 bit, 8 GB RAM), Matlab R2013a, using fieldtrip-20140720.


Jörn M. Horschig - 2014-07-28 19:50:31 +0200

Hi, as recently discussed on the mailinglist, this is most likely a rendering issue caused by an unfortunate combination of graphicscard, OS, Matlab version and the surf function. As a workaround, it seems that setting the renderer to 'painters' avoids this error: http://mailman.science.ru.nl/pipermail/fieldtrip/2014-May/007919.html I doubt that we will be able to fix this on our side :(


Jörn M. Horschig - 2014-10-31 13:02:17 +0100

I addded a FAQ for this: http://fieldtrip.fcdonders.nl/faq/the_databrowser_crashes_and_destroys_the_whole_matlab_session_how_can_i_resolve_this We could have the databrowser always use the 'painters' renderer, then this error will never occur. What do you guys think?


Elmeri Syrjänen - 2014-10-31 13:26:45 +0100

(In reply to Jörn M. Horschig from comment #12) Maybe the best option would be to make the choice user configurable trough the cfg structure. Default setting could then be cfg.renderer = 'painters'; which seems to work for most users. This method would allow users that have no problems with the renderer the benefit of hardware acceleration while at the same time having a function that works for everyone out of the box. /elmeri


Jörn M. Horschig - 2014-10-31 13:36:30 +0100

right, good idea. It should definitely be possible that way as that possiblity exists for other ft_functions as well ;) thanks for the input. I made it such that if cfg.renderer is not specified, MATLAB choses the default (and afaik that depends on what is being plotted). svn ci ft_databrowser.m -m "bugfix #2316 - added cfg.renderer to make the user able to set it to painters" Sending ft_databrowser.m Transmitting file data . Committed revision 9936.


Jörn M. Horschig - 2014-10-31 13:40:36 +0100

I also updated http://fieldtrip.fcdonders.nl/faq/the_databrowser_crashes_and_destroys_the_whole_matlab_session_how_can_i_resolve_this on this


Robert Oostenveld - 2019-08-10 12:29:05 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.