Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation fault #41

Closed
mir07 opened this issue Apr 4, 2013 · 6 comments
Closed

segmentation fault #41

mir07 opened this issue Apr 4, 2013 · 6 comments

Comments

@mir07
Copy link

mir07 commented Apr 4, 2013

Crashes every time I try to start it.

dpkg -s mate-control-center
Package: mate-control-center
Status: install ok installed
Priority: optional
Section: mate
Installed-Size: 7138
Maintainer: Stefano Karapetsas <stefano@karapetsas.com>
Architecture: amd64
Version: 1.6.0-2

Backtrace from gdb:
Starting program: /usr/bin/mate-control-center 
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

** (mate-control-center:9606): WARNING **: 
error raised: [libslab_get_gconf_value: error getting /desktop/gnome/applications/main-menu/lock-down/user_modifiable_apps]


** (mate-control-center:9606): WARNING **: 
error raised: [load_xbel_store: couldn't load bookmark file [NULL]
]


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4938315 in generate_categories () from /usr/lib/libslab.so.0
(gdb) bt full
#0  0x00007ffff4938315 in generate_categories () from /usr/lib/libslab.so.0
No symbol table info available.
#1  0x000000000040193b in main (argc=1, argv=0x7fffffffe0a8)
    at control-center.c:198
        hidden = 0
        unique_app = 0x629590
        app_data = 0x642cf0
        actions = 0x0
        error = 0x0
        options = {{long_name = 0x401ed2 "hide", short_name = 0 '\000', 
            flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdf24, 
            description = 0x401fb8 "Hide on start (useful to preload the shell)", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, 
            arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, 
            arg_description = 0x0}}
@stefano-k
Copy link
Collaborator

I dont know why, but you are using the libslab from GNOME.

libslab_get_gconf_value

Which distribution are you using?

@mir07
Copy link
Author

mir07 commented Apr 5, 2013

Hi Stefano,

Distro: Debian Sid
apt-cache show libslab0a
Package: libslab0a
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 1216
Maintainer: Debian GNOME Maintainers pkg-gnome-maintainers@lists.alioth.debian.org
Architecture: amd64
Source: libslab
Version: 2.30.0-1

Seems to be a left-over from previous Gnome2.
Did: sudo aptitude purge libslab0a

And know mate-control-center don't crash anymore, but still:
** (mate-control-center:6508): WARNING **:
error raised: [load_xbel_store: couldn't load bookmark file [NULL]
]

Any idea what this is or should I simply ignore the warning?

Maybe the following should be added to mate-control-center package:
Conflicts: libslab0a

@bitlz
Copy link

bitlz commented Apr 8, 2013

$ mate-keybinding-properties 
Segmentation fault
$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7.0"
VERSION="7.0 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"
$ dpkg -s mate-control-center
Package: mate-control-center
Status: install ok installed
Priority: optional
Section: mate
Installed-Size: 7070
Maintainer: Stefano Karapetsas <stefano@karapetsas.com>
Architecture: i386
Version: 1.6.0-3
$ gdb mate-keybinding-properties 
GNU gdb (GDB) 7.4.1-debian
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mate-keybinding-properties...Reading symbols from /usr/lib/debug/usr/bin/mate-keybinding-properties...done.
done.

(gdb) run
Starting program: /usr/bin/mate-keybinding-properties 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[New Thread 0xb65d8b70 (LWP 17479)]
[New Thread 0xb5bffb70 (LWP 17480)]

Program received signal SIGSEGV, Segmentation fault.
0xb70ebbe8 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

(gdb) backtrace full
#0  0xb70ebbe8 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
No symbol table info available.
#1  0xb71d828b in g_strcmp0 () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x0804d9a3 in key_match (model=0x80895d0, path=0x8138288, iter=0xbffff270, data=0xbffff340) at mate-keybinding-properties.c:459
        match_data = 0xbffff340
        element = 0x8143db8
        element_schema = 0x8145598 "org.mate.control-center.keybinding"
        element_path = 0x81455c0 "/org/mate/desktop/keybindings/custom0/"
#3  0xb7ba1249 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#4  0xb7ba128b in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#5  0xb7ba2563 in gtk_tree_model_foreach () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#6  0x08050189 in key_is_already_shown (entry=0x8142870, model=0x80895d0) at mate-keybinding-properties.c:477
        data = {key = 0x813daf8 "binding", path = 0x8135a50 "/org/mate/desktop/keybindings/custom1/", schema = 0x6e616863 <Address 0x6e616863 out of bounds>, found = 0}
#7  append_keys_to_tree (builder=builder@entry=0x8071ea0, title=<optimized out>, schema=schema@entry=0x80541f0 "org.mate.control-center.keybinding", package=0x0, package@entry=0x8098170 "`\201\t\b", 
    keys_list=keys_list@entry=0x8142848) at mate-keybinding-properties.c:620
        settings_path = <optimized out>
        key_value = <optimized out>
        command = <optimized out>
        settings = 0x0
        key_entry = <optimized out>
        key_string = <optimized out>
        description = <optimized out>
        gsettings_signal = <optimized out>
        parent_iter = {stamp = 1524867286, user_data = 0x812d520, user_data2 = 0x0, user_data3 = 0x0}
        iter = {stamp = 1524867286, user_data = 0x810e180, user_data2 = 0x0, user_data3 = 0x0}
        model = 0x80895d0
        i = 72
        j = <optimized out>
#8  0x08050ca7 in append_keys_to_tree_from_gsettings (builder=0x8071ea0, gsettings_path=<optimized out>) at mate-keybinding-properties.c:1028
        keys = 0x8142848
        i = <optimized out>
        key = {gsettings_path = 0x0, schema = 0x6e616863 <Address 0x6e616863 out of bounds>, name = 0x0, value = 0, 
          value_schema = 0xb7bd0450 "\203\354,\211t$$\213t$0\211\\$ \350\367]\337\377\201\303\350\245 ", value_key = 0x0, description = 0x0, description_key = 0x0, cmd_key = 0x0, comparison = COMPARISON_NONE}
        i = <optimized out>
        gsettings_path = 0x80541d0 "/org/mate/desktop/keybindings/"
        custom_list = 0x813fce0
        entries = 0xb5c2aa80
#9  reload_key_entries (builder=builder@entry=0x8071ea0) at mate-keybinding-properties.c:1084
        wm_keybindings = 0x8121748
        dir = <optimized out>
        name = <optimized out>
        list = <optimized out>
        l = <optimized out>
#10 0x0804d505 in setup_dialog (marco_settings=0x80d5d40, builder=0x8071ea0) at mate-keybinding-properties.c:1904
        column = 0x80d53a8
        widget = <optimized out>
        renderer = 0x8120800
        treeview = 0x80ce198
        selection = <optimized out>
#11 main (argc=1, argv=0xbffff524) at mate-keybinding-properties.c:1963
        builder = 0x8071ea0
        marco_settings = 0x80d5d40

@stefano-k
Copy link
Collaborator

@bitlz could you paste the output of

dconf read /org/mate/desktop/keybindings/custom0/action
dconf read /org/mate/desktop/keybindings/custom0/binding
dconf read /org/mate/desktop/keybindings/custom0/name

@bitlz
Copy link

bitlz commented Apr 17, 2013

$ dconf read /org/mate/desktop/keybindings/custom0/action
'/usr/bin/gmrun'
$ dconf read /org/mate/desktop/keybindings/custom0/binding
'<Mod4>space'
$ dconf read /org/mate/desktop/keybindings/custom0/name
'GmRun'

@stefano-k
Copy link
Collaborator

Duplicate of #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants