473,782 Members | 2,487 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

panic error

Hi,

I am compiling a C program on Hp-UX11.11 using the HP C compiler.

% cc test.c (say for example....)

I get the following message and the compilation is aborted.

% cc: panic 3011:

What does this mean ??

Thanks for help in advance.

Jan 10 '07
15 1488
On Wed, 10 Jan 2007 15:54:44 -0600, jacob navia wrote
(in article <45************ **********@news .orange.fr>):
Randy Howard a écrit :
>hint: UNIX programs don't panic. The kernel does, in circumstances
where you get to something like:

/* uh oh, we're never supposed to wind up here */
panic();

otherwise known as unfinished code, or a condition so bad that no
reasonable error handling strategy is available other than a system
crash.

Whoever put that message in a C compiler was just being silly.

You are too hard with the software developers!
Au contraire, the population in general is not nearly hard enough on
them. Besides, calling somebody "silly" isn't very rough, even in this
insane period of political correctness.
If you assume that the shared library with the preprocessor is
in the installation directory and some moron student erased
it to make fun of his fellow students that is NOT something
you can foresee, for instance.
It's also a hell of lot more useful to write something like:

Error: There is something badly wrong with the installation directory:
/usr/contrib/mycc

But hey, "Panic:" is just oh so much more fun, and a sure sign that the
implementor had no idea what a real panic-level error entails.
And it was better to write some diagnostic message than just crashing
like many windows programs do!
Well sure. But that last problem is easily rectified by reinstalling a
proper operating system on the offensive hard drive.
Normally C compilers (and in HP Unix machines) will never give such
an error. But if a component of the compiler is missing, for instance
that one that outputs error messages, the ONLy thing to do is just
write some diagnostics into the screen and exit.
"Panic:" is /not/ a useful diagnostic in a C compiler.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Jan 10 '07 #11
Randy Howard wrote:
On Wed, 10 Jan 2007 14:59:23 -0600, jacob navia wrote
(in article <45************ ***********@new s.orange.fr>):
>Richard Tobin a écrit :
>>In article <45************ **********@news .orange.fr>,
jacob navia <ja***@jacob.re mcomp.frwrote:
Sometimes this "fixes" itself by just reinstalling.

Are you by any chance a Windows user?

-- Richard
"panics" are very often bad installation or missing
parts of the software.

Yes, I am a windows user. No, I have never seen
software under windows "panic", that is a thing
that only happens to me under unix.

windows programs do not "panic", they just crash.

hint: UNIX programs don't panic. The kernel does, in circumstances
where you get to something like:

/* uh oh, we're never supposed to wind up here */
panic();

otherwise known as unfinished code, or a condition so bad that no
reasonable error handling strategy is available other than a system
crash.

Whoever put that message in a C compiler was just being silly.
That is not entirely true. I've seen compilers (especially the compiler
that comes with HPUX) throw this very same error (after spewing out
others) when it encounters more errors than it is designed to handle at
once. I suspect this is what the OP's issue is. The compiler is actually
producing informative messages before it reaches this point; check your
logs, terminal, or do not redirect output from the compiler. If this is
not the case then run your compiler via a debugger and find out where it
is crashing.
Jan 11 '07 #12
On 9 Jan 2007 22:28:09 -0800, ni**********@gm ail.com wrote:
>Hi,

I am compiling a C program on Hp-UX11.11 using the HP C compiler.

% cc test.c (say for example....)

I get the following message and the compilation is aborted.

% cc: panic 3011:

What does this mean ??

Thanks for help in advance.
Could you kindly post the code in test.c, or whatever file you're
trying to compile?

Thanks
--
jay
Jan 11 '07 #13
jaysome <ja*****@hotmai l.comwrites:
On 9 Jan 2007 22:28:09 -0800, ni**********@gm ail.com wrote:
>>I am compiling a C program on Hp-UX11.11 using the HP C compiler.

% cc test.c (say for example....)

I get the following message and the compilation is aborted.

% cc: panic 3011:

What does this mean ??

Thanks for help in advance.

Could you kindly post the code in test.c, or whatever file you're
trying to compile?
That's unlikely to be helpful; "panic 3011" probably indicates a bug
in the compiler, not a diagnostic about the program.

The OP needs to ask in another newsgroup, most likely
comp.sys.hp.hpu x.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Jan 11 '07 #14
Spiros Bousbouras a écrit :
jacob navia wrote:
>>Randy Howard a écrit :
>>>On Wed, 10 Jan 2007 14:59:23 -0600, jacob navia wrote
(in article <45************ ***********@new s.orange.fr>):

Richard Tobin a écrit :
>In article <45************ **********@news .orange.fr>,
>jacob navia <ja***@jacob.re mcomp.frwrote:
>
>
>
>
>>Sometim es this "fixes" itself by just reinstalling.
>
>
>Are you by any chance a Windows user?
>
>-- Richard

"panics" are very often bad installation or missing
parts of the software.

Yes, I am a windows user. No, I have never seen
software under windows "panic", that is a thing
that only happens to me under unix.

windows programs do not "panic", they just crash.
hint: UNIX programs don't panic. The kernel does, in circumstances
where you get to something like:

/* uh oh, we're never supposed to wind up here */
panic();

otherwise known as unfinished code, or a condition so bad that no
reasonable error handling strategy is available other than a system
crash.

Whoever put that message in a C compiler was just being silly.

You are too hard with the software developers!
If you assume that the shared library with the preprocessor is
in the installation directory and some moron student erased
it to make fun of his fellow students that is NOT something
you can foresee, for instance.


What's the "installati on directory" ? Is it one which
anyone can write ?
Supposedly not, but who knows who made the mistake?
Jan 11 '07 #15
Hi,

Thanks for all the info people....someb ody asked for the code in
test.c, but sorry I am not authorised to do that.

Anyway...the problem seems with the HPUX C compiler and with some of
its patches....bcoz the program compiles on HPUX with the GCC
compiler.

Thanks once again.

Jan 11 '07 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1812
by: Berislav Lopac | last post by:
I apologize for the loud subject, but I am on a very tight schedule and I simply *need* to get things going. For some reason, I can't get the LDAP extension to work on my WindowsXP/Apache configuration, and I need it to make a simple script for querying LDAP servers. I tried with PHP5, and now I get the same problem with PHP4: when the required auxiliary dlls are correctly installed, I get the error "The operating system cannot run %1"....
0
1998
by: Andrew Zhilenko | last post by:
Hello! We use embedded Perl (5.8.2) into the RADIUS server (using persistent interpreter as described in perlembed). The problem is if the Perl code uses some module, which is not available on the local system (e.g. Crypt::CBC) the evaluation fails with "panic: top_env" message and the whole process exits... Any ideas or suggestions how it can be avoided - that instead of this we would just get error, catchable in eval {...}? WBR,...
0
2432
by: dsclements | last post by:
>Description: I'm running mysql in a 3 server configuration, with 2 servers being slaves to the first. I'm running vpopmail, which means a connection every incoming mail and every check. I woke up this morning to a mysql that wasn't answering connections, and that had left this in the log: 030716 13:48:06 InnoDB: Started mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the...
0
2411
by: Jeremiah Elliott | last post by:
I have a java application that pulls data off db2/400 an inserts it into a postgres(7.3.2) database. The jdbc errors out with this message: ConnectionBean: Driver not loaded Something unusual has occured to cause the driver to fail. Please report this exception: Exception: java.sql.SQLException: FATAL: The database system is starting up Stack Trace: java.sql.SQLException: FATAL: The database system is starting up
5
1394
by: Chris Ochs | last post by:
I have been able to crash the server a few times with the following function when it is called on a user and schema that was recently deleted. Following is a log of what happened and also the function that was called. This is 7.4.3 on Freebsd 5.2.1. It doesn't always panic when it encounters a deleted user/schema, it's kind of sporadic but happens often enough that it's easy to duplicate. Chris ...
2
2122
by: Andrew Sukow | last post by:
Greetings, Our postgres system crashed and upon restarting it our database had the following errors. The error log was 4.5 gigs which is much larger than usual. We looked online for information about lost left siblings and how to fix the data and not lose the 400 million records we have. Anyone have an idea what's the matter and what the fix is? LOG: database system was interrupted while in recovery at 2004-08-17 08:59:41 PDT HINT: ...
2
1055
by: Carlos Albert | last post by:
Hi folks, I started working using a new computer, with a new Win, VS2005, etc, installation. But every trime I try to debug the solution I was working with, I get this error... any help will gonna be preciated: Error 1 Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
0
1166
by: pk2068 | last post by:
Hello. I would like to have a built-in ALSA support for my VIA soundcard. When i selected it like a module , all works fine, and the new kernel boots with its appropriate initrd image. BUT, when i selected it like a build-in , the new kernel doesnt boot. It just puts. "kernel panic". I was using kernels from 2.6.15 to 2.6.21. It is interesting that in some releases you even don't have the possibility to mark an alsa suport vor...
1
1519
by: cpptutor2000 | last post by:
I am trying to debug some kernel software and running into a kernel panic problem. The OS is Linux 2.6.18 and I am running on a PMC-Sierra processor. When the kernel panic occurs, there is a call trace. Now as this is an embedded system application, my only debugging statements is to apply debug print statements at appropriate locations and find out how many of them get printed out before the panic occurs. I am starting from the...
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9479
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10311
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8967
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7492
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2874
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.