oneapi-src / oneapi-src/unified-runtime

Avoid seg-faulting when CTS executed with no link to UR library path

Open
#952 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

conformance enhancement
Dominant language
C++
Stars
57
Forks
120
Avg merge
1d 14h
Merged PRs (30d)
1

Description

If we try running CTS tests without having UR libraries being detected (LD_LIBRARY_PATH), the tests will seg-fault. This could make a confusion if the seg-fault could be coming from running the tests itself. It would be great to have CTS tests detect that and report it, to avoid runtime seg-fault from not finding UR.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CTS test runner and reproduce the failure with LD_LIBRARY_PATH unset or without the UR library path. Trace how missing UR libraries are handled before tests begin, then verify that CTS reports the missing path instead of seg-faulting.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.