albert icon indicating copy to clipboard operation
albert copied to clipboard

[python] SIGSEGV on changes in modules

Open subutux opened this issue 4 years ago • 3 comments
trafficstars

Source

arch community/albert 0.17.2-1

Additional info

Albert report output
core:         Albert version: 0.17.2
core:             Build date: Dec 24 2020 10:03:09
core:             Qt version: 5.15.2
core:   QT_QPA_PLATFORMTHEME: 
core:        Binary location: /usr/bin/albert
core:                    PWD: /home/svancampenhout
core:                  SHELL: /usr/bin/fish
core:                   LANG: en_BE.UTF-8
core:       XDG_SESSION_TYPE: x11
core:    XDG_CURRENT_DESKTOP: KDE
core:        DESKTOP_SESSION: /usr/share/xsessions/plasma
core:    XDG_SESSION_DESKTOP: KDE
core:                     OS: Arch Linux
core:      OS (type/version): arch/unknown
core:              Build ABI: x86_64-little_endian-lp64
core:   Arch (build/current): x86_64/x86_64
core:  Kernel (type/version): linux/5.10.4-zen2-1-zen

Arch Linux \r (\l)

5.10.4-zen2-1-zen
DESKTOP_SESSION=/usr/share/xsessions/plasma
XDG_CURRENT_DESKTOP=KDE
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_TYPE=x11
QMake version 3.1
Using Qt version 5.15.2 in /usr/lib
albert 0.17.2
QtDiag output
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.2.0) on "xcb" 
OS: Arch Linux [linux version 5.10.4-zen2-1-zen]

Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE

Environment:
  QT_AUTO_SCREEN_SCALE_FACTOR="0"
  QT_SCREEN_SCALE_FACTORS="eDP1=1;DP1=1;HDMI1=1;HDMI2=1;VIRTUAL1=1;"

Features: QT_NO_EXCEPTIONS

Library info:
  PrefixPath: /usr
  DocumentationPath: /usr/share/doc/qt
  HeadersPath: /usr/include/qt
  LibrariesPath: /usr/lib
  LibraryExecutablesPath: /usr/lib/qt/libexec
  BinariesPath: /usr/bin
  PluginsPath: /usr/lib/qt/plugins
  ImportsPath: /usr/lib/qt/imports
  Qml2ImportsPath: /usr/lib/qt/qml
  ArchDataPath: /usr/lib/qt
  DataPath: /usr/share/qt
  TranslationsPath: /usr/share/qt/translations
  ExamplesPath: /usr/share/doc/qt/examples
  TestsPath: /usr/tests
  SettingsPath: /etc/xdg

Standard paths [*...* denote writable entry]:
  DesktopLocation: "Desktop" */home/svancampenhout/Desktop*
  DocumentsLocation: "Documents" */home/svancampenhout/Documents*
  FontsLocation: "Fonts" */home/svancampenhout/.local/share/fonts* /home/svancampenhout/.fonts /usr/local/share/fonts /usr/share/fonts
  ApplicationsLocation: "Applications" */home/svancampenhout/.local/share/applications* /usr/local/share/applications /usr/share/applications
  MusicLocation: "Music" */home/svancampenhout/Music*
  MoviesLocation: "Movies" */home/svancampenhout/Videos*
  PicturesLocation: "Pictures" */home/svancampenhout/Pictures*
  TempLocation: "Temporary Directory" */tmp*
  HomeLocation: "Home" */home/svancampenhout*
  AppLocalDataLocation: "Application Data" */home/svancampenhout/.local/share/QtProject/qtdiag* /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  CacheLocation: "Cache" */home/svancampenhout/.cache/QtProject/qtdiag*
  GenericDataLocation: "Shared Data" */home/svancampenhout/.local/share* /usr/local/share /usr/share
  RuntimeLocation: "Runtime" */run/user/1000*
  ConfigLocation: "Configuration" */home/svancampenhout/.config* /etc/xdg
  DownloadLocation: "Download" */home/svancampenhout/Downloads*
  GenericCacheLocation: "Shared Cache" */home/svancampenhout/.cache*
  GenericConfigLocation: "Shared Configuration" */home/svancampenhout/.config* /etc/xdg
  AppDataLocation: "Application Data" */home/svancampenhout/.local/share/QtProject/qtdiag* /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  AppConfigLocation: "Application Configuration" */home/svancampenhout/.config/QtProject/qtdiag* /etc/xdg/QtProject/qtdiag

File selectors (increasing order of precedence):
  en_BE unix linux arch

Network:
  Using "OpenSSL 1.1.1i  8 Dec 2020", version: 0x1010109f

Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition

Style hints:
  mouseDoubleClickInterval: 400
  mousePressAndHoldInterval: 800
  startDragDistance: 10
  startDragTime: 500
  startDragVelocity: 0
  keyboardInputInterval: 400
  keyboardAutoRepeatRate: 30
  cursorFlashTime: 1000
  showIsFullScreen: 0
  showIsMaximized: 0
  passwordMaskDelay: 0
  passwordMaskCharacter: U+25CF
  fontSmoothingGamma: 1.7
  useRtlExtensions: 0
  setFocusOnTouchRelease: 0
  tabFocusBehavior: Qt::TabFocusAllControls 
  singleClickActivation: 1

Additional style hints (QPlatformIntegration):
  ReplayMousePressOutsidePopup: 0

Theme:
  Platforms requested : kde,generic
            available : kde,gtk3,snap,flatpak,xdgdesktopportal
  Styles requested    : Breeze,breeze,oxygen,fusion,windows
         available    : Breeze,Oxygen,Windows,Fusion
  Icon theme          : WhiteSur, hicolor from /home/svancampenhout/.local/share/icons,/usr/share/icons,/home/svancampenhout/.icons
  System font         : "Noto Sans" 10

Fonts:
  General font : "Noto Sans" 10
  Fixed font   : "Hack" 10
  Title font   : "Noto Sans" 10
  Smallest font: "Noto Sans" 8

Palette:
  QPalette::WindowText: #ff242424
  QPalette::Button: #ffffffff
  QPalette::Light: #ffffffff
  QPalette::Midlight: #fffcfcfc
  QPalette::Dark: #ff909090
  QPalette::Mid: #ffcbcbcb
  QPalette::Text: #ff242424
  QPalette::BrightText: #ffffffff
  QPalette::ButtonText: #ff242424
  QPalette::Base: #ffffffff
  QPalette::Window: #fff5f5f5
  QPalette::Shadow: #ff494949
  QPalette::Highlight: #ff315bef
  QPalette::HighlightedText: #ffffffff
  QPalette::Link: #ff315bef
  QPalette::LinkVisited: #ff7f8c8d
  QPalette::AlternateBase: #ffefefef
  QPalette::NoRole: #ff000000
  QPalette::ToolTipBase: #ff242424
  QPalette::ToolTipText: #ffdedede
  QPalette::PlaceholderText: #80242424

Screens: 2, High DPI scaling: inactive
# 0 "eDP1" Depth: 24 Primary: yes
  Manufacturer: DO NOT USE - AUO
  Model: 
  Serial number: 
  Geometry: 1920x1080+0+360 Available: 1920x1080+0+360
  Virtual geometry: 5360x1440+0+0 Available: 5360x1440+0+0
  2 virtual siblings
  Physical size: 340x190 mm  Refresh: 60.0524 Hz Power state: 0
  Physical DPI: 143.435,144.379 Logical DPI: 96.0113,96 Subpixel_None
  DevicePixelRatio: 1 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

# 1 "HDMI1" Depth: 24 Primary: no
  Manufacturer: Iiyama North America
  Model: PL3493WQ-
  Serial number: 1171400300105
  Geometry: 3440x1440+1920+0 Available: 3440x1440+1920+0
  Virtual geometry: 5360x1440+0+0 Available: 5360x1440+0+0
  2 virtual siblings
  Physical size: 800x350 mm  Refresh: 29.9474 Hz Power state: 0
  Physical DPI: 109.22,104.503 Logical DPI: 96.0113,96 Subpixel_None
  DevicePixelRatio: 1 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

LibGL Vendor: Intel
Renderer: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
Version: 4.6 (Compatibility Profile) Mesa 20.3.2
Shading language: 4.60
Format: Version: 4.6 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8
Profile: None (QOpenGLFunctions_4_6)

Vulkan instance available
Supported instance extensions:
  VK_KHR_device_group_creation, version 1
  VK_KHR_display, version 23
  VK_KHR_external_fence_capabilities, version 1
  VK_KHR_external_memory_capabilities, version 1
  VK_KHR_external_semaphore_capabilities, version 1
  VK_KHR_get_display_properties2, version 1
  VK_KHR_get_physical_device_properties2, version 1
  VK_KHR_get_surface_capabilities2, version 1
  VK_KHR_surface, version 25
  VK_KHR_surface_protected_capabilities, version 1
  VK_KHR_wayland_surface, version 6
  VK_KHR_xcb_surface, version 6
  VK_KHR_xlib_surface, version 6
  VK_EXT_acquire_xlib_display, version 1
  VK_EXT_debug_report, version 8
  VK_EXT_direct_mode_display, version 1
  VK_EXT_display_surface_counter, version 1
  VK_EXT_debug_utils, version 2
Supported layers:
  VK_LAYER_VALVE_steam_overlay_32, version 1, spec version 1.2.136, Steam Overlay Layer
  VK_LAYER_VALVE_steam_overlay_64, version 1, spec version 1.2.136, Steam Overlay Layer
  VK_LAYER_VALVE_steam_fossilize_32, version 1, spec version 1.2.136, Steam Pipeline Caching Layer
  VK_LAYER_VALVE_steam_fossilize_64, version 1, spec version 1.2.136, Steam Pipeline Caching Layer
Available physical devices:
  API version 1.2.145, vendor 0x8086, device 0x5917, Intel(R) UHD Graphics 620 (KBL GT2), type 1, driver version 20.3.2

Qt Rendering Hardware Interface supported backends:
OpenGL (with default QSurfaceFormat):
  Min Texture Size: 1
  Max Texture Size: 16384
  Max Color Attachments: 8
  Frames in Flight: 1
  Uniform Buffer Alignment: 1
  Supported MSAA sample counts: 1,2,4,8,16
  Features:
    - MultisampleTexture
    v MultisampleRenderBuffer
    - DebugMarkers
    - Timestamps
    v Instancing
    - CustomInstanceStepRate
    v PrimitiveRestart
    v NonDynamicUniformBuffers
    v NonFourAlignedEffectiveIndexBufferOffset
    v NPOTTextureRepeat
    - RedOrAlpha8IsRed
    v ElementIndexUint
    v Compute
    v WideLines
    v VertexShaderPointSize
    v BaseVertex
    - BaseInstance
    v TriangleFanTopology
    v ReadBackNonUniformBuffer
    v ReadBackNonBaseMipLevel
  Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8
Vulkan:
  Min Texture Size: 1
  Max Texture Size: 16384
  Max Color Attachments: 8
  Frames in Flight: 2
  Uniform Buffer Alignment: 64
  Supported MSAA sample counts: 1,2,4,8,16
  Features:
    v MultisampleTexture
    v MultisampleRenderBuffer
    - DebugMarkers
    v Timestamps
    v Instancing
    - CustomInstanceStepRate
    v PrimitiveRestart
    v NonDynamicUniformBuffers
    v NonFourAlignedEffectiveIndexBufferOffset
    v NPOTTextureRepeat
    v RedOrAlpha8IsRed
    v ElementIndexUint
    v Compute
    v WideLines
    v VertexShaderPointSize
    v BaseVertex
    v BaseInstance
    v TriangleFanTopology
    v ReadBackNonUniformBuffer
    v ReadBackNonBaseMipLevel
  Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x6 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
Terminal output (stdout and stderr)
10:17:53 [debg:core] ========== QUERY: test test  ==========
10:17:53 [debg:core] TIME:    580 µs SESSION TEARDOWN OVERALL
10:17:53 [info:python] test
10:17:53 [info:python] test test
10:17:53 [info:python] test 
10:17:53 [info:python] True
10:17:53 [info:python] True
10:17:53 [crit:python] test
10:17:53 [warn:python] test
10:17:53 [debg:python] test
10:17:53 [debg:python] test
10:17:53 [info:python] /usr/share/icons/hicolor/scalable/apps/albert.svg
10:17:53 [info:python] Python item containing test
10:17:53 [info:python] Python description
10:17:53 [info:python] test Completion Harharhar
10:17:53 [info:python] Urgency.Notification
10:17:53 [info:python] /home/svancampenhout/.config/albert
10:17:53 [info:python] /home/svancampenhout/.cache/albert
10:17:53 [info:python] /home/svancampenhout/.local/share/albert
10:17:53 [debg:core] TIME:   1911 µs MATCHES [org.albert.extension.python]
10:17:54 [debg:core] TIME:  31740 µs QUERY OVERALL
10:17:54 [warn:default] file:///usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/ItemViewDelegate.qml:18: TypeError: Cannot read property 'width' of null
10:17:54 [warn:default] file:///usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/ItemViewDelegate.qml:18: TypeError: Cannot read property 'width' of null
10:17:54 [warn:default] file:///usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/ItemViewDelegate.qml:32:9: QML Image: Cannot open: file:///home/svancampenhout/.local/share/albert/org.albert.extension.python/modules/test/plugin.svg
10:17:57 [debg:core] ========== SESSION TEARDOWN STARTED ==========
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.python]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.firefoxbookmarks]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.applications]
10:17:57 [debg:core] TIME:      1 µs SESSION TEARDOWN [org.albert.extension.files]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.calculator]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.virtualbox]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.terminal]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.system]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.snippets]
10:17:57 [debg:core] TIME:      1 µs SESSION TEARDOWN [org.albert.extension.hashgenerator]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.ssh]
10:17:57 [debg:core] TIME:      0 µs SESSION TEARDOWN [org.albert.extension.websearch]
10:17:57 [warn:default] file:///usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/ItemViewDelegate.qml:18: TypeError: Cannot read property 'width' of null
10:17:57 [warn:default] file:///usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/ItemViewDelegate.qml:18: TypeError: Cannot read property 'width' of null
10:17:57 [debg:core] TIME:  18199 µs SESSION TEARDOWN OVERALL
fish: “albert” terminated by signal SIGSEGV (Address boundary error)

Steps to reproduce

  1. copy the ApiTest module to ~/.local/share/albert/org.albert.extension.python/modules/test/
  2. Make a change to the module file __init__.py ( for ex. add an enter at the end)

Note: The module doens't need to be enabled for this to happen!

Expected behaviour

Albert should reload the module

Actual behaviour

terminated by signal SIGSEGV (Address boundary error)

subutux avatar Jan 13 '21 09:01 subutux

Hi, Is there something not clear? Do you need more information?

subutux avatar Feb 16 '21 08:02 subutux

I have just almost no time. You could build from sources and debug the app if you want to speed things up a bit.

ManuelSchneid3r avatar Feb 16 '21 20:02 ManuelSchneid3r

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 16 '22 20:02 stale[bot]