Project

General

Profile

Actions

Bug #9437

closed

ru.ispras.microtesk.model.minimips.BufferPreparatorTestCase: QEMU4V crashes with general protection error on this test program

Added by Sergey Smolov about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Samples
Target version:
Start date:
01/18/2019
Due date:
% Done:

100%

Estimated time:
Detected in build:
master
Platform:
Published in build:
2.4.46-beta-191025

Description

When running the ru.ispras.microtesk.model.minimips.BufferPreparatorTestCase test case at Jenkins server, the following error takes place:

java.lang.AssertionError: Process has returned '139': "/srv/jenkins/workspace/MicroTESK/build/tools/qemu/bin/qemu-system-mips -M mips -cpu mips32r6-generic -d unimp,nochain,in_asm -nographic -singlestep -D /srv/jenkins/workspace/MicroTESK/build/test/minimips/buffer_preparator/buffer_preparator_0000-qemu.log -bios /srv/jenkins/workspace/MicroTESK/build/test/minimips/buffer_preparator/buffer_preparator_0000.elf" 
No error log is found, try to run command in terminal.

    at org.junit.Assert.fail(Assert.java:88)
    at ru.ispras.microtesk.model.minimips.MiniMipsTest.runCommand(MiniMipsTest.java:556)
    at ru.ispras.microtesk.model.minimips.MiniMipsTest.runCommand(MiniMipsTest.java:477)
    at ru.ispras.microtesk.model.minimips.MiniMipsTest.emulate(MiniMipsTest.java:311)
    at ru.ispras.microtesk.model.minimips.MiniMipsTest.compileAndEmulate(MiniMipsTest.java:273)

At Jenkins this event causes the general protection error as it is described in /var/log/messages (/var/log/kern.log):

kernel: [19535.492676] traps: qemu-system-mip[1930] general protection ip:56360bb9966c sp:7f50ad4776b8 error:0 in qemu-system-mips[56360b8eb000+8ff000]

To preproduce the error,uncomment ru.ispras.microtesk.model.minimips.BufferPreparatorTestCase class' code.

Actions

Also available in: Atom PDF