Help troubleshooting segmentation fault

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Help troubleshooting segmentation fault

by Roberto Riggio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm getting the following error when I try to run a simple "hello world"
application. I'm using JAMVM on openwrt but on a x86 platform.

jamvm[10362] general protection ip:805fe81 sp:bfa5b9a0 error:0 in jamvm[8048000]
Segmentation fault

Am I missing some very fundamental step? How can I understand the
root cause of the problem.

Thanks

--
--------------------------------------------------------
Roberto Riggio, PhD
CREATE-NET, Pervasive
Researcher
Via alla Cascata 56/D - 38100 Povo Trento (Italy)
e-mail: roberto.riggio@...
Tel: (+39) 0461 408400 - interno/extension 708
Fax: (+39) 0461 421157
http://www.create-net.org/
--------------------------------------------------------

Le informazioni contenute in questo messaggio email e negli allegati sono
strettamente riservate. Il loro utilizzo e' consentito esclusivamente al
destinatario del messaggio, per le finalita' indicate nello stesso.

The information transmitted is intended only for the person/entity whom it is
addressed to, and may contain confidential material. Any review, retransmission,
dissemination or other use of this information by persons/entities other than
the intended recipient is prohibited as per Italian Law 196/2003. If you
received this in error, contact the sender and delete it from any pc.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jamvm-general mailing list
Jamvm-general@...
https://lists.sourceforge.net/lists/listinfo/jamvm-general

Re: Help troubleshooting segmentation fault

by Robert Dodier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, May 18, 2009 at 9:00 AM,  <roberto.riggio@...> wrote:

> jamvm[10362] general protection ip:805fe81 sp:bfa5b9a0 error:0 in jamvm[8048000]
> Segmentation fault

Try running jamvm from strace, e.g.
strace jamvm ....

That should produce a very voluminous output, and, perhaps, show
what it was doing when it crashed.

Another idea is to run jamvm within gdb.
Hmm, now that I think of it, probably you should try gdb first, then strace.

Hope this helps,

Robert Dodier

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jamvm-general mailing list
Jamvm-general@...
https://lists.sourceforge.net/lists/listinfo/jamvm-general