This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/228] bus error signal during unaligned memory access...


------- Additional Comments From pluto at pld-linux dot org  2004-06-22 15:57 -------
(In reply to comment #3) 
 
> Can you debug this some more? 
> See what value %g7 had at the point of the crash, 
> where it got corrupted? 
 
Breakpoint 1, main (argc=1, argv=0x7fffffffb48) at test01.c:6 
6           unsigned uid = getuid(); 
(gdb) c 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
Breakpoint 2, 0x0000000000122864 in _dl_map_object () 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
(gdb) bt 
#0  0x0000000000100960 in __errno_location () 
#1  0x00000000001086a8 in __syscall_error_handler () 
#2  0x0000000000122050 in open_verify () 
#3  0x00000000001224d8 in open_path () 
#4  0x0000000000122d98 in _dl_map_object () 
#5  0x000000000012623c in dl_open_worker () 
#6  0x0000000000124a48 in _dl_catch_error () 
#7  0x00000000001267e4 in _dl_open () 
#8  0x000000000010b1d4 in do_dlopen () 
#9  0x0000000000124a48 in _dl_catch_error () 
#10 0x000000000010b17c in dlerror_run () 
#11 0x000000000010b2c0 in __libc_dlopen_mode () 
#12 0x00000000001090e4 in __nss_lookup_function () 
#13 0x0000000000109210 in __nss_lookup () 
#14 0x00000000001084a8 in getpwuid_r () 
#15 0x000000000010825c in getpwuid () 
#16 0x0000000000100470 in main (argc=1, argv=0x7fffffffb48) at test01.c:7 
(gdb) c 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
Breakpoint 3, 0x0000000000100960 in __errno_location () 
(gdb) info registers 
g0             0x0      0 
g1             0x101010101010101        72340172838076673 
g2             0x21     33 
g3             0x21     33 
g4             0x8080808080808080       -9187201950435737472 
g5             0x66696c6573000000       7379548647400144896 
g6             0x26f990 2554256 
g7             0x7fffffff4b9    8796093019321 
o0             0x5      5 
o1             0x271bb0 2562992 
o2             0x66696c65730000 28826361903906816 
o3             0x21     33 
o4             0x6462000000000000       7233343951510437888 
o5             0xffffffffff     1099511627775 
sp             0x7ffffffec11    0x7ffffffec11 
o7             0x109058 1085528 
l0             0x21     33 
l1             0x271b00 2562816 
l2             0x271ba8 2562984 
l3             0x271bb0 2562992 
l4             0x271890 2562192 
l5             0x271820 2562080 
l6             0x271aa0 2562720 
l7             0x270000 2555904 
i0             0x7ffffffec11    8796093017105 
i1             0x271b80 2562944 
i2             0x26e000 2547712 
i3             0x270a40 2558528 
i4             0x0      0 
i5             0x271a80 2562688 
fp             0x7ffffffecd1    0x7ffffffecd1 
i7             0x10923c 1086012 
pc             0x100960 0x100960 <__errno_location> 
npc            0x100964 0x100964 <__errno_location+4> 
state          0x4482000205     294238814725 
fsr            0x0      0 
fprs           0x0      0 
y              0x0      0 
cwp            0x5      5 
pstate         0x2      2 
asi            0x82     130 
ccr            0x44     68 
(gdb) c 
Program received signal SIGBUS, Bus error. 
0x0000000000100960 in __errno_location () 
(gdb) bt 
#0  0x0000000000100960 in __errno_location () 
#1  0x0000000000109060 in __nss_lookup_function () 
#2  0x0000000000109244 in __nss_lookup () 
#3  0x00000000001084a8 in getpwuid_r () 
#4  0x000000000010825c in getpwuid () 
#5  0x0000000000100470 in main (argc=1, argv=0x7fffffffb48) at test01.c:7 

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=228

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]