after upgrading mate from version 1.6 to 1.8, mate-porter-manager crash with a core dump. $ mate-power-manager ** (mate-power-manager:52972): WARNING **: levels is 0! Segmentation fault (core dumped) $ gdb -c mate-power-manager.core /usr/local/bin/mate-power-manager .... .... (gdb) bt #0 0x000000000041ab16 in ?? () #1 0x00000008041da702 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #2 0x00000008041daaa3 in g_main_context_pending () from /usr/local/lib/libglib-2.0.so.0 #3 0x00000008041dadcf in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0 #4 0x0000000000410877 in ?? () #5 0x0000000000408b5f in ?? () #6 0x000000080064c000 in ?? () #7 0x0000000000000000 in ?? ()
Over to maintainer group. Jan: can you provide more information about your system (uname -a)?
I tested it on my desktop and on a Thinkpad t420, both running FreeBSD doppio..... 10.1-BETA1 FreeBSD 10.1-BETA1 #4 r271461: Mon Sep 15 15:03:52 BST 2014 root@doppio.....:/usr/obj/usr/src/sys/GENERIC amd64
mate-power-manager crashes on my system as well, pretty much exactly as reported by Jan. My system is 10.1-RC1.
same crash for me, even afrer updating to mate-power-manager-1.8.1 ** (mate-power-backlight-helper:3662): WARNING **: failed to find any devices: Error opening directory '/sys/class/backlight': No such file or directory [1] 3661 segmentation fault (core dumped) mate-power-manager (gdb) bt #0 0x000000000041a5d6 in ?? () #1 0x00000008041d7702 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #2 0x00000008041d7aa3 in g_main_context_pending () from /usr/local/lib/libglib-2.0.so.0 #3 0x00000008041d7dcf in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0 #4 0x00000000004107c7 in ?? () #5 0x0000000000408a9f in ?? () #6 0x000000080064a000 in ?? () #7 0x0000000000000000 in ?? () FreeBSD daemon 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 #0: Mon Sep 15 14:35:52 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
same for me tkim@bsd-vm-osx:~ % mate-power-manager ** (mate-power-backlight-helper:1148): WARNING **: failed to find any devices: Error opening directory '/sys/class/backlight': No such file or directory Segmentation fault (core dumped)
(In reply to Taeyoung Kim from comment #5) > same for me > > tkim@bsd-vm-osx:~ % mate-power-manager > > ** (mate-power-backlight-helper:1148): WARNING **: failed to find any > devices: Error opening directory '/sys/class/backlight': No such file or > directory > Segmentation fault (core dumped) mate-power-manager 1.8.1 and FreeBSD as guest on VirtualBox
Same problem here. FreeBSD box.underbuild.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r274332M: Mon Nov 10 09:21:23 CET 2014 charly@box.underbuild.com:/usr/obj/usr/src/sys/PROD i386
A commit references this bug: Author: kwm Date: Mon Jul 27 20:19:48 UTC 2015 New revision: 393031 URL: https://svnweb.freebsd.org/changeset/ports/393031 Log: Update MATE DE to 1.10.0. This MATE is still build agains GTK+2. Sort USES here and there. Replace mate-dialogs with zenity and mate-calc with galculator. This update fixes the following PR's: PR: 193942, 191885 Submitted by: Gustau Perez <gustau.perez@gmail.com> via Gnome devel repo Obtained from: gnome devel repo. Changes: head/MOVED head/Mk/bsd.mate.mk head/archivers/engrampa/Makefile head/archivers/engrampa/distinfo head/archivers/engrampa/files/patch-src_fr-command-tar.c head/archivers/engrampa/pkg-plist head/audio/Makefile head/audio/libmatemixer/ head/audio/libmatemixer/Makefile head/audio/libmatemixer/distinfo head/audio/libmatemixer/pkg-descr head/audio/libmatemixer/pkg-plist head/audio/mate-media/Makefile head/audio/mate-media/distinfo head/audio/mate-media/pkg-plist head/deskutils/caja-extensions/Makefile head/deskutils/caja-extensions/distinfo head/deskutils/caja-extensions/pkg-descr head/deskutils/caja-extensions/pkg-plist head/deskutils/mate-notification-daemon/Makefile head/deskutils/mate-notification-daemon/distinfo head/deskutils/mate-notification-daemon/pkg-plist head/deskutils/mate-utils/Makefile head/deskutils/mate-utils/distinfo head/deskutils/mate-utils/files/patch-logview_logview-utils.c head/deskutils/mate-utils/pkg-plist head/deskutils/mozo/Makefile head/deskutils/mozo/distinfo head/deskutils/mozo/pkg-plist head/devel/mate-common/Makefile head/devel/mate-common/distinfo head/devel/mate-common/files/patch-macros_mate-autogen head/editors/pluma/Makefile head/editors/pluma/distinfo head/editors/pluma/pkg-plist head/graphics/atril/Makefile head/graphics/atril/distinfo head/graphics/atril/files/ head/graphics/atril/pkg-plist head/graphics/eom/Makefile head/graphics/eom/distinfo head/graphics/eom/pkg-plist head/math/Makefile head/math/mate-calc/ head/net/libmateweather/Makefile head/net/libmateweather/distinfo head/net/libmateweather/pkg-plist head/sysutils/mate-control-center/Makefile head/sysutils/mate-control-center/distinfo head/sysutils/mate-control-center/pkg-plist head/sysutils/mate-polkit/Makefile head/sysutils/mate-polkit/distinfo head/sysutils/mate-polkit/pkg-plist head/sysutils/mate-power-manager/Makefile head/sysutils/mate-power-manager/distinfo head/sysutils/mate-power-manager/files/patch-src_Makefile.in head/sysutils/mate-power-manager/files/patch-src_gpm-backlight-helper.c head/sysutils/mate-power-manager/pkg-plist head/sysutils/mate-settings-daemon/Makefile head/sysutils/mate-settings-daemon/distinfo head/sysutils/mate-settings-daemon/pkg-plist head/sysutils/mate-system-monitor/Makefile head/sysutils/mate-system-monitor/distinfo head/sysutils/mate-system-monitor/files/patch-src_load-graph.cpp head/sysutils/mate-system-monitor/files/patch-src_openfiles.cpp head/sysutils/mate-system-monitor/files/patch-src_procproperties.cpp head/sysutils/mate-system-monitor/pkg-plist head/x11/Makefile head/x11/libmatekbd/Makefile head/x11/libmatekbd/distinfo head/x11/libmatekbd/pkg-plist head/x11/mate/Makefile head/x11/mate-applets/Makefile head/x11/mate-applets/distinfo head/x11/mate-applets/files/accessx-status_Makefile.am head/x11/mate-applets/files/battstat_Makefile.am head/x11/mate-applets/files/command_Makefile.am head/x11/mate-applets/files/patch-accessx-status_Makefile.in head/x11/mate-applets/files/patch-battstat_Makefile.in head/x11/mate-applets/files/patch-battstat_power-management.c head/x11/mate-applets/files/patch-charpick_Makefile.in head/x11/mate-applets/files/patch-command_Makefile.in head/x11/mate-applets/files/patch-drivemount_Makefile.in head/x11/mate-applets/files/patch-geyes_Makefile.in head/x11/mate-applets/files/patch-multiload_Makefile.in head/x11/mate-applets/files/patch-stickynotes_Makefile.in head/x11/mate-applets/files/patch-timer-applet_Makefile.in head/x11/mate-applets/files/patch-timerapplet_Makefile.in head/x11/mate-applets/files/patch-trashapplet_src_Makefile.in head/x11/mate-applets/files/stickynotes_Makefile.am head/x11/mate-applets/files/timerapplet_Makefile.am head/x11/mate-applets/files/trashapplet_src_Makefile.am head/x11/mate-applets/pkg-plist head/x11/mate-base/Makefile head/x11/mate-desktop/Makefile head/x11/mate-desktop/distinfo head/x11/mate-desktop/pkg-plist head/x11/mate-dialogs/ head/x11/mate-menus/Makefile head/x11/mate-menus/distinfo head/x11/mate-menus/pkg-plist head/x11/mate-panel/Makefile head/x11/mate-panel/distinfo head/x11/mate-panel/files/patch-applets_wncklet_workspace-switcher.c head/x11/mate-panel/pkg-plist head/x11/mate-screensaver/Makefile head/x11/mate-screensaver/distinfo head/x11/mate-session-manager/Makefile head/x11/mate-session-manager/distinfo head/x11/mate-session-manager/pkg-plist head/x11/mate-terminal/Makefile head/x11/mate-terminal/distinfo head/x11/mate-terminal/pkg-plist head/x11-fm/caja/Makefile head/x11-fm/caja/distinfo head/x11-fm/caja/pkg-plist head/x11-themes/mate-backgrounds/Makefile head/x11-themes/mate-backgrounds/distinfo head/x11-themes/mate-backgrounds/pkg-plist head/x11-themes/mate-icon-theme/Makefile head/x11-themes/mate-icon-theme/distinfo head/x11-themes/mate-icon-theme/pkg-plist head/x11-themes/mate-icon-theme-faenza/Makefile head/x11-themes/mate-icon-theme-faenza/distinfo head/x11-themes/mate-icon-theme-faenza/pkg-plist head/x11-themes/mate-themes/Makefile head/x11-themes/mate-themes/distinfo head/x11-themes/mate-themes/pkg-plist head/x11-wm/marco/Makefile head/x11-wm/marco/distinfo
Mate power manager should not crash anymore at startup. Please note that backlight support isn't implimented, there is a item on the TODO for that. We hide the console message message.