dump

Extract process dump from full memory dump

北城余情 提交于 2019-12-10 17:45:37
问题 I've reached a bug, but I was unable to create a process dump. I've created a full memory dump of system. How could I extract a process dump using it? Windows . 回答1: You cannot. In general, some of the memory segments that belong to your process could be paged out and not resident in physical memory. This means that with full kernel memory dump you are not guaranteed to reconstruct process address space. In many cases you can extract useful information about process from kernel dump. However

Generate dump with unmanaged code crash?

陌路散爱 提交于 2019-12-10 16:24:45
问题 Is there a way that I can get a full crash dump when my application crashes suddenly? The problem is that I suspect that it's due to unmanaged code that kills the .net framework itself, and because of that, unless there's a debugger attached to the application at the moment of the crash, the application doesn't even gets a chance to handle the crash. I can't attach a debugger and wait, because the crash happens randomly and we have many installed locations, so I'm wondering if it's possible

Icarus verilog dump memory array ($dumpvars)

女生的网名这么多〃 提交于 2019-12-10 16:13:55
问题 I try to dump an array (reg [31:0] data [31:0]) but I can't do it successfully. I've tried the way that is in the iverilog wiki: integer idx; for (idx = 0; idx < 32; idx = idx + 1) $dumpvars(0,cpu_tb.cpu0.cpu_dp.cpu_regs.data[idx]); It works, but 2 things happen. A warning shows up: VCD warning: array word cpu_tb.cpu0.cpu_dp.cpu_regs.data[0] will conflict with an escaped identifier. In GTKWave I have something like this in SST window: \data[0][31:0] Is there any solution about that? Thanks in

Where to find the heap dump after an “Out Of Memory”

我是研究僧i 提交于 2019-12-10 14:49:45
问题 I'm using ASANT to run a xml file which points to a NARS.jar file. I'm getting "java.lang.OutOfMemoryError: Java heap space" and i'm researching around this. So i have found that i need to set "-XX:+HeapDumpOnOutOfMemoryError", to create a dump file to analyze. I edited ASANT.bat and added the "-XX:+HeapDumpOnOutOfMemoryError" to ANT_OPTS: set ANT_OPTS= "-XX:+HeapDumpOnOutOfMemoryError" "-Dos.name=Windows_NT" "-Djava.library.path=%AS_INSTALL%\lib;%AS_ICU_LIB%;%AS_NSS%" "-Dcom.sun.aas

How can I dump a string in perl to see if there are any character differences?

泪湿孤枕 提交于 2019-12-10 11:19:25
问题 I've occasionally had problems with strings being subtly different, in some cases utf8::all changed the behavior, so I assume the subtle differences are unicode. I'd like to dump strings in such a way that the differences will be visual to me. What are my options for doing this? 回答1: I recommend the Dump function in the Devel::Peek module in the Perl core: $ perl -MDevel::Peek -e 'Dump "abc"' SV = PV(0x10441500) at 0x10491680 REFCNT = 1 FLAGS = (PADTMP,POK,READONLY,pPOK) PV = 0x10442224 "abc"

Running Salome script without graphics

巧了我就是萌 提交于 2019-12-10 05:34:57
问题 I exported a script from Salome (dump), and I want to run it in python (I'm doing some geometric operation and I don't need any graphics). So I removed all the graphic command, but when I try to launch my python file, python cannot found the salome libraries. I tried to export the salome path ('install_path'/appli_V6_5_0p1/bin/salome/) in PYTHONPATH and LD_LIBRARY_PATH but it still doesn't work. I also would like to know if it's possible to use only the geompy library without salome, and if

Perl hash Data::Dumper

 ̄綄美尐妖づ 提交于 2019-12-10 01:37:02
问题 In Perl I need to analyze a huge hash, so I print it into a file using Data::Dumper module. Because it is a huge file, it is very hard to read. Is it possible somehow to print Dumper output nicely, so when I will find a string that I am looking for, I will be able to see immediately key structure where the string I am looking for is stored? Currently I am using just a simple code: use Data::Dumper; ... print Dumper $var; What is the best syntax or alternative to get nice output? 回答1: I almost

Is there a way to update SQLITE database using deltas?

☆樱花仙子☆ 提交于 2019-12-09 10:53:48
问题 I would like to know if SQLite proposes a update mechanism based on some delta file, to be clear for example an Oracle database can be synchronized with sql redo logs or snapshot logs. Does SQLite proposes an optimized mechanism to update itself. My use case is the following, I have a local database which must be synchronized with some remote data, in ideal world I would like to build in an optimized format the changes and only them, not all the database, is there some native SQLite mechanism

How would I create a hex dump utility in C++?

◇◆丶佛笑我妖孽 提交于 2019-12-08 23:37:36
问题 Basically, I need to write a hex dump utility using C++. It'll look something like this (Part of a Word document's hex dump using Visual Studio) I want to prompt the user for a file name, and then display the hexadecimal values as well as the translated ASCII characters. I'm still new at working with binary files, so if you could keep it simple, that would be much appreciated. 回答1: I don't normally do this for your kind of question.... But it doesn't take much to knock something like this up,

Why is a SVN dump of a single revision larger than a full dump?

自古美人都是妖i 提交于 2019-12-08 18:18:25
问题 My repository is 2.5G. A dump via svnadmin dump myrepos > dumpfile is 5G. But when I do a dump like svnadmin dump myrepos -r 23785 > rev-23785.dumpfile where 23785 is the youngest revision the dump goes beyond 15G and at that point I stop the dump. When requesting a dump for just the one revision, why is the result far larger than the entire dump? 回答1: This page explains: http://linuxtopia.org/online_books/programming_tool_guides/version_control_with_subversion/svn.reposadmin.maint_8.html "To