Debug errors: pthread_join.c can't find - debugging

Everybody,when I training the net,there comes an critical problem, then I debug the code and it shows:
0x00007ffff23c866b in pthread_join (threadid=140736858203904,
thread_return=0x0) at pthread_join.c:92
92 pthread_join.c: No such file or directory.
This error cause the data_layer can't working normally. But there is an declaration in data_lay.cpp. Does anybody know how to resolve this problem?

Related

Goland ssh debug mode fail: executable doesn't containt debug information

I use Goland ssh to write code. I fail to use debug mode in my project, the breakpoints turn into gray crossed circles and report error "executable doesn't containt debug information".
The error information is here.
This is the Run/Debug Configuration of my project
However, I still could use debug mode and set normal breakpoints in Testing file.
I met exactly the same problem just now.
Finally I find the reason is the function which I set breakpoint doesn't been called in the repo.
It's called by another repo, so compile and debug the repo that call this function can solve this problem.
The error "error layer=debugger error loading binary "/lib/x86_64-linux-gnu/libpthread.so.0": could not parse .eh_frame section: pointer encoding not supported 0x9b at 0x12e8" still exists, but the breakpoints won't turn into gray crossed circles.
please see this https://youtrack.jetbrains.com/issue/GO-13005 .
Next 2022.2 nightly build bundles delve which doesn't produce an error.

Throwing error while debug and run PO command in Xcode 12

When I am running application on simulator or device and try to use PO command during debug. Xcode is throwing error instead of printing value. It is happening after I have updated Xcode 12.
error: virtual filesystem overlay file
/all-product-headers.yaml' not found
error: couldn't IRGen expression. Please check the above error messages for possible root causes.
What is the solution for this ?
Any help would be appreciated.
Go to /Users/<YOUR_USER>/Library/Developer/Xcode/ and delete "DerivedData" folder.
If in the path of the missing file is the name of a framework e.g. Usabilla.build/Release-iphonesimulator/Usabilla.build/all-product-headers.yaml
Try using an older version, using version 6.4.7 of Usabilla fixed the issue for me.
If the above fixes don't work, here are some info that might help:
https://steipete.com/posts/couldnt-irgen-expression/

Internal compiler error when UseDotNetNativeToolchain is true

I have a UWP app that compiles successfully if I have UseDotNetNativeToolchain off. But when I turn it on, it gives me the cryptic error:
Internal compiler error: Object reference not set to
an instance of an object. UWPApp C:\Program Files
(x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets 887 Build
This is all it gives me. What could be causing this? How can I drill down on this.
Using VS2015
Here is the full build output in case that helps:
https://gist.github.com/shannah/e24fe8456313fb9ad98577c9a812f357
The solution to this problem was to disable optimization in a few assemblies I was using in the Default.rd.xml file. E.g.
<Assembly Name="IKVM.OpenJDK.Core" Dynamic="All" DoNotInline="true" DoNotOptimize="true"/>

Xcode bigobj option

hi XCode 5 failed to compile file in 32-bit due to the size of the object file.
I tried to add -Bigobj flag but it doe not change anything.
I tried to change optimization settings without success.
the error is : "fatal error: error in backend: Section too large, can't encode r_address (0x1001a97) into 24 bits of scattered relocation entry."
There is no problems when compiling in 64-bit.
Does anyone have an idea about it ?
Thanks

Build failed due to error in CLEErrorDomain.h

I'm getting an odd error in line 18 of the CLErrorDomain.h under CoreLocation.framework.
The line is
extern NSString *const kCLErrorDomain;
and there is an error for "Expected identifier or "("
I haven't messed with this file at all, and it's locked anyways so it would be difficult to change. Why is this error coming up, and what can I do to get rid of it?
I've tried restarting xCode, cleaning my project and taking CoreLocation out of my project and putting it back in.
Thanks
Alright, the issue ended up not being in the CLErrorDomain.h
While looking at the error log, I noticed it was erroring out when it tried to compile the main.m... at the very top of the main.m file there was a stray "^" mark before any of the code and that was what was causing the error.

Resources