Skip to content

bus error #1

@brendangregg

Description

@brendangregg

Just mucking around with an existing Xen server and Linux guests:

# ./uniprof out.prof 27
Bus error (core dumped)
# gdb ./uniprof cone
[...]
Program terminated with signal SIGBUS, Bus error.
#0  __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/../multiarch/memmove-vec-unaligned-erms.S:292
292	../sysdeps/x86_64/multiarch/../multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
(gdb) bt
#0  __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/../multiarch/memmove-vec-unaligned-erms.S:292
#1  0x000055df7f056024 in walk_stack_fp ()
#2  0x000055df7f056175 in do_stack_trace_fp ()
#3  0x000055df7f0554f0 in main ()

Of course, I also had to unpause the domain to let it continue:

# xl list
Name                                        ID   Mem VCPUs	State	Time(s)
Domain-0                                     0  2438     4     r-----    9222.0
vm0                                          1   512     1     r-----     167.5
vm2hvm                                      27   512     3     --p---     157.2
vm1hvm                                      28   512     1     r-----     277.9
# xl unpause vm2hvm

If it's crashing when trying to walk frame pointers, then sure, Linux is likely running things that aren't using them...

It doesn't crash all the time. It does sometimes work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions