Project

General

Profile

Bug #9437

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

Added by Sergey Smolov 10 months ago. Updated 4 days 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.

History

#1

Updated by Sergey Smolov 10 months ago

  • % Done changed from 0 to 100
  • Target version set to 2.4
  • Status changed from New to Resolved
  • Category set to Samples

Fixed in 686536a3

#2

Updated by Sergey Smolov 13 days ago

  • Published in build set to 2.4.46-beta-191025
  • Assignee set to Sergey Smolov
#3

Updated by Alexander Kamkin 4 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF