LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2011, 02:33 AM   #1
aicaicai
Member
 
Registered: Aug 2011
Posts: 40

Rep: Reputation: Disabled
floating point exception (core dumped)


Hello ,I add a ZBR(zigbee route) route protocol in NS2.29 on Cygwin.When I use script language,there is an error:
$ ns cyl.tcl
num_nodes is set 25
INITIALIZE THE LIST XListHead
Traffic :ftp
ackonwledgement for datan

starting for simulation
channel.cc:sendup -cale highestantennaz_ and distcst_

sorting list ...down
floating point exception (core dumped)
 
Old 09-01-2011, 12:42 AM   #2
SalmonEater
Member
 
Registered: Jun 2010
Location: Up the Big River w/o paddle
Distribution: Salent & Slackel
Posts: 131

Rep: Reputation: 19
http://cygwin.com/cygwin-ug-net/using-utils.html
 
Old 05-10-2013, 08:35 AM   #3
bhargavigoswami
LQ Newbie
 
Registered: Jul 2012
Posts: 9

Rep: Reputation: Disabled
Floating Point Error (Core Dumped) Solution:

You are getting the error "Floating Point Error ( Core Dump )".

This error comes when there is some expression dividing value by zero. eg. x=10 and y=0 and x/y. This means, x is divided by zero, which results to floating point error.

Please check is your code doing division by zero? Try to resolve this zero value before expression evaluation. And thats it. Your problem is solved.

I was facing the same error which got resolved by checking variable values not equal to zero before expression evaluation.

I wish people facing this error gets solution, hence writing this report.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating Point Exception in Fedora Core x86_64 supratik_sekhar Programming 1 05-22-2008 05:34 PM
floating point exception srkbapanapalli Linux - Newbie 1 03-26-2008 12:38 PM
Floating point exception ramesh6056 Linux - Software 1 05-29-2007 02:14 AM
firefox 2.0 Floating Point Exception (core dumped) error on Ubuntu 6.10 maximum Ubuntu 1 12-28-2006 12:40 PM
Floating point exception hemk76 Linux - Software 1 05-07-2005 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration