Programming :: Pthread_cancel Throw Exception But Not Always?

Apr 21, 2010

I am writing an application that uses POSIX thread. I am spawning a threads and threads performs task in infinite loop .I have another monitor which monitors the activities of these threads. Due to some reason I have to kill one thread from monitor thread. so I use pthread_cancel() . It terminates thread however it throws exception. I searched about the exception on internet and i am able to catch the exception and handle it as well . However the exception is not thrown every time . I wanted to know under what circumstances it throws exception. Accordingly I have to write cleanup handler

View 1 Replies


Programming :: Exception Handling In Perl?

May 12, 2010

I writed Quote:

#!/usr/bin/perl -w
use Error qw(:try);
try {


View 1 Replies View Related

Programming :: Libxml++ Enable Exception Handling

Oct 26, 2010

To parse several XML documents I'm using libxml++. I do programming for linux angstrom-armv5te. Because compiling libxml++ for this distribution and platform was impossible, I simply included the library to my project, which workes fine. Unfortunately I'm not able not use the exception handing which effects that a simple error inside a documents makes my whole program crash. This should not happen.

Is there a way to check the documents validity before parsing or better active the exception handling for doing this.

View 3 Replies View Related

Programming :: Installing Tcl/tk For Use In C++ / Error Expected Type-specifier Before Exception?

Mar 14, 2011

I have perl/tk installed and working. I tried using c++/tk and had to change the #include path in the headers to find the tk.h and tcl.h. I tried compiling a simple c++ program with g++ to test that the headers are correct. the line i type at console is:

g++ test.c -o test.bin

I fixed all previous errors, except for the following.


View 2 Replies View Related

Programming :: Replacing The File In .Jar - Java.lang.NoClassDefFoundError Exception At Main Class

Jul 21, 2010

working on a script to update .Jar file, I have tried jar xf to unpack and jar cf to repack it is giving me java.lang.NoClassDefFoundError exception at main class. I also tried jar uf, which is also not working for me Basically my jar file requires to update date, which i do from "winrar" Manual it works fine, but now to remove "Donkey work", i want to make an script which does this all automatically, and the last stage is to update jar file which is not happening.

View 1 Replies View Related

Programming :: Handle A Broken Pipe Exception (SIGPIPE) In FIFO Pipe?

Mar 2, 2011

I've written a simple server in linux used fork to create a FIFO pipe.The server create two FIFO pipe.One for server read data from client and write data to client.Then another pipe for client read data from server and write data to server.When the server read data from a client used server-pipe and then write data to client.But ,if the client no read open the pipe,the server side write will be crashed because of a broken-pipe SIGPIPE. How to check whether the read side is opened?Or,how to catch the SIGPIPE,and then my server will still execute on,not crashed!!

View 5 Replies View Related

Ubuntu :: Throw A Splash Image On Shutdown?

Mar 10, 2011

I am wanting to throw a splash image on shutdown. How do I do it ? I am using CentOS 5

View 8 Replies View Related

Networking :: Upgrade To IPv6 - Throw Old Routers Away?

Jan 19, 2011

Does an ISP have to throw away all their old routers if they're trying to upgrade to IPv6?

View 1 Replies View Related

Ubuntu / Apple :: Throw ReFit Into Main Hard Drive's Root Folder But Doesn't Work

Dec 7, 2010

I have a Macbook 2,1 since 2007. Last week my hard drive just died, so I decided to replace it with a new one, no problems with that. The problem came when I had to install an operative system, because my DVD drive has been broken for a year and a half now. I know we can easily install MacOSX from an external usb drive, but I don't have a big enough pendrive at the moment. So I went for Ubuntu. I have managed to get an Ubuntu 10.10 live usb stick working like charm, if anyone is interested. I just downloaded the latest i386 iso and followed this advice by pxwpxw for the 32bit EFI.

The only thing I had to change in the boot.cfg was the name of the iso and -very important- changed initrd.gz for initrd.lz. The live usb works great. But I decided to do an installation on the hard drive. I installed it using the whole hard drive and didn't get any errors. But when I boot the macbook it doesn't detect anything. I guess I need an EFI bootloader or something to make it work. I've tried to follow this guide but it seems to be intended for someone who already has MacOSX and the Ubuntu installation working. I just want to install a bootloader or whatever I need from the "outside" (from the live usb I'm using). I tried to just throw reFit into the main hard drive's root folder but it doesn't work. I think that maybe creating an HFS+ partition and installing reFit in it may work, but I don't think I can create that kind of partition from the Ubuntu usb and I also need a working MacOSX to run the I've also read of elilo but I've seen that it hasn't been updated for 3 years

View 4 Replies View Related

Server :: Throw "Options -Indexes" On Every Single Vhost?

Jan 18, 2011

I have a lot virtual hosts running on Apache. Directory browsing is enabled on every single vhost (by default), and I want to disable this globally. Been searching and struggling with this for some time now, but can't seem to get it right. I have tried following in my apache2.conf

<Directory /var/www/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Also tried following in /sites-available/default


I know I can throw "Options -Indexes" on every single vhost, but it must be possible to do this globally.What am I doing wrong?

View 2 Replies View Related

Software :: How To Add Iptables NAT Exception

May 20, 2010

I'm having some trouble with NAT in my gateway.For the network, I do not want to apply NAT through the gateway. However, the way it is configured, it is applying SOURCE NAT to traffic coming from and changing source ip address to
For example, pinging from to (passing through the gateway, which is also a router in this case), then SNAT is applied and the ip packet gets changed to :

| source address :|
| dest. address_ : |

NAT's configuration in gateway/router:


iptables -t nat -A POSTROUTING -d -o $EXTERNAL -j RETURN
iptables -t nat -A POSTROUTING -d -o $EXTERNAL -j RETURN
iptables -t nat -A POSTROUTING -o $EXTERNAL -j LOG


View 2 Replies View Related

Ubuntu :: Install The Plugins "Throw" And "stackswitch"?

Jul 19, 2010

i'm aware it requires the use of 'cmake', i've installed the required plugins, and all i get is "missing make file"...I git cloned the packages properly

View 2 Replies View Related

Red Hat / Fedora :: Too Many Files Open Exception ?

Apr 7, 2010

system occurs "Too many files open exception" when application server run serval hours. I use "ls -l /proc/pid/fd" command view all fd in this java process.I found that the number of pipe is increase slowly and constantly.

Who can tell me What mean of follow line:

View 3 Replies View Related

Ubuntu :: Xfire Exception With Wine?

Jan 23, 2010

I tried to run xfire with wine (yes, i installed it with wine also from the installer) , and it gave me an exception error (picture in attachments), how do i fix this?

View 1 Replies View Related

Networking :: An Unhandled Exception Has Occurred?

Feb 9, 2010

When i try to configure network in Fedora 8 i get this error: "An unhandled exception has occurred. This is most likely a bug"

View 1 Replies View Related

Slackware :: Getting Exception 13 When Use The Latest Qemu-kvm-0.12.3 On 12.2?

Mar 8, 2010

I'm getting exception 13 when trying to use the latest qemu-kvm-0.12.3 on slackware 12.2 w/ stock kernel:


exception 13 (6b)
rax 0000000000000010 rbx 0000000000008c00 rcx 0000000000006ebe rdx 00000000000c8c00
rsi 00000000f2010000 rdi 00000000000c0000 rsp 0000000000006eb4 rbp 00000000f2010000


Google says this has something to do with Intel hardware and the way it handles real mode. run it with -no-kvm, but that's not much of a fix really.. so in the mean time I reverted to using qemu-kvm-devel-88 which works well, but is pretty old.

View 2 Replies View Related

Fedora :: Java Engine For Browser - Add Exception ?

May 24, 2010

I want a internet browser to open a site that needs java engine,firefox has not this and also galeon :

The certificate is not trusted because it is self-signed.

(Error code: sec_error_ca_cert_invalid)

* This could be a problem with the server's configuration, or it could be someone trying to impersonate the server.

* If you have connected to this server successfully in the past, the error may be temporary, and you can try again later.

Or you can add an exception

You should not add an exception if you are using an internet connection that you do not trust completely or if you are not used to seeing a warning for this server.

If you still wish to add an exception for this site, you can do so in your advanced encryption settings.

How i can add exception or it is better to say me that :is there any browser instead of internet explorer for linux??

View 12 Replies View Related

Ubuntu :: Pidgin Floating Point Exception?

Feb 18, 2010

pidgin started crashing today for no apparent reason. It just shutdowns. No freezing or anything, it just goes away, disappears. From what I can say, there's no specific trigger for this, it can happen after 2 or 10 min after I started it. Once it even shutdown right 10seconds. I tried to run it from the terminal. When I do that, the only thing that appears before closing is

Floating point exception Anyone has an idea of what it can be? I made no upgrade to pidgin or libpurple recently. I made however an upgrade today of the following packages

Commit Log for Thu Feb 18 10:24:00 2010


View 1 Replies View Related

Ubuntu :: Rsync: Add An Exception To The List Of Exclusions?

Sep 29, 2010

I have a cron job that backs up some files over to an external disk.It ignores the hidden folders in my home dir, by using the --exclude-from option.However, there is one specific hidden dir that I do want to back up.Is there some way to add an exception to the list of exclusions?

View 2 Replies View Related

Red Hat / Fedora :: Top Giving Floating Point Exception?

Jan 5, 2010

I am facing floating point exception issues in running top on some of my Red-Hat Linux servers

# top
6:45am up 476 days, 52 min, 4 users, load average: 0.00, 0.00, 0.00
109 processes: 108 sleeping, 1 running, 0 zombie, 0 stopped
Floating point exception
When I am executing the same command using strace or ltrace, its running fine.
# ls -lrt /usr/bin/top


View 1 Replies View Related

General :: An Exception Is Occurs Just After The Kickstart Installation

May 22, 2010

After completing the installation using kickstart , the exception is occured, just after performing post installation,i am sending the exception image

View 8 Replies View Related

Networking :: DHCP Floating Point Exception?

Jul 1, 2010

I am using a gateway server, 1st NIC eth0 which is acting as WAN (DHCP)and 2nd NIC acting LAN(static). I am using DHCP to assign IP to eth0 from a Wimax modem. I am also use it as a MAIL server (openmail), and as a DHCP server. My server is of RHEL and kernel version is and DHCP client & server version - 30pl1-9. The prolem is whenever I run the command..

ifup eth0
getting the error...

Determining IP information for eth0.../ifup: line277: 23328 Floating point exception/sbin/dhclient ${DHCLIENTARGS} ${DEVICE}
so what should I do?? if I update the DHCP, would it be ok?

View 1 Replies View Related

General :: Installing 10 On Usbharddisk - An Exception Has Occured ?

Apr 6, 2010

I have problem in installing Fedora10 on to a UsbHarddisk(transend 250GB).

After installation of some packages it is saying that "An exception has occured .It is possibly a bug.file a report to".

The problem is that,ihave previously seen this kind of message a month ago.And when i tried to install the second time it is installed.
Can i debug it?

I have no problem when installing Fedora on to a normalharddisk.

Another question can i install both Gnome and Kde on the disk.

View 1 Replies View Related

OpenSUSE :: Gnome Apps Floating Point Exception?

Mar 12, 2010

games, specifically solitaire and gimp both have started returning a floating point exception fault.

View 9 Replies View Related

OpenSUSE :: Suse 11.3 Floating Point Exception After Update?

Jan 9, 2011

I had fuzzy icons in system tray so before couple of days i installed some updates and after that i have floating point exception in ktorrent and virtualbox #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 i686 athlon i386 GNU/Linux

nvidia 9500 GT
X.Org X Server 1.8.0
KDE 4.4.4
Here is the updates
nvidia-gfxG02-kmp-desktop-260.19.21_k2.6.34.0_12-19.1 Tue 04 Jan 2011 04:14:42 PM CET


View 4 Replies View Related

General :: Machine Check Exception - How To Read And Understand It

May 20, 2011

My computer acts strange - sometimes reboots spontanousely, sometimes does not want to boot. When I isse command "mcelog", I receive such info:


How can I read and understand it? Could somebody point me to some documentation?

View 1 Replies View Related

Ubuntu Multimedia :: Banshee Closing Immediately With Exception?

Oct 20, 2010

When I try to open Banshee, I can see the GUI for about half a second, then it closes with "Unhandled Exception: GLib.GException: Can't recursively copy directory".I'm running Ubuntu 10.10 amd64, and had an old version of banshee installed from a few releases back (don't remember which). I deleted the banshee-1 folder in my ~/.config directly, as well as uninstalled and reinstalled with no luck. Other Mono apps (such as gnome-do) work fine.Here is the full output of "banshee --debug":

** Running Mono with --debug **
[1 Info 21:09:19.692] Running Banshee 1.7.6: [Ubuntu maverick (development branch) (linux-gnu, x86_64) @ 2010-09-18 21:00:29 UTC]


View 1 Replies View Related

Ubuntu :: Gnome-terminal: Floating Point Exception?

May 27, 2011

This is the first time I post a question on these forums My problem is as follows: I can't start gnome-terminal from the Applications->Accesories menu or from the Alt+F2 application launcher. I get a "Starting Terminal" in the task-bar that disappears after a few seconds and no terminal. I'm pretty sure there is something I did, but I can't really figure out what it is.

The things I've tried so far:

1. I used synaptic to remove and reinstall gnome-terminal. That didn't work
2. Started Xterm and tried to run "gnome-terminal". This is where it gets weird for me:

a. running the command as normal user I get a "Floating point exception" error and obviosly no terminal
b. when I do "sudo gnome-terminal" and enter the root password I get, as expected, a root terminal. I could live with that, but it's not ideal.

View 8 Replies View Related

Security :: Force Squid To Log Urls Allowed As An Exception?

Aug 10, 2010

Squid acl rules can be configured to allow specific ip's to get full access, or rather skips the blocked site list.

acl <tag> src x.x.x.x
http_access allow <tag>
http_access deny blocksites

From all the ways i tried, squid does not log these urls. Is there a way to have squid log the urls requested from allowed ip's?

squid ver : (squid/2.6.STABLE21)
OS : CentOS 5.5

View 1 Replies View Related

Fedora Networking :: Block Certain Sites For Exception IP List Users?

Nov 3, 2009

I have FC-4 with Squid and Dansguardian. Internet Users in my organisation are configured to use proxy with 8080 in browser IE. There's no issue with Users as DG working perfect for them. We have Business Development Team, as they need to do most of the research over internet, their IP's are included into "Exception IP List" in Dansguardian. Obviously these people will be excepted from all banned sites, BD Team able to do chat, play games and do social networking and other stuff over the net, which results in more bandwidth consumption and breaking office policies.

I have tried to implement SQUID ACL's to block few sites like ",, etc" but SQUID acl's not coming into picture. any one who successfully blocked chat, banned sites and social networking in DG with my case.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved