I'm new to kernel debugging, I'm trying to analyze the vmcore file using crash tool on RHEL 7. I'm trying to open the dump with below command.
crash /lib/debug/lib/modules/3.10.0-1160.80.1.el7.x86_64/vmlinux vmcore
but tools fails to load the vmcore with below error:
WARNING: kernel relocated [460MB]: patching 87472 gdb minimal_symbol values
crash: page excluded: kernel virtual address: ffffffffffffffff type: "possible"
WARNING: cannot read cpu_possible_map
crash: page excluded: kernel virtual address: ffffffffffffffff type: "present"
WARNING: cannot read cpu_present_map
crash: page excluded: kernel virtual address: ffffffffffffffff type: "online"
WARNING: cannot read cpu_online_map
crash: page excluded: kernel virtual address: ffffffffffffffff type: "active"
WARNING: cannot read cpu_active_map
WARNING: kernel version inconsistency between vmlinux and dumpfile
crash: page excluded: kernel virtual address: ffffffffffffffff type: "cpu_present_map"
crash: page excluded: kernel virtual address: ffffffffffffffff type: "cpu_present_map"
crash: cannot determine thread return address
WARNING: cannot determine pgdat list for this kernel/architecture
please wait... (gathering kmem slab cache data)
crash: invalid kernel virtual address: 1c type: "kmem_cache objsize/object_size"
Segmentation fault (core dumped)
I'm not sure this the vmcore file issue or crash tool issue. Can someone please help resolve this issue.
Thanks in advance
Describe the bug
After upgrading my MacOS from High Sierra to Mojave and Xcode from 10.x to 11.3, I'm no longer able to run the Detox test.. It gives me this error below about not having iOS simulators.
**DetoxRuntimeError: Failed to find a device by UDID = "7C50BE35-0CDE-413A-A08D-784E98C61010" and by type = "iPhone 11 Pro"
HINT: Run 'applesimutils --list' to list your supported devices. It is advised only to specify a device type, e.g., "iPhone Xʀ" and avoid explicit search by OS version.
at SimulatorDriver._queryDevices (../node_modules/detox/src/devices/drivers/SimulatorDriver.js:224:13)**
So I ran applesimutils --list command and received empty list like below.
[
]
But if I run xcrun simctl list devices then I get the list of devices pertaining to iOS 13.3
To Reproduce
[Yes] I have tested this issue on the latest Detox release and it still reproduces
Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.
Upgrade MacOS from High Sierra to Mojave and Xcode from 10.x to 11.3 (latest)
Run "detox text"
Got this error
DetoxRuntimeError: Failed to find a device by UDID = "7C50BE35-0CDE-413A-A08D-784E98C61010" and by type = "iPhone 11 Pro"
HINT: Run 'applesimutils --list' to list your supported devices. It is advised only to specify a device type, e.g., "iPhone Xʀ" and avoid explicit search by OS version.
at SimulatorDriver._queryDevices (../node_modules/detox/src/devices/drivers/SimulatorDriver.js:224:13)
Ran applesimutils --list command. Received an empty list
[
]
But if I run xcrun simctl list devices then I get the list of devices pertaining to iOS 13.3. I even changed my package.json to reflect the latest migration guide link below and included the device object - https://github.com/wix/Detox/blob/master/docs/Guide.Migration.md
This is how my package.json looks like
"detox": {
"configurations": {
"ios.sim.debug": {
"type": "ios.simulator",
"binaryPath": "build/native/QuickSightiOS-2.0.2096.d.d.app",
"build": "xcodebuild -project ios/quicksight-react-native-mobile-tests.xcodeproj -scheme quicksight-react-native-mobile-tests -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"device": {
"type": "iPhone 11 Pro",
"id": "7C50BE35-0CDE-413A-A08D-784E98C61010"
}
}
},
"test-runner": "jest"
},`
I went to this website https://github.com/wix/AppleSimulatorUtils and reran the applesimutils commands again..
brew tap wix/brew
brew install applesimutils
After running the 2nd command above, i got this error
**4c32759b84a9:QuicksightReactNativeMobileTests kondurc$ brew install applesimutils
Updating Homebrew...
Error: applesimutils: /usr/local/Homebrew/Library/Taps/wix/homebrew-brew/applesimutils.rb:4: syntax error, unexpected <<, expecting end
<<<<<<< HEAD
^~
/usr/local/Homebrew/Library/Taps/wix/homebrew-brew/applesimutils.rb:18: syntax error, unexpected ===, expecting end
^~~
/usr/local/Homebrew/Library/Taps/wix/homebrew-brew/applesimutils.rb:24: syntax error, unexpected >>, expecting end
Detox Instruments 1.9.9...
^~
/usr/local/Homebrew/Library/Taps/wix/homebrew-brew/applesimutils.rb:24: unexpected fraction part after numeric literal
Detox Instruments 1.9.9876**
Expected behavior
I would expect applesimutils --list command to show the list of simulators supported and eventually my detox test to run successfully instead of complaining about failing to find the device type.
Environment (please complete the following information):
- Detox: 14.9.2
- React Native: 0.60.4
- Node: v10.15.1
- Device: iPhone 11 Pro (simulator)
- Xcode: 11.3
- iOS: 13.3
- macOS: Mojave
Device and Verbose Detox Logs
4c32759b84a9:QuicksightReactNativeMobileTests kondurc$ detox test --loglevel trace
detox[63893] INFO: [test.js] configuration="ios.sim.debug" loglevel="trace" reportSpecs=true DETOX_START_TIMESTAMP=1578349653101 node_modules/.bin/jest --config e2e/config.json '--testNamePattern=^((?!:android:).)*$' --maxWorkers 1 "e2e"
detox[63894] INFO: [DetoxServer.js] server listening on localhost:50258...
detox[63894] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:50258
detox[63894] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"login","params":{"sessionId":"6d94b773-5329-fab7-89ae-add64e14cdec","role":"tester"},"messageId":0}
detox[63894] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=6d94b773-5329-fab7-89ae-add64e14cdec
detox[63894] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=6d94b773-5329-fab7-89ae-add64e14cdec
detox[63894] TRACE: [AsyncWebSocket.js/WEBSOCKET_MESSAGE] {"type":"loginSuccess","params":{"sessionId":"6d94b773-5329-fab7-89ae-add64e14cdec","role":"tester"},"messageId":0}
detox[63894] DEBUG: [exec.js/EXEC_CMD, #0] applesimutils --list --byId 7C50BE35-0CDE-413A-A08D-784E98C61010 --byType "iPhone 11 Pro"
detox[63894] TRACE: [exec.js/EXEC_SUCCESS, #0] [
]
detox[63894] ERROR: [DetoxExportWrapper.js/DETOX_INIT_ERROR]
DetoxRuntimeError: Failed to find a device by UDID = "7C50BE35-0CDE-413A-A08D-784E98C61010" and by type = "iPhone 11 Pro"
HINT: Run 'applesimutils --list' to list your supported devices. It is advised only to specify a device type, e.g., "iPhone Xʀ" and avoid explicit search by OS version.
at SimulatorDriver._queryDevices (/Users/kondurc/Desktop/quicksightmobiletests/src/QuicksightReactNativeMobileTests/node_modules/detox/src/devices/drivers/SimulatorDriver.js:224:13)
at process._tickCallback (internal/process/next_tick.js:68:7)
detox[63894] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onAfterAll()
detox[63894] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=6d94b773-5329-fab7-89ae-add64e14cdec
detox[63894] DEBUG: [DetoxServer.js/WS_CLOSE] Detox server connections terminated gracefully
FAIL e2e/specs/signinWithADUserTests.spec.js
Sign In using Enterprise AD User - Reader role
✕ Should verify app is launched and Sign In button is available (4ms)
✕ Should Sign In with valid AD user from a reader group (15ms)
✕ Should enter Settings View Page (2ms)
✕ Should Sign Out (1ms)
● Sign In using Enterprise AD User - Reader role › Should verify app is launched and Sign In button is available
DetoxRuntimeError: Failed to find a device by UDID = "7C50BE35-0CDE-413A-A08D-784E98C61010" and by type = "iPhone 11 Pro"
HINT: Run 'applesimutils --list' to list your supported devices. It is advised only to specify a device type, e.g., "iPhone Xʀ" and avoid explicit search by OS version.
at SimulatorDriver._queryDevices (../node_modules/detox/src/devices/drivers/SimulatorDriver.js:224:13)
● Sign In using Enterprise AD User - Reader role › Should verify app is launched and Sign In button is available
ReferenceError: device is not defined
7 | describe('Sign In using Enterprise AD User - Reader role', () => {
8 | beforeEach(async () => {
> 9 | await device.launchApp();
| ^
10 | });
11 |
12 | it('Should verify app is launched and Sign In button is available', async () => {
at device (specs/signinWithADUserTests.spec.js:9:11)
at tryCatch (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype.(anonymous function) [as next] (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:97:21)
at tryCatch (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:45:40)
at invoke (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:135:20)
at ../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:170:11
at callInvokeWithMethodAndArg (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:169:16)
at AsyncIterator.enqueue (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:192:13)
at AsyncIterator.prototype.(anonymous function) [as next] (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:97:21)
at Object.<anonymous>.exports.async (../node_modules/#babel/runtime/node_modules/regenerator-runtime/runtime.js:216:14)
at Object._callee (specs/signinWithADUserTests.spec.js:8:14)
As stated in the readme:
https://github.com/wix/AppleSimulatorUtils#troubleshooting
If Homebrew complains about a conflict in the wix/brew tap, run brew untap wix/brew && brew tap wix/brew and try installing again
Then upgrade applesimutils normally.
I have migrated settings of my iMac to another iMac and when I tried to run iOS test on current iMac, error occurs which says
'OpenQA.Selenium.WebDriverException : An unknown server-side error occurred while processing the command. Original error: Unknown device or simulator UDID: 'A379B193-5472-4D39-BF00-AFEAB29858E7'
However Simulator with above UUID exists
I tried reading appium logs but have not found anything conclusive. Please see logs below:
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"deviceName":"iPhone 8 Plus","platformName":"iOS","automationName":"XCUITest","browserName":"Safari","udid":"A379B193-5472-4D39-BF00-AFEAB29858E7","autoDismissAlerts":true,"simpleIsVisibleCheck":true},"capabilities":{"firstMatch":[{"platformName":"iOS","browserName":"Safari"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone 8 Plus","platformName":"iOS","automationName":"XCUITest","browserName":"Safari","udid":"A379B193-5472-4D39-BF00-AFEAB29858E7","autoDismissAlerts":true,"simpleIsVisibleCheck":true},null,{"firstMatch":[{"platformName":"iOS","browserName":"Safari"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1562150024125 (14:33:44 GMT+0400 (Gulf Standard Time))
[Appium] Could not parse W3C capabilities: 'deviceName' can't be blank
[Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[BaseDriver] The capabilities ["deviceName","automationName","udid","autoDismissAlerts","simpleIsVisibleCheck"] are not standard capabilities and should have an extension prefix
[Appium] Creating new XCUITestDriver (v2.94.2) session
[Appium] Capabilities:
[Appium] deviceName: iPhone 8 Plus
[Appium] automationName: XCUITest
[Appium] udid: A379B193-5472-4D39-BF00-AFEAB29858E7
[Appium] autoDismissAlerts: true
[Appium] simpleIsVisibleCheck: true
[Appium] platformName: iOS
[Appium] browserName: Safari
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:dev... and MJSONWP desired capabilities {"deviceName":"iPhone 8 Plu... were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:dev...
[BaseDriver] Session created with session id: 50086b20-bb82-4899-818b-b169422707c3
[debug] [XCUITest] Current user: 'ayushgoel'
[debug] [XCUITest] Xcode version set to '10.2.1' (tools v10.2.1.0.1.1554506761)
[debug] [XCUITest] iOS SDK Version set to '12.2'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1562150024191 (14:33:44 GMT+0400 (Gulf Standard Time))
[debug] [XCUITest] Available devices:
[XCUITest] Error: Unknown device or simulator UDID: 'A379B193-5472-4D39-BF00-AFEAB29858E7'
[XCUITest] at XCUITestDriver.determineDevice$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:693:17)
[XCUITest] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[XCUITest] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[XCUITest] at GeneratorFunctionPrototype.prototype.<computed> [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[XCUITest] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1562150024370 (14:33:44 GMT+0400 (Gulf Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Unknown device or simulator UDID: 'A379B193-5472-4D39-BF00-AFEAB29858E7'
[debug] [W3C] at XCUITestDriver.determineDevice$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:693:17)
[debug] [W3C] at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.<computed> [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 246 ms - 1197
Test is running of previous iMac and there is no difference. Please help me where I am doing wrong.
KMS crashed with following error message:
(kurento-media-server:6421): GLib-CRITICAL **: g_error_free: assertion 'error != NULL' failed
^[[31;1mSegmentation fault^[[0m (thread ^[[33;1m140303257732864^[[0m, pid ^[[33;1m24975^[[0m)
GLib-GIO-CRITICAL **: g_socket_send_message: assertion 'G_IS_SOCKET (socket)' failed
Enviroment:
Version: 6.6.1
Found modules:
Module: 'core' version '6.6.1'
Module: 'elements' version '6.6.1'
Module: 'filters' version '6.6.1'
Server specs:
CPU: 2.4 Ghz
RAM: 30 Gb
There was 10-15 viewers and 4-6 presenters at this moment.
Hope this details will help to understand issue, thx.
I am using GStreamer 1.2.4 in a Virtualbox 5.0.4.
When I start a simple pipeline (like videotestsrc ! autovideosink), I am getting an error about problems with graphical hardware acceleration (va_openDriver() returns -1).
How can I make GStreamer work in a virtualbox?
gst-launch-1.0 videotestsrc ! autovideosink
Setting pipeline to PAUSED ...
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/vboxvideo_drv_video.so
libva info: va_openDriver() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) <--