Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

why do I receive a segmentation violation when generating repository for altera DSP builder blockset?

Asked by lee on 5 Feb 2013
Latest activity Answered by Kamil on 22 Jul 2014
------------------------------------------------------------------------
       Segmentation violation detected at Tue Feb 05 12:11:56 2013
------------------------------------------------------------------------
Configuration:
  MATLAB Version:   7.8.0.347 (R2009a)
  MATLAB License:   161051
  Operating System: Microsoft Windows XP
  Window System:    Version 5.1 (Build 2600: Service Pack 3)
  Processor ID:     x86 Family 6 Model 7 Stepping 10, GenuineIntel
  Virtual Machine:  Java 1.6.0_04-b12 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
  Default Encoding:  GBK
Fault Count: 1
Register State:
  EAX = 00000000  EBX = 00000000
  ECX = 00c2b1c4  EDX = 0000ba21
  ESI = 29de9020  EDI = 69d983d4
  EBP = 00c2b1d0  ESP = 00c2af84
  EIP = 69d5e51e  FLG = 00210246
Stack Trace:
  [0] sl_lib_browse.dll:0x69d5e51e(0x00c2b23c "0陈", 0x2a9a38b8, 0x2a9a38b8, 0x2a9a38b8)
  [1] sl_lib_browse.dll:0x69d5fbaf(0x2a9a38b8, 0x2a9a38b8, 0x2a9a38b8, 0x00c2b320)
  [2] sl_lib_browse.dll:0x69d6211a(0x00c2b374 "躣�)altelink2", 0x2a886318, 0x29f46550, 0x29f464c8)
  [3] sl_lib_browse.dll:0x69d62b3a(0x00c2b3f0 "0髫i�*漩豬�*l德", 0, 0x00c2b40c "$绰", 0x69d1e4c3)
  [4] sl_lib_browse.dll:0x69d58487(0x00c2b3f0 "0髫i�*漩豬�*l德", 0x00c2b514, 0x29f464d0, 0x1fcfad78)
  [5] sl_lib_browse.dll:0x69d1e4c3(0x00c2b3a0, 0x1f2c0634, 0x2a588018, 0)
  [6] sl_lib_browse.dll:0x69d1e59b(0x00c2b530 "����T德", 0x00c2b514, 0x1f2c0634, 0x1fb4ee70)
  [7] sl_lib_browse.dll:0x69ceed22(38, 0x1fb4ee70, 0x00c2b598 "暗�", 0x69d0c9fd)
  [8] sl_lib_browse.dll:0x69d0b3db(38, 0x2aab90a8, 0x00c2b5b0 "痰�", 0x69cfbc9b)
  [9] sl_lib_browse.dll:0x69d0c9fd(1, 106, 485, 38)
  [10] sl_lib_browse.dll:0x69cfbc9b(1, 106, 485, 0x00c2b5a4)
  [11] glee.dll:0x6d7c281b(0x2a368988, 0x1f2c0634, 0x1f2c0618, 0x2a2cbb18)
  [12] glee_util.dll:0x6b6059f6(0x1f2a2790, 0x1f2c0634, 0, 0x6b60793a)
  [13] glee_util.dll:0x6b60748d(0, 0x6db8dcd0, 0x7aba6f49, 0)
  [14] dastudio.dll:0x6db8dd04(9231, 0, 0x00c2b768, 0x7c421201)
  [15] uiw.dll:long __stdcall HandleUserMsgHook(int,unsigned int,long)(0, 1, 0x00c2b768, 0) + 95 bytes
  [16] USER32.dll:0x77d31923(0x00030000 "Actx ", 1, 0x00c2b768, 0x7aba74f0)
  [17] USER32.dll:0x77d2b317(0x00c2b758, 0x00c2b768, 0x00c2b784, 0)
  [18] USER32.dll:0x77d278d0(0x00c2b758, 48, 0x00030000 "Actx ", 1)
  [19] ntdll.dll:0x7c92e473(0x00c2b7f0, 0, 0, 0)
  [20] uiw.dll:char * __cdecl getCommand(char *,int)(0x78665770, 4096, 0x00c2b88c, 0x7865395f) + 362 bytes
  [21] uiw.dll:public: virtual char * __thiscall uiw::UIW_IOProxy::getCmdWindowCommand(char *,int)const (0x78665770, 4096, 0, 0) + 16 bytes
  [22] bridge.dll:char * __cdecl winReadStdin(char * const,unsigned int,bool)(0x78665770, 4096, 0, 0x00c2fa1c) + 79 bytes
  [23] bridge.dll:char * __cdecl ioReadLineOS(bool,struct _iobuf * const,char * const,char * const,int,bool * const,void (__cdecl*const)(void),char * (__cdecl*const)(char * const,unsigned int,bool))(0, 0x781c1b78, 0x02334ff8, 4096) + 265 bytes
  [24] bridge.dll:char * __cdecl ioReadLine(bool,struct _iobuf *,char *,char *,int,bool *)(0, 0x781c1b78, 0x02334ff8, 0x02334ff8) + 99 bytes
  [25] bridge.dll:void __cdecl mnGetFullLine(char * *,unsigned int *,unsigned int *,bool)(0x00c2fa20, 0x00c2fa14, 0, 0x7b2b7e59) + 203 bytes
  [26] bridge.dll:_mnGetCommandLineBuffer(0, 0, 0x05622ec8, 0) + 124 bytes
  [27] bridge.dll:__catch$_mnParser$0(0x0239d2f8, 0x02300468, 0x74691301, 0x00c2fb28 "P") + 164 bytes
  [28] mcr.dll:private: void __thiscall mcrInstance::mnParser_on_interpreter_thread(void)(0x05622f00, 0x00c2fb3c, 0x77d2b317, 0x00030000 "Actx ") + 51 bytes
  [29] mcr.dll:public: void __thiscall boost::function0<void>::operator()(void)const (0, 0x05622ec8, 0, 0x05622ec8) + 63 bytes
  [30] mcr.dll:public: virtual void __thiscall mcr::runtime::InterpreterThread::Impl::NoResultInvocationRequest::run(void)(0x79a92a60, 0x00c2fb70, 48, 0x00030000 "Actx ") + 53 bytes
  [31] mcr.dll:private: static void __cdecl mcr::runtime::InterpreterThread::Impl::invocation_request_handler(int)(0x05622ec8, 0, 0x00030000 "Actx ", 0x00c2fcb4) + 40 bytes
  [32] uiw.dll:bool __cdecl UIW_DispatchUserMessage(int,int)(9225, 0x05622ec8, 0x00c2fcb4, 3) + 73 bytes
  [33] uiw.dll:long __stdcall HandleUserMsgHook(int,unsigned int,long)(0, 1, 0x00c2fcb4, 0x79493520) + 95 bytes
  [34] USER32.dll:0x77d31923(0x00030000 "Actx ", 1, 0x00c2fcb4, 0x7aba74f0)
  [35] USER32.dll:0x77d2b317(0x00c2fca4, 0x00c2fcb4, 0x00c2fcd0, 0)
  [36] USER32.dll:0x77d278d0(0x00c2fca4, 48, 0x00030000 "Actx ", 1)
  [37] ntdll.dll:0x7c92e473(0x00c2fd20, 0, 0, 0)
  [38] uiw.dll:void __cdecl UIW_GetAndDispatchMessage(struct tagMSG *)(0x00c2fd20, 3, 3, 0x05622ec8) + 20 bytes
  [39] uiw.dll:void __cdecl UIW_GetAndDispatchMessage(void)(0x022f1b78, 0, 0x025342e0, 0) + 15 bytes
  [40] uiw.dll:void __cdecl ws_ProcessPendingEventsMainLoop(int,bool)(1, 0, 0x00c2fdbc "�", 0x79a9543a) + 356 bytes
  [41] uiw.dll:void __cdecl ws_ProcessPendingEvents(int,int)(1, 0xffffffff, 0x022f1b78, 0x025342e0) + 14 bytes
  [42] mcr.dll:public: void __thiscall mcr::runtime::InterpreterThread::Impl::process_events(class boost::shared_ptr<class mcr::runtime::InterpreterThread::Impl> const &)(0x00c2fe14, 2, 0x02533690, 0x02f6dd98) + 138 bytes
  [43] mcr.dll:__catch$?run@Impl@InterpreterThread@runtime@mcr@@QAEKABV?$shared_ptr@VImpl@InterpreterThread@runtime@mcr@@@boost@@PAUinit_context@1234@@Z$0(0x00c2fe14, 0x02533b30, 0x79a95800, 0x02537888) + 128 bytes
  [44] mcr.dll:unsigned long __cdecl run_init_and_handle_events(void *)(0x02f6dd98, 0, 0x02533618, 0) + 76 bytes
  [45] mcr.dll:private: void __thiscall mcr::runtime::InterpreterThreadFactory::runThreadFunction(void)(0x00c2fec8, 0x00c2fe80, 0x00c2fe84 "瘙�", 0x7b299c7c) + 108 bytes
  [46] MATLAB.exe:public: void __thiscall boost::function0<void>::operator()(void)const (336696, 0x004077d4, 0, 0x78131731) + 63 bytes
  [47] MATLAB.exe:int __cdecl mcrMain(int,char const * * const)(1, 0x0252e540, 4194304, 10) + 230 bytes
  [48] MATLAB.exe:_WinMain@16(4194304, 0, 336696, 10) + 75 bytes
  [49] MATLAB.exe:___tmainCRTStartup(0, 0, 0x7ffd8000, 0x8054c6ed) + 320 bytes
  [50] kernel32.dll:0x7c81776f(0x0040324a, 0, 0x00905a4d, 3)

1 Comment

Walter Roberson on 5 Feb 2013

Is it possible that you ran out of disk space?

lee

Products

No products are associated with this question.

1 Answer

Answer by Kamil on 22 Jul 2014

I have the same, sometimes, the simulation runs, but very rarely. I have 12GB free disk space and 16GB RAM Memory. It never happens if I don't generate the hardware code. Any solutions so far?

Regards. Kamil

0 Comments

Kamil

Contact us