New issue
Advanced search Search tips

Issue 800229 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Jan 2018
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Syscall.ComplexSyscallSixArgs in sandbox_linux_unittests crashed on loongson

Reported by wangqing...@loongson.cn, Jan 9 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux mips64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3096.2 Safari/537.36

Steps to reproduce the problem:
1. build sandbox_linux_unittests
2. run sandbox+linux_unittests
3. 

What is the expected behavior?
passed

What went wrong?
[ RUN      ] Syscall.ComplexSyscallSixArgs
Received signal 10 <unknown> 000000000000
#0 0x00ffe9d3a2a4 base::debug::StackTrace::StackTrace()
#1 0x00ffe9d39f18 base::debug::StackTrace::StackTrace()
#2 0x00ffe9d3a73c base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x00ffffffc010 ([vdso]+0xf)
#4 0x00ffe95eae2a __GI_memcmp
#5 0x00ffe9cc210c sandbox::(anonymous namespace)::Syscall_ComplexSyscallSixArgs_Test::TestBody()
#6 0x00ffe9cf5ecc testing::Test::Run()
#7 0x00ffe9cf6078 testing::TestInfo::Run()
#8 0x00ffe9cf61d0 testing::TestCase::Run()
#9 0x00ffe9cf7e0c testing::internal::UnitTestImpl::RunAllTests()
#10 0x00ffe9cf80d0 testing::UnitTest::Run()
#11 0x00ffe9d80cf4 base::TestSuite::Run()
#12 0x00ffe9d83568 base::(anonymous namespace)::LaunchUnitTestsInternal()
#13 0x00ffe9d841e8 base::LaunchUnitTests()
#14 0x00ffe9d81274 base::RunUnitTestsUsingBaseTestSuite()
#15 0x00ffe9c4da34 main
#16 0x00ffe95771a0 __libc_start_main
#17 0x00ffe9c586c0 <unknown>
[end of stack trace]
Calling _exit(1). Core file will not be generated.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 60.0.3096.2  Channel: n/a
OS Version: 
Flash Version:
 
Initial patch that Fix syscall unittest: Syscall.ComplexSyscallSixArgs on Loongson has just been submitted for a review.

It can be viewed at:
https://chromium-review.googlesource.com/c/chromium/src/+/856217
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 10 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/70fab0fe60ffd37cf5d99332fed83adc22eaa8de

commit 70fab0fe60ffd37cf5d99332fed83adc22eaa8de
Author: Wang Qing <wangqing-hf@loongson.cn>
Date: Wed Jan 10 02:08:49 2018

Fix syscall unittest: Syscall.ComplexSyscallSixArgs on Loongson.

The bug comes from test unit: sandbox_linux_unittests
The crashed case: Syscall.ComplexSyscallSixArgs

Due to system pagesize on Loongson different from x86,
therefore, something dependent on the pagesize needs to be modified.

Bug:  800229 

R= palmer@chromium.org

Cq-Include-Trybots: master.tryserver.chromium.android:android_arm64_dbg_recipe;master.tryserver.chromium.android:android_compile_mips_dbg;master.tryserver.chromium.android:android_compile_x64_dbg;master.tryserver.chromium.android:android_compile_x86_dbg
Change-Id: I8de1437980fba0aee016d25a458b1b6d2e38be3f
Reviewed-on: https://chromium-review.googlesource.com/856217
Commit-Queue: 汪 清 <wangqing-hf@loongson.cn>
Reviewed-by: Chris Palmer <palmer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#528212}
[modify] https://crrev.com/70fab0fe60ffd37cf5d99332fed83adc22eaa8de/sandbox/linux/seccomp-bpf/syscall_unittest.cc

Status: Fixed (was: Unconfirmed)

Sign in to add a comment