guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

1.5.6 segfaults on NetBSD/alpha with readline


From: Greg Troxel
Subject: 1.5.6 segfaults on NetBSD/alpha with readline
Date: Fri, 10 May 2002 08:23:58 -0400

I have imported 1.5.6 into local CVS, and only fixed some configure
issues with ipv6 and ltdl search paths (since I use a non-standard
prefix).

I believe that the unaligned access is just a warning, and the os
fixes this up, but it is probably an indication that something is not
right.

Any clues?

for-each gdt 18 ~ > guile
guile> (version)
"1.5.6"
guile> (system "uname -a")    
NetBSD for-each.ir.bbn.com 1.5.3_RC1 NetBSD 1.5.3_RC1 (FOR-EACH) #0: Tue Apr 16 
17:32:48 EDT 2002     
address@hidden:/home/gdt/QUIST-current/netbsd/src/sys/arch/alpha/compile/FOR-EACH
 alpha
0
guile> (use-modules (ice-9 readline))
pid 20984 (guile): unaligned access: va=0x16010433c pc=0x160104398 
ra=0x1609348f8 op=ldq
Segmentation fault (core dumped)

I didn't have much luck figuring this out:


for-each gdt 19 ~ > gdb QUIST-current/guile/libguile/.libs/guile guile.core 
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha--netbsd"...
Core was generated by `guile'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /usr/quist/lib/libguile.so.15...done.
Reading symbols from /usr/pkg/lib/libltdl.so.3...done.
Reading symbols from /usr/lib/libcrypt.so.0...done.
Reading symbols from /usr/lib/libm.so.0...done.
Reading symbols from /usr/lib/libc.so.12...done.
Reading symbols from /usr/quist/lib/libguilereadline.so...done.
Reading symbols from /usr/lib/libcurses.so.3...done.
#0  0x160106170 in _rtld_bind ()
(gdb) bt
#0  0x160106170 in _rtld_bind ()
Cannot access memory at address 0xb43e0010b41e0008.
(gdb) x/i 0x160104398
0x160104398 <L100+8>:   ldq     a0,8(t12)
(gdb) i reg
v0             0x0      0
t0             0x160104390      5906645904
t1             0xffffffffffffffff       -1
t2             0x160b4f2b0      5917438640
t3             0x1601053e0      5906650080
t4             0x160105340      5906649920
t5             0x1601057c0      5906651072
t6             0x160105400      5906650112
t7             0x160b50960      5917444448
s0             0x160112c00      5906705408
s1             0xffffffffffffffff       -1
s2             0x101    257
s3             0x160112a08      5906704904
s4             0x16020e9a0      5907736992
s5             0x0      0
fp             0x1ffffc510      8589919504
a0             0x0      0
a1             0x1      1
a2             0x0      0
a3             0x10     16
a4             0x160106744      5906655044
a5             0x51f    1311
t8             0x107    263
t9             0x1601043a8      5906645928
t10            0x160106160      5906653536
t11            0x3c0    960
ra             0x1ffffc328      8589919016
t12            0x8      8
at             0x160106170      5906653552
gp             0x160215a00      5907765760
sp             0xb43e0010b41e0008       -5458925626585120760
zero           0x0      0
pc             0x160106170      5906653552
vfp            0xb43e0010b41e0038       -5458925626585120712



reply via email to

[Prev in Thread] Current Thread [Next in Thread]