Linux g++ 2.95.3 exception handling


 
Thread Tools Search this Thread
Top Forums Programming Linux g++ 2.95.3 exception handling
# 1  
Old 08-16-2005
Linux g++ 2.95.3 exception handling

Anybody happen to be familiar with any deficiencies with g++ 2.95.3 regarding exception handling, specifically in multi-threaded / multi-module (shared library) based applications?

I'm seeing behavior where thrown exceptions are not caught, but basically ignored causing the application to terminate, even thought the code is appropriately within try/catch blocks. I haven't been using any optimization flags to build, but I tried compiling with -O0 to be sure and that didn't change anything.

Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Is orphan process handling by Solaris os and Linux os same?

In solaris, orphan process is put to sleep mode and does not consume any CPU resources. In Linux, orphan process is kept in running state consuming all CPU and Ram resources. Is it the case? Is there a difference on how these operating systems will handle orphan processes? The route cause of... (10 Replies)
Discussion started by: Belure Pooja B
10 Replies

2. Shell Programming and Scripting

Monitor logs for exception and if exception come then sent an email

Hi Folks, please advise , I have logs generated on unix machine at location /ops/opt/aaa/bvg.log , now sometimes there come exception in these logs also, so I want to write such a script such that it should continuously monitor these logs and whenever any exception comes that is it try to find... (3 Replies)
Discussion started by: tuntun27272727
3 Replies

3. Programming

Exception Handling C++

Hello All, I have a question ....which I am totally confused about! If I have a fxn foo in a program which returns a logical value. But it has a posssiblity to throw some exception. Now my exception handler returns a value as a string stating why the exception occured. But my... (1 Reply)
Discussion started by: mind@work
1 Replies

4. Shell Programming and Scripting

Exception handling

Sometimes when I try to use curl to upload to an ftp server, I get the message: $curl -T file.wmv ftp.eu.filesonic.com --user user:password curl: (8) Got a 421 ftp-server response when 220 was expected How do I get the script to try again if I get the message curl: (8)? (2 Replies)
Discussion started by: locoroco
2 Replies

5. Programming

Advanced Exception Handling in C++

Hi Friend, Could you please provide me with some tutorial for Advanced Exception handling in C++, mainly set_terminate() and set_unexpected() functions? Please find the details below: OS: Unix Compiler: gcc. Thanks. :) Awesome001 (0 Replies)
Discussion started by: awesome001
0 Replies

6. Shell Programming and Scripting

Exception Handling

Hi, I have written a script to load csv files into a mysql database, however, i would like for the shell script to exit in the event of an error (missing file, load error etc.) - currently if an error is encountered the next statement is processed - This is how i am loading the csv scripts ... (5 Replies)
Discussion started by: bertpereira
5 Replies

7. Linux

Handling "command not found" exception

hello friends, I am given a project to handle the command not found exception.I am using RED HAT 9. Generally, when we press a wrong command in the terminal: example :- " $cet " in place of " $cat ". Then we get this exception. But I need to give the output as the combinations that are possible... (5 Replies)
Discussion started by: nsharath
5 Replies

8. Shell Programming and Scripting

Exception-handling in Shell programs

Hi all, I am writing a set of scripts and some of these are nested within others. I want to be able to execute a single high-level script at the command-line, which in turn may invoke other scripts as required, and when a failure occurs in any of the nested scripts, I want to be able to track... (2 Replies)
Discussion started by: chaitu_inmage
2 Replies

9. UNIX for Advanced & Expert Users

exception handling

Does exception handling exist in any UNIX enviornment? I develop on Windows MSVC++ land and need to port to UNIX. (1 Reply)
Discussion started by: RichardS
1 Replies
Login or Register to Ask a Question
lgamma(3M)																lgamma(3M)

NAME
lgamma(), lgammaf(), lgammal(), lgammaw(), lgammaq(), lgamma_r(), lgammaf_r(), lgammal_r(), lgammaw_r(), lgammaq_r(), gamma(), gammaf(), gammal(), gammaw(), gammaq(), gamma_r(), gammaf_r(), gammal_r(), gammaw_r(), gammaq_r(), signgam - log gamma functions SYNOPSIS
HP Integrity Server Only DESCRIPTION
and return , where is defined as the integral, as t goes from zero to infinity, of times t to the power (x-1). The sign of is returned in the external integer The function, available on Integrity servers, can be used to calculate Or, the following C program fragment can be used to calculate where if y is greater than as defined in the header file, returns a range error. (See exp(3M).) The log gamma function is not reentrant because it uses the global variable The function is a reentrant version of that can be used in multi-threaded applications. The function stores the sign of in the object pointed to by the second argument sign. The value pointed to by sign is +1 if is positive, -1 if it is negative. The and functions are functionally equivalent to and and are versions of and respectively; they take a (first) argument and return a result. and are versions of and respectively; they take a (first) argument and return a result. and are versions of and respectively; they take an (first) argument and return an result. and are equivalent to and respectively on HP-UX systems. USAGE
To use these functions, compile either with the default option or with the and options. To use (for Integrity servers) or compile also with the option. Make sure your program includes and link in the math library by specifying on the compiler or linker command line. For more information, see the at the following site: RETURN VALUE
returns +0. returns +0. returns +Inf and raises the divide-by- zero floating-point exception for x a negative integer or zero. returns +Inf. returns +Inf. If x is NaN, and return NaN. returns infinity (equal to in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions. When it raises no other exception, whether raises the inexact exception is unspecified. WARNINGS
and are unsafe in multi-thread applications. is MT-Safe and should be used instead. SEE ALSO
exp(3M), log(3M), tgamma(3M), math(5). STANDARDS CONFORMANCE
: SVID3, XPG4.2, ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic") : SVID3, XPG4.2 : ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic") lgamma(3M)