Re: [Yade-dev] [Yade-users] can't launch yade

2010-11-24 Thread Václav Šmilauer
I've heard that other people are running yade on ubuntu 09.10 but they 
don't have the same problem.

The OS is not the problem, as far as I can imagine, don't worry.


What "floating point exception" stands for?

http://en.wikipedia.org/wiki/SIGFPE

Ah, when you post the debugger output, also attach the 
scons.profile-default file (or another scons.profile-*, depending on 
which one was used for the compilation), it is in the source directory.


v


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] [Yade-users] can't launch yade

2010-11-24 Thread Václav Šmilauer
I'm Giulia, I've just started my DPhil at the University of Oxford, 
and I will be using YADE for my research.

But I can't launch the program.

Welcome!

(/scons/ after /sudo chown user: /usr/local/ didn't work)
[user -> giulia, therefore "sudo chown giulia: -R /usr/local" (-R for 
recursive), never mind though, that is not related.]

/giu...@engs-19155:~$ /home/giulia/YADE/bin/yade-bzr2567
Welcome to Yade bzr2567
Floating point exception/

Is there anything that I can do to be able to run it?
It looks a little strange, though this kind of problems are usually easy 
to localize. I assume that you got no more output from the debug 
version. That means that the FP exception happens most likely when one 
of the yade modules is imported (in core/main/main.py.in:115 etc), 
perhaps during initialization of other libs it links to; (after that, 
automatic crash information are enabled already). The best would be if 
you could run yade in debugger from the very start; for that, launch gdb 
from the shell, then run yade inside it, like this


$ gdb /usr/bin/python
[...]
(gdb) run /home/giulia/YADE/bin/yade-bzr2567 --debug -x/

After some time, you should get the Floating point exception, when the 
debugger will stop the program, then you type


(gdb) thread apply bt full

/[bt=backtrace, it asks the debugger to show full backtrace, and to do 
that for all threads],/ copy&paste the full output (might be a few 
screens of text) and send it back here. We will see.


Cheers, Václav


/

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp