Nikos:
> > m.eigensystem, compiled against latest grass6_dev _AND_ grass
> > -6.4.0RC4 source code, segfaults under Ubuntu-J 64-bit Beta.

> > It works fine with Ubuntu Intrepid! So, something in Jaunty
> > doesn't like m.eigensystem (fortran code?)!


Hamish:
> any chance of debugging? (gdb, etc)
> how far does it get?

I gave it a try (below)


> (if no idea you might try to cut and paste
> in some print strings from elsewhere in the code with little
> "made it to line 110") comments then recompile.

Yep, no idea :~? Blindly following the grass-wiki [1]:

# my first debugging attempt/session ;-)
# gdb
gdb `which m.eigensystem`

[...]
This GDB was configured as "x86_64-linux-gnu"...

# run
(gdb) run
Starting program: /usr/local/grass-6.5.svn/bin/m.eigensystem 

# feed with numbers
3
11 22 33
33 22 11
22 11 33

Program received signal SIGSEGV, Segmentation fault.
0x0000000000401d10 in balanc_ ()
Current language:  auto; currently asm

# full backtrace
(gdb) bt full

#0  0x0000000000401d10 in balanc_ ()
No locals.
#1  0x0000000000409910 in rg_ ()
No locals.
#2  0x0000000000400b87 in MAIN__ ()
No locals.

# l
(gdb) l

1       /build/buildd/glibc-2.9/build-tree/amd64-libc/csu/crtn.S: No such file
or directory.
        in /build/buildd/glibc-2.9/build-tree/amd64-libc/csu/crtn.S

# frame 2
(gdb) frame 2

#2  0x0000000000400b87 in MAIN__ ()

# l again
(gdb) l

1       in /build/buildd/glibc-2.9/build-tree/amd64-libc/csu/crtn.S

# that was it?
(gdb) quit


Nikos
---
[1] http://grass.osgeo.org/wiki/GRASS_Debugging

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to