Wind River Support Network

HomeDefectsLIN6-2630
Not to be fixed

LIN6-2630 : Feature Testing: "Read access not allowed" leads to failure of mthread debug.

Created: Mar 17, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-3356
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Networking

Description

Problem Description
======================
Feature Testing: "Read access not allowed" leads to failure of mthread debug.


Expected Behavior
======================
Succeed to debug mthread.


Observed Behavior
======================
NA

Logs
======================
See the attached.

Misc Info
======================
NA

Steps to Reproduce

(1) configure for a CGL build.

../wrlinux-5/wrlinux/configure --enable-board=fsl-p2020 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-parallel-pkgbuilds=20 --enable-jobs=20 --with-template=feature/analysis,feature/debug,feature/debug-wb,feature/gdb,feature/kernel-debug,feature/boottime,feature/code_coverage

make fs

(2) Start up workbench and delete idle connections.
	./startWorkbench.sh
	Input the path of the workspace and click ok button in Workspace Launcher window.

(3) Import the platform project.
	File-> Import...->Wind River Linux-> Existing Wind River Linux Platform Project into Workspace
	-> Next
	Input the path of the platform path in Wind River Linux project location.
	-> Finish

(4) Compile an application project.
	File-> New-> Example...-> Wind River Linux Application Sample Project-> Next-> 
	The Multi-Thread Demonstration Program-> Finish
	Click "Set Active Build Spec and Debug Mode" button and select a right spec.
	Project-> Build Project

(5) Define a connection to remote system. 
For a real target, see the following:
	Run "usermode-agent -daemon &" in the target console.
	Click "Define a connection to remote system" button in Remote Systems.
	Wind River Linux->Wind River Linux User Mode Target Server Connection. Next->
	Target name or address: <Target ip>
	Input the path of root fs in Root File System, such as ${project_path}/export/dist.
	Next->Next->Finish

	For a qemu target, see the following:
		Click "Define a connection to remote system" button in Remote Systems.
		Wind River Linux->Wind River QEMU Linux User Mode Target Server Connection. Next->
		Input the path of the project in Root directory.
		Next->Next->Finish

(6) Right click the mthread project in Project Explorer and select "Debug linux application process".
	Click "Exec Path on Target:".
	Click "Debug" button.

"Read access not allowed" error occurs.

Other Downloads


Live chat
Online