Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • RF and Microwave
    • Video
    • Power Management
    • Precision ADCs
    • FPGA Reference Designs
    • Linux Software Drivers

    Product Forums

    • Amplifiers
    • Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • A2B
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Upcoming Webinar: µModule Solution for Intelligent Motion Control

    Precision feedback combined with advanced sensing, control, and seamless connectivity make up the building blocks for intelligent motion control. ADI offers...

    Places

    • ADI Education Home
    • ADI Webinars
    • GMSL U
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Upcoming Webinar - Design High Performance Power Systems with Ultralow Noise Technology
    • Upcoming Webinar: µModule Solution for Intelligent Motion Control
    • Accelerating Embedded System Development with CodeFusion Studio™︎
    • Power Industrial PC Solutions for Robust Intelligent Edge Computing
    • Optimize Your Power Supply Designs with the Portable LTpowerAnalyzer Toolkit
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ285 about analog voltmeter expertise

      1. Quote of the week: " If you think nobody cares if you're alive, try missing a few loan payments " - unknown Source: Wikimedia 2. New quiz...

    View All

    What's Brewing

      Read an EZ Blog and Test Your Knowledge

      Stay ahead in the rapidly evolving world of industrial automation! EZ Blog: How PCle Signal Isolation Is Evolving Industrial Automation explores the...

    View All

    Places

    • Community Help
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    An Interesting Power Supply Monitoring Example from a Functional Safety Standard

    All electrical and electronic systems require power supplies, including safety systems. In this blog, I will examine the power supply example from Annex...

     

    Breaking the Barriers – Why Buildings Need DAS for Cellular Connectivity: Part 1

    In the digital age, reliable and high-speed wireless connectivity is no longer a luxury but a necessity. From bustling urban centers to remote rural areas...

    Latest Blogs

    • Safety in Layers: Why a Hybrid Approach Works
    • What Are the 3 Essential RF Modulation Techniques You Need to Know?
    • How Does Functional Safety Drive Automotive Innovation?
    • How to Enable Multi-Chip Synchronization (MCS)
    • How to Go from Flyback to SEPIC: Part 4 of 4
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Internet of Things (IoT)
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Security Solutions
    • Sensor Interfaces
    • SmartMesh
  • Partners

    Partner Forums

    • Boston Engineering
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.

    Partner Libraries

    • Calian, Advanced Technologies Library
    • Clockworks Signal Processing Library
    • Colorado Engineering Inc. (DBA CAES AT&E) Library
    • Epiq Solutions Library
    • Fidus Library
    • VadaTech Library
    • Vanteon Library
    • X-Microwave Library
EngineerZone
EngineerZone
CrossCore Embedded Studio and Add-ins
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
CrossCore Embedded Studio and Add-ins
  • Processors and DSP
  • Software and Development Tools
  • CrossCore Embedded Studio and Add-ins
  • Cancel
CrossCore Embedded Studio and Add-ins
Documents Reporting a Crash or Hang in CrossCore Embedded Studio
  • Forums
  • Docs/FAQs
  • Members
  • Tags
  • More
  • Cancel
  • FAQ
  • +a.b silicon into a x.y silicon target: FAQ
  • +accel_xxxx: FAQ
  • +ADC & DAC in audio application: FAQ
  • Add submodule files in CCES
  • +Add version of application in loader file: FAQ
  • Add-in license: FAQ
  • +ADI_SPI_TRANSCEIVER: FAQ
  • +adi_spu_Init() API: FAQ
  • +ADSO-BF609 EZkit: FAQ
  • +ADSP-21364: FAQ
  • +ADSP-214xx: FAQ
  • +ADSP-21569 Ez-kit: FAQ
  • +ADSP-21569: FAQ
  • +ADSP-BF609 EZKIT: FAQ
  • +ADSP-BF609: FAQ
  • +ADSP-BF707: FAQ
  • +ADSP-BF70x: FAQ
  • +ADSP-SC589: FAQ
  • +ADSP-SC58x: FAQ
  • +ADSP-SC59x: FAQs
  • +ADSP-SC5xx: FAQ
  • +ADSP21489: FAQ
  • +ADSP215xx: FAQ
  • +alignment pragma: FAQ
  • +ARM CORE: FAQ
  • +ARM to Sharc: FAQ
  • +avoid when a project is getting build: FAQ
  • +BF-609 Evaluation board: FAQ
  • +BF518 Processor: FAQ
  • +BF703: FAQ
  • +BF706 EZ-KIT: FAQ
  • +BF706: FAQ
  • +BF706mini BSP project: FAQ
  • +BF707 SPI: FAQ
  • BITEXP and BITRET for ADSP-214xx
  • C and C++ standard library in CCES?
  • +C source file: FAQ
  • +C++ code: FAQ
  • +C-code ISRs: FAQ
  • cache invalidation and cache flushing
  • +Callback function: FAQ
  • +Calling Library Functions: FAQ
  • +cc1138: FAQ
  • +CCES: FAQ's
  • +cldp: FAQ
  • Clip double precision floating-point in C Audit
  • +CLKIN: FAQ
  • +Code folding in CCES: FAQ
  • +Configuring the Loader, Linker and Archiver: FAQ
  • +connect to the Blackfin: FAQ
  • Create Library files for individual modules Audit
  • +CrossCore Embedded Studio STDIO: FAQ
  • -CROSSCORE: FAQ
    • Adding J-Link Lite support to OpenOCD for Cortex-M Audit
    • Can I save and share my CrossCore Embedded Studio Launch Configurations? Audit
    • Can I use VisualDSP++ ELF files in CrossCore Embedded Studio?
    • CrossCore Embedded Studio – Getting Started
    • Does CrossCore run on a Mac? Audit
    • How are dependencies managed in CrossCore Embedded Studio Audit
    • Reporting a Crash or Hang in CrossCore Embedded Studio
  • Custom debug configurations in CCES
  • +Data Member Alignment: FAQ
  • +Device Driver programming: FAQ
  • Difference between ADZS-HPUSB and ADZS-USB ICE Audit Audit
  • Difference between Debug and Release configurations
  • +Difference between Emulator and Simulator: FAQ
  • +disable prelinker: FAQ
  • DND mode in CCES
  • Does CCES have any API that can be used to build automation test platform with Python Audit
  • Does ICE-1000 supported ADSP-CM407F? Audit
  • +Driver example for Timer windowed watchdog period mode.
  • +Embedded applications: FAQ
  • +EV-21569-SOM: FAQ
  • Example code for SPORT slave trigger in ADSP-21569 Ezkit Audit Audit
  • Export console output to the desired file Audit
  • export/import CCES preferences settings
  • +EXTCLK_MODE: FAQ
  • Flash Programmer Drivers for ADSP-2183x/SC83x and ADSP-SC5xx ARM Cortex A5 Cores
  • GUL-XP board with EZkit license Audit
  • +How to access darkmode appearance in CCES?
  • +How to access stereo channels individually in the Audio_Passthrough_I2S example present in GUL BSP?
  • +How to avoid CORE0 and DEBUG: FAQ
  • How to build a specific code from single source file for a specific core?
  • +How to convert long double into string: FAQ
  • How to create library files for individual modules? Audit
  • +how to deassert Slave: FAQ
  • +How to do profiling: FAQ
  • How to obtain PCB library files for ADI processors Audit
  • How to pass arguments from command line in CCES runner
  • +How to protect shared code/ data: FAQ
  • How To remove automatically added "includes" folders in CCES project Audit
  • How to use "log10f_simd" Audit
  • How to use commands in CCES runner Audit
  • How to use Device programmer in EVAL-ADICUP360 board Audit
  • How to use optimized libraries for FFT Audit
  • +HW Accelerator and SW libraries: FAQ
  • INPUT SECTIONS & INPUT SECTIONS PIN EXCLUSIVE Audit
  • Interrupt header files along with -char-size-32 switch in Sharc Audit
  • +Interrupt Vector Table: FAQ
  • Is it possible to perform stepping into the code in CCES Runner. Audit
  • Is there a way to list symbols from library (*.dlb) file? Audit
  • Is there a way to mangle or remove internal symbols ? Audit
  • JTAG switch Interface for EV-SOMCRR-EZLITE and EV-SOMCRR-EZKIT: Audit
  • +LDF from C code: FAQ
  • +linker map file: FAQ
  • +List of Processors: FAQ
  • +Loader File: FAQ
  • +MCAPI package: FAQ
  • +node-locked license: FAQ
  • +non-blocking peek functions: FAQ
  • Optimization in ARM Audit
  • +PART_SPECIFIC_HEADERS: FAQ
  • +path variables: FAQ
  • +peripheral Error: FAQ
  • +PINT modules: FAQ
  • +PM bus: FAQ
  • +Project Explorer tree: FAQ
  • +PWM mode: FAQ
  • +quad SPI mode: FAQ
  • Reset SHARC core from ARM core using RCU in SC573 Audit
  • +RTOS for older Blackfin or older SHARC: FAQ
  • +SC-573 EZkit: FAQ
  • +SDRAM: FAQ
  • +SHARC 21469: FAQ
  • +SHARC0: FAQ
  • +SHARC: FAQ
  • +sharing global data between cores: FAQ
  • +SigmaStudioForSHARC: FAQ
  • +SIMD code: FAQ
  • +SIMD: FAQ
  • sizeof() built-in function in BF and Sharc processors Audit
  • +SPI core mode with callback: FAQ
  • +SPI flash: FAQ
  • +SPORT API: FAQ
  • +SPORT: FAQ
  • +SRCU bit: FAQ
  • SRU and DAI routing via GUI
  • +SSLDD 2.0 and SSLDD 3.0: FAQ
  • +SSLDD 3.0: FAQ
  • +SSLDD3.0: FAQ
  • +stack overflow: FAQ
  • +Static library & IP protection: FAQ
  • Streaming Data input and output in CCES
  • +suppress assembler preprocessor warning: FAQ
  • SWD with ICE-1000
  • +system.svc: FAQ
  • TDM with both SPORT channels Audit
  • TWI Transfer using 3.0 APIs
  • +two PINT modules: FAQ
  • +TX and RX DMA Interrupts: FAQ
  • Types of Pragma usage Audit
  • +U-Law and A-Law: FAQ
  • +UART Device Driver: FAQ
  • +UART ISR Callback: FAQ
  • UART sample driver code for BF706mini Audit
  • +VisualDSP++: FAQ
  • +Wakeup processor from Hibernate: FAQ
  • +When callback occurs: FAQ
  • +word addressable program: FAQ
  • [FAQ] : FORCE CONTIGUITY Audit
  • “Peripherals view” in CCES

Reporting a Crash or Hang in CrossCore Embedded Studio

Question:

What can I do to help when I see a crash or hang in CrossCore Embedded Studio (CCES)?

=============================

Answer:

In the unlikely event you see a crash or hang, you first need to identify which of the two events occurred.  A crash occurs when the CCES window disappears unexpectedly.  A hang occurs when the CCES user interface freezes and stops responding to the mouse or keyboard.

When reporting such an issue in CCES to Support, it is of great benefit to the support team and the developers if you can provide log files, as detailed below.


Crash

If it was a crash, please e-mail processor.tools.support@analog.com, attaching the fatal error log that was generated by the Java Virtual Machine.  This log file contains a stack trace that may help us debug the problem.

The fatal error log is a file named hs_err_pid<pid>.log where <pid> is the process id of the process. Normally this file is created in the working directory of CCES but sometimes it is created in the temporary directory specified by the TMP or TEMP environment variable.

You can usually find the fatal error log in the CCES\Eclipse directory, in the same directory as the .dxe that you were debugging, or in the temporary directory. If you can't find it in any of those locations, you could search likely directories, such as your workspace and your User directory (e.g. C:\Users\username).  If you still can't find it, you could search your entire computer for hs_err_pid*.log and look for the most recent one.

Here is a sample of what the fatal error log looks like:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x06da805c, pid=4504, tid=2420
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) Client VM (17.0-b17 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [tpsdkserver.dll+0x3805c]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x02c0a400):  VMThread [stack: 0x02cf0000,0x02df0000] [id=2420]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000064

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000000, EDX=0x02defb14
ESP=0x02defaf4, EBP=0x02defb2c, ESI=0x02c0a518, EDI=0x056d6e18
EIP=0x06da805c, EFLAGS=0x00010206

Top of Stack: (sp=0x02defaf4)
0x02defaf4:   01614d92 06dd647c 06e2c698 00000000
0x02defb04:   00000000 00000000 01017575 077b9e0c
0x02defb14:   02c0a518 00000020 02defb60 06dce9d0
0x02defb24:   00000000 02defb6c 02defb6c 06d82049
0x02defb34:   00000000 0756d5b8 66dd73a1 077be750
0x02defb44:   00000002 00000016 0756d5b8 66dd7e1b
0x02defb54:   51eb1e5c 0756d5b8 0756d5b8 02defbb0
0x02defb64:   66df8ca8 00000000 02defb78 66dd7e5b

Instructions: (pc=0x06da805c)
0x06da804c:   c2 04 00 8b 7f 0c 3b fb 0f 84 81 00 00 00 8b 0e
0x06da805c:   8b 51 64 57 56 ff d2 8b d8 85 db 74 72 8b 06 8b


Stack: [0x02cf0000,0x02df0000],  sp=0x02defaf4,  free space=3fe02def668k
default frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=default code)
C  [tpsdkserver.dll+0x3805c]
C  [tpsdkserver.dll+0x12049]
C  [Symman.dll+0x27e5b]
C  [Symman.dll+0x264a6]
C  [Symman.dll+0x3e9e3]
C  [Symman.dll+0x3f60c]
C  [Symman.dll+0x46e74]
C  [Symman.dll+0x46ef1]
C  [ntdll.dll+0x118a]
C  [ntdll.dll+0x23aba]
C  [kernel32.dll+0x1ca96]
C  [kernel32.dll+0x1cb0e]
C  [MSVCR71.dll+0x8d04]
C  [MSVCR71.dll+0x8d11]
V  [jvm.dll+0x20029d]
V  [jvm.dll+0x1ff5ce]
V  [jvm.dll+0x1ff8f0]
V  [jvm.dll+0x1ffce2]
V  [jvm.dll+0x185f5c]
C  [MSVCR71.dll+0x9565]
C  [kernel32.dll+0xb713]

Hang

If it was a hang, please e-mail processor.tools.support@analog.com, attaching the thread dump generated by Java VisualVM, which is available in the Java Development Kit(JDK) 6+. If you don't have JDK installed, we would be very appreciative if you can download it from here and install it, so that you can generate the thread dump.

To get a thread dump from Java VisualVM:

  • add the following line to your CCES\Eclipse\cces.ini file:

-Dcom.sun.management.jmxremote

  •     run CCES and reproduce the hang
  •     run jvisualvm.exe which is located in your JDK's bin directory
  •     connect to CCES by double clicking on the CCES process under Applications->Local
  •     click on the Threads tab (if you don't see a Threads tab, you'll have to go back to edit your cces.ini file and restart CCES)
  •     click on the Thread Dump button to view the thread dump in a new tab.

The thread dump is a log of all the threads, their current states, and their stack traces. Here is a sample of what it looks like:

Full thread dump Java HotSpot(TM) Client VM (20.2-b06 mixed mode):

"JMX server connection timeout 40" daemon prio=6 tid=0x29901400 nid=0xa4c in Object.wait() [0x2bc9f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(default Method)
        - waiting on <0x037a0070> (a [I)
        at com.sun.jmx.remote.internal.ServerCommunicatorAdmin$Timeout.run(Unknown Source)
        - locked <0x037a0070> (a [I)
        at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
        - None

"RMI Scheduler(0)" daemon prio=6 tid=0x27620c00 nid=0x374 waiting on condition [0x2bb9f000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(default Method)
        - parking to wait for  <0x037a0100> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
        at java.util.concurrent.DelayQueue.take(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
        - None

"RMI TCP Connection(1)-10.64.175.57" daemon prio=6 tid=0x28017c00 nid=0x1794 runnable [0x2b99f000]
   java.lang.Thread.State: RUNNABLE
        at java.net.SocketInputStream.socketRead0(default Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        - locked <0x037a0638> (a java.io.BufferedInputStream)
        at java.io.FilterInputStream.read(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

   Locked ownable synchronizers:
        - <0x037adb38> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)

"RMI TCP Accept-0" daemon prio=6 tid=0x276ae400 nid=0x1538 runnable [0x2b89f000]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(default Method)
        at java.net.PlainSocketImpl.accept(Unknown Source)
        - locked <0x037a0838> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(Unknown Source)
        at java.net.ServerSocket.accept(Unknown Source)
        at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

...

Other Files to Include

It would also be useful if you could create a .zip file with the .metadata directory that's located in your workspace directory and attach it to your e-mail.  The .metadata directory includes your workspace preferences, launch configuration settings, and a log of what commands were executed during your debug session.

If you have a project or dxe to reproduce the crash or hang, it would be helpful to include it in the e-mail as well.

  • Share
  • History
  • More
  • Cancel
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Sign Up Now
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2024 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2024 Analog Devices, Inc. All Rights Reserved