When I run my .net 4.0 winforms application, I see tons of output in debugview (the following is an excerpt). I routinely use debugview for debug messages so all this extra stuff can get quite noisy.
[8092] *** HR propagated: -2147024774
[8092] *** Source File: d:\iso_whid\x86fre\base\isolation\com\enumidentityattribute.cpp, line 144
[8092]
[8092]
[8092] *** HR originated: -2147024774
[8092] *** Source File: d:\iso_whid\x86fre\base\isolation\com\copyout.cpp, line 1302
[8092]
[8092]
[8092] *** HR propagated: -2147024774
[8092] *** Source File: d:\iso_whid\x86fre\base\isolation\com\enumidentityattribute.cpp, line 144
[8092]
[8092]
[8092] *** HR originated: -2147024774
[8092] *** Source File: d:\iso_whid\x86fre\base\isolation\com\copyout.cpp, line 1302
Does anyone know why this happens, and if/how I can prevent it?
I searched forever online before posting this question, but of course I find something as soon as I ask it.
This is a bug already reported here:
http://connect.microsoft.com/VisualStudio/feedback/details/535084/vs2010-debug-output-should-be-cleaned-up
Apparently, there are many aspects to this verbose debug output so it will take some time (next .net release) to get all the fixes released.
VS 2010 SP1 is available now.
Workaround is to add some Exclude filters, but doesn't exclude blank lines:
*originated*;*iso_whid*;*propagated*; ;
This has not been totally fixed in VS SP1, afaik. I have started a light alternative DebugView community project here that can strip empty lines: http://tracespy.codeplex.com/ and also filter out those pesky "* HR" traces...
Related
I have been using python-libevent (https://pypi.org/project/python-libevent/) with multiple
versions of Python without any issues. Now, when I am trying to migrate to Python-3.8,
I see that a event_add() from my C code segfaults! and I am not getting much
from the backtrace/gdb!
I tried with python3.8-dbg and rebuilding libraries with debug symbols, still not getting
any clues!
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007fe4bc2f804e in event_add (ev=0x7fe4bba0d000, tv=0x7fe4bba0c020) at event.c:2443
where
2443: EVBASE_ACQUIRE_LOCK(ev->ev_base, th_base_lock);
Can anyone please help me on how to debug this further! I checked that I have enabled
pthreads and debug:
evthread_use_pthreads();
evthread_enable_lock_debugging();
event_enable_debug_mode();
event_enable_debug_logging(EVENT_DBG_ALL)
Has anything changed in the usage of libpython APIs - related to
memory-handling/capsules between 3.6 and 3.8 ? (my code works up until Py3.6)
libevent version: 2.1.8-stable
Py3.8 version: 3.8.0
Any help/pointers to debug much appreciated.
--More info--
After debugging with valgrind (helgrind tool) I see :
==13558== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==13558== Bad permissions for mapped region at address 0x0
==13558== at 0x0: ???
In my module, when I call event_add()!
Is there any restriction on
adding event to a event-base owned by a different module ?
I'm receiving a warning when trying to run a hello world script.
I'm just curious to see if there was a quick fix to remove this warning. I read somewhere to change the linker it's using but not sure how to do that. Thanks for any input!
POLINK: warning: /SECTION:.bss ignored; section is missing.
c:\TEMP\ASSEMBLY\hla>path=c:\TEMP\ASSEMBLY\hla;c:\TEMP\ASSEMBLY\hla;C:\Program Files\Java\jdk-13.0.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\nodejs\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\TEMP\ASSEMBLY\hla;C:\Ruby24-x64\bin;C:\Program Files\Java\jdk-13.0.2\bin;C:\Users\thegu\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\thegu\AppData\Local\Programs\Python\Python38\;C:\Users\thegu\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\thegu\AppData\Local\Programs\Python\Python37\;C:\Users\thegu\AppData\Local\Microsoft\WindowsApps;C:\Users\thegu\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\JetBrains\PhpStorm 2019.3.1\bin;;C:\Users\thegu\AppData\Roaming\npm;
c:\TEMP\ASSEMBLY\hla>set lib=c:\TEMP\ASSEMBLY\hla\hlalib
c:\TEMP\ASSEMBLY\hla>set hlainc=c:\TEMP\ASSEMBLY\hla\include
c:\TEMP\ASSEMBLY\hla>set hlalib=c:\TEMP\ASSEMBLY\hla\hlalib\hlalib.lib
c:\TEMP\ASSEMBLY\hla>cd ..\hlahello
c:\TEMP\ASSEMBLY\hlahello>fhla hello
flat assembler version 1.56
5 passes, 819 bytes.
POLINK: warning: /SECTION:.bss ignored; section is missing.
I am trying to program a Microchip pic mirocontroller. I am using Ubuntu 14.04LTS. When ever I try to build my project with MPLABX IDE and C30 v3.30c compiler, after all the files have been compiled, I get,
Segmentation fault (core dumped)
make[2]: *** [dist/default/production/MYproj.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[2]: Leaving directory `/home/siddharth/work/MYproj.X'
make[1]: Leaving directory `/home/siddharth/work/MYproj.X'
BUILD FAILED (exit value 2, total time: 4s)
I'm almost sure it is got something to do with my setup of the IDE as I have already used ubuntu and MPLABX for embedded development without any issues.
Can some one help me? any help would be greatly appreciated.
Thanks!
This is an Internal Compiler error, a bug in the Compiler, triggered by a code sequence in your project. Typically the Compiler reports the line of code where the Segment fault has happened, along with the Compiler's source file name.
Most probably this should be fixed with the MPLAB C30_v3.31, which is available for download from the address
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2115
If not then you can try the latest XC16 Compiler, available for download from the website
microchip.com/compilers
If the issue persists, submit a ticket to the "support.microchip.com"; along with your complete project; so that Microchip can look into this and fix the issue.
I am trying to build a Windows Phone app. I am currently getting an error:
Processing Resources with error: Invalid qualifier value.
File: MakePri
and
Invalid qualifier: (null)
File: MakePRI
I was originally using the Multilingual App Toolkit, but I have since disabled it to no effect. When building with verbose output, I see (personal information redacted):
8>Using "GenerateProjectPriFile" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.Build.AppxPackage.dll".
8>Task "GenerateProjectPriFile"
8> C:\Program Files (x86)\Windows Kits\8.1\\bin\x86\MakePri.exe New -ProjectRoot [Redacted] -ConfigXml obj\Debug\priconfig.xml -OutputFile [Redacted] -ExtensionDll "C:\Program Files (x86)\Windows Phone Kits\8.1\bin\x86\MrmEnvironmentExtDl.dll" -IndexName 14de7fbe-f3e3-43a8-a9df-dddc72828f37 -Verbose -Overwrite
8> Option Verbose specified
8> Option Overwrite specified
8> Index Pass Completed: obj\Debug\layout.resfiles
8> Scale Qualifiers: 240
8>
8> Index Pass Completed: obj\Debug\resources.resfiles
8>
8>MakePri : error 0x80073b0a: Processing Resources with error: Invalid qualifier value.
8>
8>
8>MakePRI : error 0xdef00042: Invalid qualifier: (null)
8> The command exited with code -2147009782.
8>Done executing task "GenerateProjectPriFile" -- FAILED.
The output in Diagnostic mode does not give much more information.
Scaled images are only needed for the phone, so move them all to the "Assets" folder in the phone project, and single copies in the Windows "Assets" folder without qualifiers in their names. It was the only way I got the error messages to go away.
Solution
I had a portable class library that for some reason had the BCL Build Components installed to it when it didn't use them at all. I removed them from the PCL via Nuget and the problem went away.
I'm using RAD 8.0.4 version. After installing plugins like SVN, Maven and PMD, when I try to open 'Deployment Assembly' option for any EAR project(right click->properties->deployment assembly) its showing that "The currently displayed page contains invalid values".
Can anyone help me out to solve this..??
I met the same issue, and the log in .metadata/log like this:
!ENTRY org.eclipse.jface 4 2 2012-11-23 11:37:45.031
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoSuchMethodError: org/eclipse/jst/j2ee/componentcore/J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(Lorg/eclipse/wst/common/componentcore/resources/IVirtualFolder;)Lorg/eclipse/core/runtime/IPath;
I had this same issue. It was because I didn't have all projects being referenced, in my workspace. To fix the issue, I had to remove the references. To do that, I had to open the referenced projects first, then open the deployment assembly, and remove the reference.