QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I get a core dump from a running program?

Unofficial comp.os.linux.development.* FAQ
If you just want a program to terminate now and dump core, you can use the SIGABRT signal. This signal can be send from another process using kill. Or it can be send by the process itself using, kill, raise, or abort. If you want a core dump without killing the process, things start getting more tricky. You can create a child process by using the fork system call, and let the child dump core. The init program actually does this in its signal handlers.

Why does Expect dump core? Why can I run Expect as root but not as myself?

Expect FAQ (Frequently Asked Questions)
Sounds like something on your system is misconfigured. Everytime I've had reports like this (works as root, not as user), it's turned out to be /tmp was unwriteable or something equally improbable. The easiest way to find out is to use the debugger and tell me where Expect is dumping core. (If you don't understand this statement, ask a local C or C++ programmer.) an aside, you should be using the most recent version of Expect (currently 5.22.1). But I don't know of any problems in 5.

Why Does Free Dump Core?

Troubleshooting
In Linux 1.3.57 and later, the format of /proc/meminfo was changed in a way that the implementation of free doesn't understand.

Why does the gatherer dump core?

Harvest Indexer FAQ
Core dumps can occur for a variety of reasons. However - a number of people have reported core dumps occuring in the gatherer before any objects are fetched. This is most often caused by the site having a malformed robots.txt file. If you're attempting to fetch a page http://www.blob.org/blobby/blah.html then Harvest will first check the robots.txt file at http://www.blob.org/robots.txt The correct format of this file is documented at http://info.webcrawler.com/mak/projects/robots/norobots-rfc.

How can I make a suid executable dump core?

Unofficial comp.os.linux.development.* FAQ
If you have the source you can easily add a statement early in main to enable the dumpable flag. #include <sys/prctl.h> ... /* The last three arguments are just padding, because the * system call requires five arguments. */ prctl(PR_SET_DUMPABLE,1,42,42,42); If anybody know a clean and secure way to get core dumps from suid executables without a recompile please tell me about it.

Why does STM core dump on start-up?

Frequently Asked Questions (FAQs)
STM requires that the Motif and X Windows libraries be present on the system. If they are not, error messages similar to the following are displayed: If you see a message like this (the particular version of the library, which is ".4" in this case, may vary), load the Motif libraries from the HP-UX OS media.

Why is CORE++ *the* global solution for .net?

CORE++ FAQ - Frequently Asked Questions
Some people say that .net is a highly critical infrastructure for the Internet, and that VeriSign is the only institution that is capable of providing that infrastructure.

The errorlog says Apache dumped core, but where's the dump file?

Apache Server Frequently Asked Questions
In Apache version 1.2, the error log message about dumped core includes the directory where the dump file should be located. However, many Unixes do not allow a process that has called setuid() to dump core for security reasons; the typical Apache setup has the server started as root to bind to port 80, after which it changes UIDs to a non-privileged user to serve requests. Dealing with this is extremely operating system-specific, and may require rebuilding your system kernel.

I wrote a user-defined function. When I run it in psql, why does it dump core?

PostgreSQL FAQ
The problem could be a number of things. Try testing your user-defined function in a stand alone test program first.

Q17: Why does the compiler crash or produce a core dump?

C++ Development Environment - ugu
This is a Version 6.0 compiler problem. Users of the Version 6.0 compiler can encounter a GEM ASSERTION on code containing the expression b ? true : false. S: Upgrade to the latest version. If the problem persists, please report it to customer support. Be prepared to supply a preprocessed file along with the compiler flags that you are using.

What advantages would registrars have with .net being operated by CORE++?

CORE++ FAQ - Frequently Asked Questions
There are a lot of benefits for the registrars, due to the implementation of EPP, particularly because CORE++ offers some valuable and practical extensions to EPP, especially concerning the accounting. (The support of RRP will also be continued for at least one year.) In addition to that, with CORE++ operating .net, it is not only possible to query the actual status of a domain but also historical information.

Why do I get a SIGSEGV but no core dump?

Unofficial comp.os.linux.development.* FAQ
There are many possible reasons, I will try to list them all, but I could easily have forgotten some: The core would have been larger than the current limit. Verify if there is a limit and try to disable it. In bash, sh and similar shells type ulimit -a to see the current limits and type ulimit -S -c unlimited to disable the limit, finally verify that it has been disabled. In tcsh, csh and similar shells use limit and limit coredumpsize unlimited.

Why does my program dump core when built with Memory Advisor?

Frequently Asked Questions
In LITE mode, Memory Advisor performs memory filling to help you detect errors. When you allocate new memory, Memory Advisor fills that memory with a nonzero pattern (0xFE by default). If your program relies on that value being zero, and that value is a very large number, your program may dump core. By using a debugger on your program or core file, you can determine why your program dumped core and correct an otherwise undetected bug.

What difference does it make what type of tape I use?

Better Packages - FAQs
Reinforced water-activated tape is stronger and can be applied in a hot, cold, dusty or dirty environment. Pressure sensitive tape is adversely affected in extreme environments. It is not as secure as water-activated tape and is easier to pilfer.

How much of a donation should I make for a tape?

FAQ's
There is no specific amount. Each listener has different resources and different leadings of the spirit. For some, even $5 would be a great sacrifice. For others, a large amount in the eyes of the world would be almost nothing to them. Giving is truly individual. That is why we put no price on The Word. Although we are a fairly small church we send thousands of tapes to our television audience. Most from the television audience don’t send a donation.

I got a core dump, can you help me?

SSL/TLS Strong Encryption: FAQ - Apache HTTP Server
In general no, at least not unless you provide more details about the code location where Apache dumped core. What is usually always required in order to help you is a backtrace (see next question). Without this information it is mostly impossible to find the problem and help you in fixing it.

How does a buyer’s premium adversely effect net recovery?

Industrial Liquidations and Auctions-FAQ
Keep in mind, most bidders are intelligent and a buyer’s premium is irritating. First, it tends to depress turnout. Secondly, bidders can do the math in their heads but tend to err on the conservative side of their bidding. Say someone is bidding on something on which they will spend $10,000 but knowing a 10% buyer’s premium will be charged, they stop bidding at $9,000. OK, so you say you would have to pay that $1000 anyway.

XII. How do I make a screen-dump of my window and/or print it out?

Misc. X things
xv, developed by John Bradley, is a full-featured program for displaying and manipulating images in the GIF, JPEG, TIFF, PBM, PGM, PPM, X11 bitmap, Utah Raster Toolkit RLE, PDS/VICAR, Sun Rasterfile, BMP, PCX, IRIS RGB, XPM, Targa, XWD, PostScript (if GhostScript is available) and PM formats. It can also convert between most of those formats. xv 3.10a is shareware for personal use with a suggested registration fee of US$25.

How does .NET remoting work?

Andy Mc's .NET Framework FAQ
NET remoting involves sending messages along channels. Two of the standard channels are HTTP and TCP. TCP is intended for LANs only - HTTP can be used for LANs or WANs (internet). Support is provided for multiple message serializarion formats. Examples are SOAP (XML-based) and binary. By default, the HTTP channel uses SOAP (via the .NET runtime Serialization SOAP Formatter), and the TCP channel uses binary (via the .NET runtime Serialization Binary Formatter).
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact