Re: 'Floating point exception'

Paolo <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <20090318065706.GC13905@localhost>
On Wed, Mar 18, 2009 at 01:17:11AM +0100, Thomas Michael Hagen wrote:
> hm. the 'Floating point exception' doesn't appear in the stderr or
> stdout as far as i can see.
...
> [st08764@gandalf emneklassifisering]$ /usr/local/crm114/bin/crm114 -t
> -T -w 152500000 topic-classifier.crm > logfile.txt 2>&1
> Floating point exception
> [st08764@gandalf emneklassifisering]$

so it's yelled by the controlling shell. Try either/both

$ (crm -t -T -w ...) 2>&1 |grep -1000 'Floating.*exception' > log.txt

$ (strace -ifF crm -t -T -w ...) 2>&1 |\
$	grep -1000 'Floating.*exception' > log.txt

also, if you dare enough, try to run it in the gdb (w/out -t -T)

$ gdb --args crm -w ...

hopely it'd stops at the exception, at which point you'd issue 'bt' command
in gdb, to get the back trace to post here. Note that the crm binary to run
here shouldn't be the installed one, but the un-stripped one you get in src/
after compiling (rather bigger than /usr/local/crm114/bin/crm114), if you
compile from source, of course.


-- 
paolo

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.