question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

looser throw specifier for ‘virtual const char* google::protobuf::FatalException::what() const’

See original GitHub issue

Hi, I am trying to run a cpp triton client on jetson Agx with jetpack 4.6 installed. I encountered this error while trying to cmake and make my program :

/home/jaydon/Documents/tritonserver/clients/include/google/protobuf/stubs/common.h:199:23: error: looser throw specifier for ‘virtual const char* google::protobuf::FatalException::what() const’ virtual const char* what() const throw();

The cmake was built using Cxx 17

I tried building the client repo and run the cpp example, i can run most of the example except those with cuda shm. i will have this error CUDA exception (line 113): cudaErrorNotSupported (operation not supported) when i run the cuda shm code

Any idea what causes this to happen? Thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JaydonChioncommented, Nov 17, 2021

@tanmayv25 , no I didn’t solve the issue. But I managed to found a work around which is to build the code in a DeepStream docker

0reactions
tanmayv25commented, Nov 17, 2021

@JaydonChion Were you able to resolve the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

looser throw specifier for 'virtual const char* ro_err::StdErr
it raise looser throw specifier for 'virtual const char* ro_err::StdErr::what() const' , I have following questions: what is looser? what is ...
Read more >
Looser throw specifier for 'virtual void Logger::log' - TensorRT
Description looser throw specifier for 'virtual void Logger::log(nvinfer1::ILogger::Severity, const char*)' Environment TensorRT 8.0.1 void ...
Read more >
looser throw specifier for 'virtual void Logger::log(nvinfer1 ...
Getting the following error when trying to run the lenet example. How do I fix it?
Read more >
Looser throw specifier error in C++ - Make More Machines
It occurs when a method in a derived class has a different throw specifier (the set of allowed objects that can be thrown...
Read more >
looser throw specifier for virtual... - C Board
Hey, here's the error: "error: looser throw specifier for virtual OutOfMemory::~ ... Incidentally, I note that what() returns a const char*, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found