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

nemo 1.1.2 Segmentation fault #117

Closed
blshkv opened this issue Nov 22, 2012 · 12 comments
Closed

nemo 1.1.2 Segmentation fault #117

blshkv opened this issue Nov 22, 2012 · 12 comments

Comments

@blshkv
Copy link

blshkv commented Nov 22, 2012

Hi, I'm trying to compile nemo in other distribution manually.

So here are the steps:
bash$ autoreconf
/usr/share/aclocal/gtkglextmm-1.2.m4:225: warning: underquoted definition of AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD
/usr/share/aclocal/gtkglextmm-1.2.m4:225: run info '(automake)Extending aclocal'
/usr/share/aclocal/gtkglextmm-1.2.m4:225: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
libnemo-extension/Makefile.am:78: addprefix $(srcdir: non-POSIX variable name
libnemo-extension/Makefile.am:78: (probably a GNU make extension)

bash$ ./configure --disable-libexif --disable-xmp --disable-packagekit --disable-update-mimedb --enable-debug --enable-tracker=no --enable-introspection=no

(first I tried with default settings ./configure)

nemo-1.1.2:

prefix:                 /usr/local
source code location:   .
compiler:       gcc
libexif support:    no
libexempi support:  no
PackageKit support:     no
Tracker support:    no

    debugging support:      yes
nemo-extension documentation: no
nemo-extension introspection: no (disabled, use --enable-introspection to enable)

(gdb) run
Starting program: /home/blshkv/linuxmint-nemo-7bee834/src/.libs/nemo
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeb476700 (LWP 8000)]
[New Thread 0x7fffeac75700 (LWP 8001)]
[New Thread 0x7fffea474700 (LWP 8002)]
[New Thread 0x7fffe8c41700 (LWP 8003)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff40900c6 in ?? () from /lib64/libc.so.6

emerge --info

Portage 2.1.11.31 (hardened/linux/amd64, gcc-4.5.4, glibc-2.15-r3, 3.5.4-pentoo x86_64)

System uname: Linux-3.5.4-pentoo-x86_64-Intel-R-_Core-TM-i5_CPU_M_520@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Tue, 20 Nov 2012 01:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.11.5::pentoo
sys-apps/sandbox: 2.6
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4, 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r4
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r3

Let me know if I can provide more information

@mtwebster
Copy link
Member

can you do a backtrace in gdb? (bt after the segfault)

Thanks

@blshkv
Copy link
Author

blshkv commented Nov 22, 2012

Sorry, forgot to submit it. I also got a new message today:

(gdb) run
Starting program: /home/blshkv/linuxmint-nemo-7bee834/src/.libs/nemo
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeb476700 (LWP 22635)]
[New Thread 0x7fffeac75700 (LWP 22636)]
[New Thread 0x7fffea474700 (LWP 22637)]
[New Thread 0x7fffe8c41700 (LWP 22638)]

(nemo:22632): GLib-GIO-ERROR **: Settings schema 'org.nemo.preferences' does not contain a key named 'show-full-path-titles'

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff4882655 in g_logv () from /usr/lib64/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff4882655 in g_logv () from /usr/lib64/libglib-2.0.so.0
#1 0x00007ffff4882823 in g_log () from /usr/lib64/libglib-2.0.so.0
#2 0x00007ffff4e80b72 in ?? () from /usr/lib64/libgio-2.0.so.0
#3 0x00007ffff4e80e05 in ?? () from /usr/lib64/libgio-2.0.so.0
#4 0x00007ffff4e84c58 in g_settings_get_value () from /usr/lib64/libgio-2.0.so.0
#5 0x00007ffff4e85bb3 in g_settings_get_boolean () from /usr/lib64/libgio-2.0.so.0
#6 0x000055555562c53e in nemo_compute_title_for_location (location=0x555555d81130) at nemo-file-utilities.c:85
#7 0x0000555555604c51 in nemo_bookmark_connect_file (bookmark=0x555555d43800) at nemo-bookmark.c:275
#8 0x00007ffff4b7a457 in g_object_newv () from /usr/lib64/libgobject-2.0.so.0
#9 0x00007ffff4b7a7c1 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
#10 0x00007ffff4b7aaf1 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
#11 0x0000555555604938 in nemo_bookmark_new (location=0x555555d81130, custom_name=0x0, icon=0x0) at nemo-bookmark.c:589
#12 0x000055555558aa02 in new_bookmark_from_uri (label=0x0, uri=) at nemo-bookmark-list.c:72
#13 load_file_finish (res=, source=, bookmarks=0x555555bd5a90) at nemo-bookmark-list.c:493
#14 op_processed_cb (source=, res=, user_data=0x555555bd5a90) at nemo-bookmark-list.c:619
#15 0x00007ffff4e375af in g_simple_async_result_complete () from /usr/lib64/libgio-2.0.so.0
#16 0x00007ffff4dfeb1f in ?? () from /usr/lib64/libgio-2.0.so.0
#17 0x00007ffff4e1f8ec in ?? () from /usr/lib64/libgio-2.0.so.0
#18 0x00007ffff4e375af in g_simple_async_result_complete () from /usr/lib64/libgio-2.0.so.0
#19 0x00007ffff4e37658 in ?? () from /usr/lib64/libgio-2.0.so.0
#20 0x00007ffff4879d23 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007ffff487a0a0 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007ffff487a18c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007ffff4e6db0c in g_application_run () from /usr/lib64/libgio-2.0.so.0
#24 0x00005555555ad896 in main (argc=1, argv=0x7fffffffdb08) at nemo-main.c:101

@mtwebster
Copy link
Member

Your gsettings schema isn't being updated to have the new key that was added recently (show-full-path-titles).

Do this:

 gsettings list-recursively | grep show-full-path-titles

And see if it has anything.

What I suspect, since I'm guessing you're just using make and make install (and because I've run into this before) is you have a /usr/local/share/glib-2.0 directory that is old, and your system is using the schemas contained there rather than in the typical /usr/share/glib2.0/schemas (a make/make install with wrong or no flags will do that)

If you have a /usr/local/share/glib-2.0 directory, try temporarily renaming it, then do the gsettings command above again, and see if there's any difference.

@blshkv
Copy link
Author

blshkv commented Nov 23, 2012

Oops, please ignore my previous post. I didn't install the new version actually. Here is the updated bt:

(gdb) bt
#0 0x00007ffff45c7127 in ?? () from /lib64/libc.so.6
#1 0x00005555555f1cd1 in ?? ()
#2 0x00005555555fb1c9 in ?? ()
#3 0x0000555555613b5c in ?? ()
#4 0x00007ffff4ff9d23 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#5 0x00007ffff4ffa0a0 in ?? () from /usr/lib64/libglib-2.0.so.0
#6 0x00007ffff4ffa18c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#7 0x00007ffff55edb0c in g_application_run () from /usr/lib64/libgio-2.0.so.0
#8 0x00005555555ab3a6 in main ()

PS, I'm trying to help Gentoo devs to create a new ebuild, see the bug https://bugs.gentoo.org/show_bug.cgi?id=440612

@mtwebster
Copy link
Member

wow that's not helpful at all :(

@blshkv
Copy link
Author

blshkv commented Nov 23, 2012

how about that one:

(gdb) bt
#0  0x00007ffff40900c6 in ?? () from /lib64/libc.so.6
#1  0x00005555555f41c1 in toolbar_set_view_button (action_id=0x55697d56 <Address 0x55697d56 out of bounds>, pane=<optimized out>)
    at nemo-window-menus.c:861
#2  0x00005555555fd6b9 in nemo_window_sync_view_as_menus (window=<optimized out>) at nemo-window.c:1292
#3  load_view_as_menu (window=<optimized out>) at nemo-window.c:1366
#4  load_view_as_menus_callback (file=<optimized out>, callback_data=<optimized out>) at nemo-window.c:1380
#5  0x000055555561604c in call_ready_callbacks_at_idle (callback_data=<optimized out>) at nemo-directory-async.c:1857
#6  0x00007ffff4879d23 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#7  0x00007ffff487a0a0 in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007ffff487a18c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff4e6db0c in g_application_run () from /usr/lib64/libgio-2.0.so.0
#10 0x00005555555ad896 in main (argc=1, argv=0x7fffffffdb08) at nemo-main.c:101

@mtwebster
Copy link
Member

Is this happening immediately on startup? Or when you perform certain actions?

@blshkv
Copy link
Author

blshkv commented Nov 23, 2012

immediately on startup.

@mtwebster
Copy link
Member

Could you try this change? I cannot get this problem to reproduce, but this may help. Let me know, and I will submit it for patching into Nemo.

https://dl.dropbox.com/u/8201170/nemo-gentoo.patch

@blshkv
Copy link
Author

blshkv commented Nov 23, 2012

still, similar backtrace

(gdb) bt
#0  0x00007ffff4090127 in ?? () from /lib64/libc.so.6
#1  0x00005555555f411f in toolbar_set_view_button (action_id=0x55697d96 <Address 0x55697d96 out of bounds>, pane=0x555555cf0d10)
    at nemo-window-menus.c:828
#2  0x00005555555fd6f9 in nemo_window_sync_view_as_menus (window=<optimized out>) at nemo-window.c:1292
#3  load_view_as_menu (window=<optimized out>) at nemo-window.c:1366
#4  load_view_as_menus_callback (file=<optimized out>, callback_data=<optimized out>) at nemo-window.c:1380
#5  0x000055555561608c in call_ready_callbacks_at_idle (callback_data=<optimized out>) at nemo-directory-async.c:1857
#6  0x00007ffff4879d23 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#7  0x00007ffff487a0a0 in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007ffff487a18c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff4e6db0c in g_application_run () from /usr/lib64/libgio-2.0.so.0
#10 0x00005555555ad896 in main (argc=1, argv=0x7fffffffdb08) at nemo-main.c:101

@mtwebster
Copy link
Member

Try the patch at that link again (I've updated it).

It's also here:

mtwebster@e7efd09

@blshkv
Copy link
Author

blshkv commented Nov 23, 2012

Yes, that fixed the problem. Thanks a lot.

@blshkv blshkv closed this as completed Nov 23, 2012
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

2 participants