Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"library_error" in QNX environment #150

Closed
xyy-jia opened this issue Nov 29, 2024 · 2 comments
Closed

"library_error" in QNX environment #150

xyy-jia opened this issue Nov 29, 2024 · 2 comments

Comments

@xyy-jia
Copy link

xyy-jia commented Nov 29, 2024

`#include <iostream>
#include <boost/interprocess/ipc/message_queue.hpp>
#include <boost/interprocess/permissions.hpp>



int main(){

    boost::interprocess::permissions permissions;
    printf("***************************** 1\n");


    int status = permissions.get_permissions();
    printf("***************************** 2 [0x%x]\n",status);



    // permissions.set_permissions(status); 
    // permissions.set_default();
    permissions.set_unrestricted();
    printf("***************************** 3.3\n");



    boost::interprocess::message_queue mq(boost::interprocess::open_or_create,"my_queue2",100,200);
    // mq.close();
    printf("***************************** 4\n");



    mq.remove("my_queue");
    printf("***************************** 5\n");

    return 0;
}`

Always report an error in the QNX environment:
erminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
what(): boost::interprocess_exception::library_error

@ashtum
Copy link
Collaborator

ashtum commented Nov 29, 2024

This is a repository for the Boost Search widget. Could you please open an issue here: https://github.com/boostorg/interprocess?

@xyy-jia
Copy link
Author

xyy-jia commented Dec 2, 2024

@ashtum ashtum closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants