esrlabs / chipmunk

log analysis tool
Apache License 2.0
554 stars 39 forks source link

ArchLinux: Crash when opening DLT file with Fibex #673

Closed weinshec closed 4 years ago

weinshec commented 4 years ago

Prerequisites

affected version: 1.36.0

make sure to check this before filing an issue:

Expected Behavior

Opening a DLT file using a Fibex reference file opens and parses the DLT files content

Current Behavior

Main UI shows "All tasks in queue" being stuck at 0%, nothing is loaded. image

Failure Information (for bugs)

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Open Chipmunk
  2. Select DLT file for opening
  3. Select Fibex reference file
  4. Click Open

Context

Failure Logs

Please include any relevant log snippets or files here.

[2020-02-04T13:43:01.849Z][ENV][ServiceElectron]: Hardware acceleration is disabled.
[2020-02-04T13:43:01.946Z][ENV][Application]: Application initialization: stage #1: starting...
[2020-02-04T13:43:01.946Z][ENV][Application]: Init: ServicePatchesBefore
[2020-02-04T13:43:01.947Z][ENV][Application]: Application initialization: stage #1: OK
[2020-02-04T13:43:01.947Z][ENV][Application]: Application initialization: stage #2: starting...
[2020-02-04T13:43:01.947Z][ENV][Application]: Init: ServiceProduction
[2020-02-04T13:43:01.995Z][ENV][ServiceProduction]: Production is: ON
[2020-02-04T13:43:01.996Z][ENV][Application]: Application initialization: stage #2: OK
[2020-02-04T13:43:01.996Z][ENV][Application]: Application initialization: stage #3: starting...
[2020-02-04T13:43:01.996Z][ENV][Application]: Init: ServicePaths
[2020-02-04T13:43:01.997Z][ENV][ServicePaths]: Paths:
    home: /home/weinshec/.chipmunk
    root: /opt/chipmunk/resources/app/dist/compiled
    app: /opt/chipmunk/resources/app/dist/compiled
    exec /opt/chipmunk/app
    resources /opt/chipmunk/resources
    plugins /home/weinshec/.chipmunk/plugins
    plugins settings /home/weinshec/.chipmunk/plugins.cfg
    default plugins /opt/chipmunk/resources/app/dist/compiled/plugins
    sockets /home/weinshec/.chipmunk/sockets
    streams /home/weinshec/.chipmunk/streams
    modules /opt/chipmunk/resources/app/node_modules
[2020-02-04T13:43:01.997Z][ENV][Application]: Application initialization: stage #3: OK
[2020-02-04T13:43:01.997Z][ENV][Application]: Application initialization: stage #4: starting...
[2020-02-04T13:43:01.997Z][ENV][Application]: Init: ServicePackage
[2020-02-04T13:43:02.009Z][ENV][ServicePackage]: package.json file successfully read from /opt/chipmunk/resources/app/dist/compiled/package.json.
[2020-02-04T13:43:02.009Z][ENV][Application]: Application initialization: stage #4: OK
[2020-02-04T13:43:02.009Z][ENV][Application]: Application initialization: stage #5: starting...
[2020-02-04T13:43:02.009Z][ENV][Application]: Init: ServiceConfig
[JS]: 1580823795108: shutdownAcknowledged
[JS]: 1580823795109: shutting down loop
[JS]: 1580823806357: using fibex: /home/weinshec/scratch/FibexDlt.xml
[JS]: 1580823806364: >>> error on promise poll: Error: Failed to receive rust event
[JS]: 1580823806365: [BAD] UnhandledRejection: Failed to receive rust event
[2020-02-04T13:43:26.365Z][ERROR][Application]: [BAD] UnhandledRejection: Failed to receive rust event
weinshec commented 4 years ago

Why was this closed? Just tested with the latest release 1.38.1 and the issue still persists.

DmitryAstafyev commented 4 years ago

I will retest it with Arch Linux

marcmo commented 4 years ago

@weinshec please retest with 1.40. I fixed s.th. for fibex parsing that should at least support your error case.