Taiko throws Error: Failed to launch chrome No usable sandbox - getgauge

I am trying to run Gauge/Taiko however I am getting an error just at the very beginning when I only issue openBrowser() command. My OS is Debian 9 Stretch and I use local Gauge/Taiko installation.
The error seems to suggest I need to update my kernel - do I really need that? I would hope Taiko includes appropriate build of chromium, especially that https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux_suid_sandbox.md states ate the very first line that "page is mostly out-of-date" and it looks like a set of instructions for installation from source rather than using provided packages.
I'd appreciate any help, I am also happy for a suggestion of Taiko's preferred distro ;]
$ npm --version
6.4.1
$ ./node_modules/.bin/taiko
Version: 0.3.0 (Chromium:71.0.3563.0)
Type .api for help and .exit to quit
> openBrowser()
✘ Error: Failed to launch chrome!
[12296:12296:1105/121525.023333:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
#0 0x55e22767dcac base::debug::StackTrace::StackTrace()
#1 0x55e2275f7670 logging::LogMessage::~LogMessage()
#2 0x55e228afb050 service_manager::ZygoteHostImpl::Init()
#3 0x55e2272c0d7e content::ContentMainRunnerImpl::Initialize()
#4 0x55e2272f43e8 service_manager::Main()
#5 0x55e2272bf5c1 content::ContentMain()
#6 0x55e2255ff1b3 ChromeMain
#7 0x7fc5c46222e1 __libc_start_main
#8 0x55e2255ff02a _start
Received signal 6
#0 0x55e22767dcac base::debug::StackTrace::StackTrace()
#1 0x55e22767d821 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fc5ca7b10c0 <unknown>
#3 0x7fc5c4634fff gsignal
#4 0x7fc5c463642a abort
#5 0x55e22767c645 base::debug::BreakDebugger()
#6 0x55e2275f7ae8 logging::LogMessage::~LogMessage()
#7 0x55e228afb050 service_manager::ZygoteHostImpl::Init()
#8 0x55e2272c0d7e content::ContentMainRunnerImpl::Initialize()
#9 0x55e2272f43e8 service_manager::Main()
#10 0x55e2272bf5c1 content::ContentMain()
#11 0x55e2255ff1b3 ChromeMain
#12 0x7fc5c46222e1 __libc_start_main
#13 0x55e2255ff02a _start
r8: 0000000000000000 r9: 00007ffde9ca88e0 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ffde9ca90f8 r13: 000000000000016d r14: 00007ffde9ca9100 r15: 00007ffde9ca9108
di: 0000000000000002 si: 00007ffde9ca88e0 bp: 00007ffde9ca8b20 bx: 0000000000000006
dx: 0000000000000000 ax: 0000000000000000 cx: 00007fc5c4634fff sp: 00007ffde9ca8958
ip: 00007fc5c4634fff efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
, run `.trace` for more info.
>

If you loading fully trusted site in the browser, alternatively you can also pass
'--no-sandbox', '--disable-setuid-sandbox' args to openBrowser like
await openBrowser({args:['--no-sandbox', '--disable-setuid-sandbox']})

Someone faced similar problem
https://github.com/iridium-browser/tracker/issues/208#issuecomment-395619508
Enabling unprivileged namespaces solved the issue.
Quoting solution:
# echo kernel.unprivileged_userns_clone=1 > /etc/sysctl.d/00-local-userns.conf
# sysctl --system

Related

Chrome Error when running command yarn start

I am not aware of the technology used in this git repo but just trying to follow steps that are given by creator on https://github.com/paulmaunders/delivery-slot-bot
I have a windows machine and installed VMware player then Kali on it. Downloaded the repo and installed NPM in kali. When i run the command "Yarn Start" it is giving me the below error. I downloaded chrome and installed too but no joy. Any advice how to fix this would be greatly appreciated.
I have used Kali a bit so have some knowledge of Linux but cant figure this one out.
Thanks in advance
kali#kali:~/Downloads/delivery-slot-bot-master/delivery-slot-bot$ yarn start
yarn run v1.22.4
$ node ./src/index.js
index.js
Runs one-off
Options:
--version Show version number [boolean]
--help Show help [boolean]
Error: Failed to launch chrome!
[0421/142758.038038:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
#0 0x564e68efe879 base::debug::CollectStackTrace()
#1 0x564e68e5bc63 base::debug::StackTrace::StackTrace()
#2 0x564e68e70013 logging::LogMessage::~LogMessage()
#3 0x564e6a60a95e service_manager::ZygoteHostImpl::Init()
#4 0x564e68a9fadc content::ContentMainRunnerImpl::Initialize()
#5 0x564e68aeb72c service_manager::Main()
#6 0x564e68a9e0b1 content::ContentMain()
#7 0x564e68aea99d headless::(anonymous namespace)::RunContentMain()
#8 0x564e68aea70b headless::HeadlessShellMain()
#9 0x564e6687b1b8 ChromeMain
#10 0x7f92b55efbbb __libc_start_main
#11 0x564e6687b02a _start
Received signal 6
#0 0x564e68efe879 base::debug::CollectStackTrace()
#1 0x564e68e5bc63 base::debug::StackTrace::StackTrace()
#2 0x564e68efe401 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f92b7a76520 <unknown>
#4 0x7f92b5603081 gsignal
#5 0x7f92b55ee535 abort
#6 0x564e68efd265 base::debug::BreakDebugger()
#7 0x564e68e70461 logging::LogMessage::~LogMessage()
#8 0x564e6a60a95e service_manager::ZygoteHostImpl::Init()
#9 0x564e68a9fadc content::ContentMainRunnerImpl::Initialize()
#10 0x564e68aeb72c service_manager::Main()
#11 0x564e68a9e0b1 content::ContentMain()
#12 0x564e68aea99d headless::(anonymous namespace)::RunContentMain()
#13 0x564e68aea70b headless::HeadlessShellMain()
#14 0x564e6687b1b8 ChromeMain
#15 0x7f92b55efbbb __libc_start_main
#16 0x564e6687b02a _start
r8: 0000000000000000 r9: 00007ffde55c0d60 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ffde55c2028 r13: 00007ffde55c1008 r14: 00007ffde55c1008 r15: 00007ffde55c1020
di: 0000000000000002 si: 00007ffde55c0d60 bp: 00007ffde55c0fb0 bx: 00007f92b5783840
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f92b5603081 sp: 00007ffde55c0d60
ip: 00007f92b5603081 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/home/kali/Downloads/delivery-slot-bot-master/delivery-slot-bot/node_modules/puppeteer/lib/Launcher.js:348:14)
at Interface.helper.addEventListener (/home/kali/Downloads/delivery-slot-bot-master/delivery-slot-bot/node_modules/puppeteer/lib/Launcher.js:337:50)
at Interface.emit (events.js:203:15)
at Interface.close (readline.js:397:8)
at Socket.onend (readline.js:173:10)
at Socket.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentat
ion about this command.
The thing with kali is that everytime you're logged in as the root user and everything you execute will run as root as well. But chrome knows that it's not a good idea to run it as root so it says no to you.
As the error message says, you can add the --no-sandbox to the launch option and make it run as root. However, this is not a very good idea. Running non-system applications or processes, including the ones with graphics, is not a good idea in general.
It's better that you switch to a non-root account and do all your web devs there, or just switch to a normal distro like Ubuntu.

Failed to move to new namespace when open man page in the chromium

I would like to make manpages open in the chromium (from the man -H command), but I get this error:
yoline#yolinePC:~$ man -H ls
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
[2813:2813:0823/005741.984026:FATAL:zygote_host_impl_linux.cc(186)] Check failed: ReceiveFixedMessage(fds[0], kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid).
#0 0x55eb8a223509 <unknown>
#1 0x55eb8a171cc6 <unknown>
#2 0x55eb8a189cd4 <unknown>
#3 0x55eb8b421f80 <unknown>
#4 0x55eb89c73082 <unknown>
#5 0x55eb8b420c79 <unknown>
#6 0x55eb8b4234a5 <unknown>
#7 0x55eb89c7410a <unknown>
#8 0x55eb89ca1d71 <unknown>
#9 0x55eb89c719a5 <unknown>
#10 0x55eb8761006d ChromeMain
#11 0x7fd0cb19b09b __libc_start_main
#12 0x55eb8760feca _start
Received signal 6
#0 0x55eb8a223509 <unknown>
#1 0x55eb8a171cc6 <unknown>
#2 0x55eb8a221dc3 <unknown>
#3 0x55eb8a223495 <unknown>
#4 0x7fd0d2199730 <unknown>
#5 0x7fd0cb1ae7bb gsignal
#6 0x7fd0cb199535 abort
#7 0x55eb8a223435 <unknown>
#8 0x55eb8a189e98 <unknown>
#9 0x55eb8b421f80 <unknown>
#10 0x55eb89c73082 <unknown>
#11 0x55eb8b420c79 <unknown>
#12 0x55eb8b4234a5 <unknown>
#13 0x55eb89c7410a <unknown>
#14 0x55eb89ca1d71 <unknown>
#15 0x55eb89c719a5 <unknown>
#16 0x55eb8761006d ChromeMain
#17 0x7fd0cb19b09b __libc_start_main
#18 0x55eb8760feca _start
r8: 0000000000000000 r9: 00007ffc94133af0 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ffc94134d40 r13: 00007ffc94134f00 r14: 00000000000000aa r15: 00007ffc94133d70
di: 0000000000000002 si: 00007ffc94133af0 bp: 00007ffc94133d40 bx: 0000000000000006
dx: 0000000000000000 ax: 0000000000000000 cx: 00007fd0cb1ae7bb sp: 00007ffc94133af0
ip: 00007fd0cb1ae7bb efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
man: couldn't execute any browser from chromium
My os is Debian and I use i3 as window manager. My English is not very good, but I'm working on it.
I solve this problem by using command export BROWSER="i3-msg exec chromium" instead of export BROWSER="chromium".
but I get another problem that the chromium did not find the HTML file in /tmp.
I can't solve this problem until I see this post on Reddit.
1、create a script "open-delay.sh" with the following contents:
i3-msg exec xdg-open $1
sleep 5
2、invoke man with man --html=/path/to/open-delay.sh page, or you can add a alias to .bashrc in your home directory with the following contents:
alias manhtml="man --html=/path/to/open-delay.sh"
Are you logged in as root? You shouldn't be logged in to a graphical user interface as root and you certainly shouldn't be running a web browser as root at all. Try logging into your system as a regular user.

"Gradle task assembleDebug failed" using VsCode and either ADV or real device

The VsCode's debug mode isn't launching the app any more, eiter through the AVD or a real android device. Used to working perfectly on both until yesterday.
I am getting an error
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
I ran flutter doctor -v
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [version 10.0.17134.523], locale fr-FR)
• Flutter version 1.0.0 at F:\flutter_src
• Framework revision 5391447fae (6 weeks ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at F:\Android_sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = F:\Android_sdk
• Java binary at: F:\Android_src\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[√] Android Studio (version 3.2)
• Android Studio at F:\Android_src
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[√] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
I have to say that I have absolutely no idea of what went wrong.
I don't think it is code related, has I haven't made huge impacting change to my project. Other than that error inside the debug console, it isn't throwing me anything else.
Edit
Flutter run -v
[ +128 ms] executing: [F:\flutter_src\] git rev-parse --abbrev-ref --symbolic #{u}
[ +245 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic #{u}
[ ] origin/stable
[ ] executing: [F:\flutter_src\] git rev-parse --abbrev-ref HEAD
[ +73 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +2 ms] stable
[ ] executing: [F:\flutter_src\] git ls-remote --get-url origin
[ +88 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] executing: [F:\flutter_src\] git log -n 1 --pretty=format:%H
[ +99 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 5391447fae6209bb21a89e6a5a6583cac1af9b4b
[ ] executing: [F:\flutter_src\] git log -n 1 --pretty=format:%ar
[ +80 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 6 weeks ago
[ +1 ms] executing: [F:\flutter_src\] git describe --match v*.*.* --first-parent --long --tags
[ +253 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v1.0.0-0-g5391447fa
[ +308 ms] executing: F:\Android_sdk\platform-tools\adb devices -l
[+4275 ms] Exit code 0 from: F:\Android_sdk\platform-tools\adb devices -l
[ ] List of devices attached
[ +19 ms] No connected devices.
[ +20 ms] "flutter run" took 4 413ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:249:7)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:379:11)
<asynchronous suspension>
#3 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:335:33)
<asynchronous suspension>
#4 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#5 _rootRun (dart:async/zone.dart:1124:13)
#6 _CustomZone.run (dart:async/zone.dart:1021:19)
#7 _runZoned (dart:async/zone.dart:1516:10)
#8 runZoned (dart:async/zone.dart:1463:12)
#9 AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#10 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:326:20)
#11 CommandRunner.runCommand (package:args/command_runner.dart:196:27)
<asynchronous suspension>
#12 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:401:21)
<asynchronous suspension>
#13 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#14 _rootRun (dart:async/zone.dart:1124:13)
#15 _CustomZone.run (dart:async/zone.dart:1021:19)
#16 _runZoned (dart:async/zone.dart:1516:10)
#17 runZoned (dart:async/zone.dart:1463:12)
#18 AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#19 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:361:19)
<asynchronous suspension>
#20 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:111:29)
#21 new Future.sync (dart:async/future.dart:224:31)
#22 CommandRunner.run (package:args/command_runner.dart:111:11)
#23 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:241:18)
#24 run.<anonymous closure> (package:flutter_tools/runner.dart:60:20)
<asynchronous suspension>
#25 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#26 _rootRun (dart:async/zone.dart:1124:13)
#27 _CustomZone.run (dart:async/zone.dart:1021:19)
#28 _runZoned (dart:async/zone.dart:1516:10)
#29 runZoned (dart:async/zone.dart:1463:12)
#30 AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#31 runInContext (package:flutter_tools/src/context_runner.dart:43:24)
<asynchronous suspension>
#32 run (package:flutter_tools/runner.dart:51:10)
#33 main (package:flutter_tools/executable.dart:51:9)
<asynchronous suspension>
#34 main (file:///E:/b/build/slave/Windows_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#35 _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:287:32)
#36 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
EDIT 2 : Thanks to Siavash for speaking about "flutter clean".
It solved the problem !
Still curious about the "why" of this problem tho.
Thank to Siavash : flutter clean, from inside the project folder, solved the issue (or simply by using the VSCode terminal).
here I have a answer. See steps below:-
1- Go to your flutter folder where you saved, go and run the 'flutter_console.bat' file. a console will be open.
2- Type "flutter doctor".:-
3- It will show all the problems in your flutter setup. In my case you can see:-
C:\Users\M A Hafeez>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.19042.685], locale en-US)
flutter_run
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
X No Java Development Kit (JDK) found; You must have the environment variable JAVA_HOME set and the java binary in your PATH. You can download the JDK from https://www.oracle.com/technetwork/java/javase/downloads/.
[!] Android Studio (not installed)
[√] VS Code (version 1.52.1)
[√] Connected device (1 available)
! Doctor found issues in 2 categories.
Basically my error was about Java, that I have no installed before facing this error.
Hope this will be helpful. :)
Enjoy Coding

Oracle Virtual Server OEL vm fails to start - kernel panic on cpu identify [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am in the process of following a guide to setup various oracle vm templates, so far I have installed OVS 2. 2 and got the OVM Manager working, imported the template for OEL5U5 and created a vm from it.. the problem comes when starting that vm.
The log in the OVMM console shows the following;
Update VM Status - Running
Configure CPU Cap
Set CPU Cap: failed:<Exception: failed:<Exception: ['xm', 'sched-credit', '-d',
'32_EM11g_OVM', '-c', '0'] => Error: Domain '32_EM11g_OVM' does not exist.
StackTrace:
File "/opt/ovs-agent-2.3/OVSXXenVMConfig.py", line 2531, in xen_set_cpu_cap
run_cmd(args=['xm',
File "/opt/ovs-agent-2.3/OVSCommons.py", line 92, in run_cmd
raise Exception('%s => %s' % (args, err))
The xend.log shows;
[2012-11-12 16:42:01 7581] DEBUG (DevController:139) Waiting for devices vtpm
[2012-11-12 16:42:01 7581] INFO (XendDomain:1180) Domain 32_EM11g_OVM (3) unpaused.
[2012-11-12 16:42:03 7581] WARNING (XendDomainInfo:1907) Domain has crashed: name=32_EM11g_OVM id=3.
[2012-11-12 16:42:03 7581] ERROR (XendDomainInfo:2041) VM 32_EM11g_OVM restarting too fast (Elapsed time: 11.377262 seconds). Refusing to restart to avoid loops .>
[2012-11-12 16:42:03 7581] DEBUG (XendDomainInfo:2757) XendDomainInfo.destroy: domid=3
[2012-11-12 16:42:12 7581] DEBUG (XendDomainInfo:2230) Destroying device model
[2012-11-12 16:42:12 7581] INFO (image:553) 32_EM11g_OVM device model terminated
I have set_on_crash="preserve" in the vm.cfg and have then run xm create -c to get the console screen while booting and this is the log of what happens..
Started domain 32_EM11g_OVM (id=4)
Bootdata ok (command line is ro root=LABEL=/ )
Linux version 2.6.18-194.0.0.0.3.el5xen (mockbuild#build.example.com) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Mon Mar 29 18:27:00 EDT 2010
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000180800000 (usable)>
No mptable found.
Built 1 zonelists. Total pages: 1574912
Kernel command line: ro root=LABEL=/
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 1600.008 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Software IO TLB disabled
Memory: 6155256k/6299648k available (2514k kernel code, 135548k reserved, 1394k data, 184k init)
Calibrating delay using timer specific routine.. 4006.42 BogoMIPS (lpj=8012858)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 16K (64 bytes/line)
CPU: L2 Cache: 2048K (64 bytes/line)
general protection fault: 0000 [1] SMP
last sysfs file:
CPU 0
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.18-194.0.0.0.3.el5xen #1
RIP: e030:[ffffffff80271280] [ffffffff80271280] identify_cpu+0x210/0x494
RSP: e02b:ffffffff80643f70 EFLAGS: 00010212
RAX: 0040401000810008 RBX: 0000000000000000 RCX: 00000000c001001f
RDX: 0000000000404010 RSI: 0000000000000001 RDI: 0000000000000005
RBP: ffffffff8063e980 R08: 0000000000000025 R09: ffff8800019d1000
R10: 0000000000000026 R11: ffff88000102c400 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff805d2000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000
Process swapper (pid: 0, threadinfo ffffffff80642000, task ffffffff804f4b80)
Stack: 0000000000000000 ffffffff802d09bb ffffffff804f4b80 0000000000000000
0000000021100800 0000000000000000 0000000000000000 ffffffff8064cb00
0000000000000000 0000000000000000
Call Trace:
[ffffffff802d09bb] kmem_cache_zalloc+0x62/0x80
[ffffffff8064cb00] start_kernel+0x210/0x224
[ffffffff8064c1e5] _sinittext+0x1e5/0x1eb
Code: 0f 30 b8 73 00 00 00 f0 0f ab 45 08 e9 f0 00 00 00 48 89 ef
RIP [ffffffff80271280] identify_cpu+0x210/0x494
RSP ffffffff80643f70
0 Kernel panic - not syncing: Fatal exception
clear as mud to me.
are there any other logs that will help me?
I have now deployed another vm from the same template and used the default vm settings rather than adding more memory etc - I get exactly the same error.

Bus error (core dumped) when commit or pull in git

when I'm trying to commit or pull this error Bus error (core dumped) occurs!
when I debug it with gdb, (gdb git,run commit -a,where) the result is:
muculus#muculus-laptop:~/www/pure/core$ gdb git
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/git...(no debugging symbols found)...done.
(gdb) run commit -a
Starting program: /usr/bin/git commit -a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGBUS, Bus error.
0x00000000004e9338 in ?? ()
(gdb) where
#0 0x00000000004e9338 in ?? ()
#1 0x00000000004ea64f in ?? ()
#2 0x00000000004b5143 in ?? ()
#3 0x00000000004ada6e in ?? ()
#4 0x000000000041d29b in ?? ()
#5 0x000000000041df17 in ?? ()
#6 0x0000000000405634 in ?? ()
#7 0x0000000000404a30 in ?? ()
#8 0x00007ffff73ee76d in __libc_start_main (main=0x404980, argc=3, ubp_av=0x7fffffffe008, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffdff8) at libc-start.c:226
#9 0x0000000000404e65 in ?? ()
#10 0x00007fffffffdff8 in ?? ()
#11 0x000000000000001c in ?? ()
#12 0x0000000000000003 in ?? ()
#13 0x00007fffffffe34b in ?? ()
#14 0x0000000000000000 in ?? ()
(gdb)
how can I fix this problem?
Try running dmesg. In my case this was due to a hardware error: A bad sector on sda.

Resources