Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

cl-clang: test_serialization: class boost::archive::archive_exception: unregistered class - derived class not registered or exported

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

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the linked AppVeyor output and the ptr_container test_serialization target, reproducing the clang-win-8.0.0 serialization test if possible. Trace the reported unregistered-class failure in the Pointer Container Test Suite and verify that the serialization test completes successfully without the archive_exception.

Written by the indexing model from the issue text.

Description

New issue uncovered by adding a cl-clang Appveyor build job:

https://ci.appveyor.com/project/jeking3/ptr-container-lviqw/builds/25773256/job/uvt8w5fjj452kjw4#L1554

testing.capture-output bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.run
====== BEGIN OUTPUT ======
Running 1 test case...
unknown location(0): fatal error: in "Pointer Container Test Suite/test_serialization": class boost::archive::archive_exception: unregistered class - derived class not registered or exported
*** 1 failure is detected in the test module "Master Test Suite"
 
EXIT STATUS: 201 
====== END OUTPUT ======
    set Path=C:\projects\boost-root\bin.v2\libs\serialization\build\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi;%Path%
    set status=0
    if %status% NEQ 0 (
        echo Skipping test execution due to testing.execute=off
        exit 0
    )
     "bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.exe"   > "bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.output" 2>&1 
    set status=%ERRORLEVEL%
    echo. >> "bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.output"
    echo EXIT STATUS: %status% >> "bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.output"
    if %status% EQU 0 (
        copy "bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.output" "bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.run"
    )
    set verbose=0
    if %status% NEQ 0 (
        set verbose=1
    )
    if %verbose% EQU 1 (
        echo ====== BEGIN OUTPUT ======
        type "bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.output"
        echo ====== END OUTPUT ======
    )
    exit %status%
...failed testing.capture-output bin.v2\libs\ptr_container\test\serialization.test\clang-win-8.0.0\release\address-model-64\cxxstd-11-iso\threading-multi\serialization.run...
Dominant language
C++
Stars
18
Forks
42
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from boostorg/ptr_container

All issues in boostorg/ptr_container

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.