noise crashes on start (core dumped)

Bug #1266771 reported by Richard
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Noise
Confirmed
Undecided
Unassigned

Bug Description

Well, I just compiled kernel 3.12.6 liquorix today, and Noise just crashed when starting it. I was previously using 3.12.5 liquorix, and Noise was working perfectly. At home, my eOS have the exactly same configuration and is working (AFAIK).

$ uname -a
Linux mordor 3.12.6-zen-20140107 #1 ZEN SMP PREEMPT Tue Jan 7 08:50:15 BRST 2014 x86_64 x86_64 x86_64 GNU/Linux

PS: I'm also using the latest stable release of fglrx.

Here's the gdb output:

$ gdb noise
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/noise...(no debugging symbols found)...done.
(gdb) run -d
Starting program: /usr/bin/noise -d
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".
[New Thread 0x7fffedb1a700 (LWP 1091)]
[New Thread 0x7fffed319700 (LWP 1092)]
[_LOG_LEVEL_INFO 11:33:32.860587] Application.vala:77: Music version: 0.2
[_LOG_LEVEL_INFO 11:33:32.860635] Application.vala:79: Kernel version: 3.12.6-zen-20140107
[_LOG_LEVEL_DEBUG 11:33:32.861861] [Gtk] Connecting to session manager
[_LOG_LEVEL_DEBUG 11:33:32.863136] Settings.vala:158: Loading settings from schema 'org.pantheon.noise.saved-state'
[_LOG_LEVEL_DEBUG 11:33:32.864300] Settings.vala:158: Loading settings from schema 'org.pantheon.noise.settings'
[_LOG_LEVEL_DEBUG 11:33:32.865358] Settings.vala:158: Loading settings from schema 'org.pantheon.noise.equalizer'
[_LOG_LEVEL_DEBUG 11:33:33.137468] Threads.vala:59: Creating task [0]
[New Thread 0x7fffdac7d700 (LWP 1094)]
[_LOG_LEVEL_DEBUG 11:33:33.139077] Threads.vala:154: -- Dispatching task [0]
[_LOG_LEVEL_DEBUG 11:33:33.139112] Threads.vala:59: Creating task [1]
[_LOG_LEVEL_DEBUG 11:33:33.139127] Threads.vala:157: -- starting [0]
[New Thread 0x7fffda47c700 (LWP 1095)]
[_LOG_LEVEL_DEBUG 11:33:33.140171] Threads.vala:154: -- Dispatching task [1]
[_LOG_LEVEL_DEBUG 11:33:33.140216] Threads.vala:59: Creating task [2]
[_LOG_LEVEL_DEBUG 11:33:33.140262] Threads.vala:157: -- starting [1]
[New Thread 0x7fffd9c7b700 (LWP 1096)]
[_LOG_LEVEL_DEBUG 11:33:33.140879] Threads.vala:154: -- Dispatching task [2]
[_LOG_LEVEL_DEBUG 11:33:33.140912] Threads.vala:157: -- starting [2]
[_LOG_LEVEL_DEBUG 11:33:33.140933] Threads.vala:59: Creating task [3]
[New Thread 0x7fffd947a700 (LWP 1098)]
[_LOG_LEVEL_DEBUG 11:33:33.141490] Threads.vala:154: -- Dispatching task [3]
[_LOG_LEVEL_DEBUG 11:33:33.141522] Threads.vala:59: Creating task [4]
[_LOG_LEVEL_DEBUG 11:33:33.141600] Threads.vala:157: -- starting [3]
[New Thread 0x7fffd8c79700 (LWP 1100)]
[_LOG_LEVEL_DEBUG 11:33:33.142005] Threads.vala:154: -- Dispatching task [4]
[_LOG_LEVEL_DEBUG 11:33:33.142128] Threads.vala:59: Creating task [5]
[_LOG_LEVEL_DEBUG 11:33:33.142184] Threads.vala:157: -- starting [4]
[New Thread 0x7fffc3fff700 (LWP 1101)]
[_LOG_LEVEL_DEBUG 11:33:33.142837] Threads.vala:154: -- Dispatching task [5]
[_LOG_LEVEL_DEBUG 11:33:33.142936] Threads.vala:157: -- starting [5]
[_LOG_LEVEL_DEBUG 11:33:33.145263] Threads.vala:159: -- finished [3]
[_LOG_LEVEL_DEBUG 11:33:33.145325] Threads.vala:64: ~Destroying task [3]
[_LOG_LEVEL_DEBUG 11:33:33.145662] Threads.vala:159: -- finished [0]
[_LOG_LEVEL_DEBUG 11:33:33.145705] Threads.vala:64: ~Destroying task [0]
[_LOG_LEVEL_DEBUG 11:33:33.145789] Threads.vala:159: -- finished [5]
[_LOG_LEVEL_DEBUG 11:33:33.145861] Threads.vala:64: ~Destroying task [5]
[_LOG_LEVEL_DEBUG 11:33:33.150769] Threads.vala:159: -- finished [4]
[_LOG_LEVEL_DEBUG 11:33:33.150815] Threads.vala:64: ~Destroying task [4]
[_LOG_LEVEL_DEBUG 11:33:33.161826] Threads.vala:159: -- finished [2]
[_LOG_LEVEL_DEBUG 11:33:33.161873] Threads.vala:64: ~Destroying task [2]
[_LOG_LEVEL_DEBUG 11:33:33.212555] Threads.vala:159: -- finished [1]
[_LOG_LEVEL_DEBUG 11:33:33.212589] Threads.vala:64: ~Destroying task [1]
[Thread 0x7fffd9c7b700 (LWP 1096) exited]
[Thread 0x7fffda47c700 (LWP 1095) exited]
[New Thread 0x7fffda47c700 (LWP 1103)]
[Thread 0x7fffd947a700 (LWP 1098) exited]
[Thread 0x7fffdac7d700 (LWP 1094) exited]
[Thread 0x7fffd8c79700 (LWP 1100) exited]
[_LOG_LEVEL_DEBUG 11:33:34.398095] LibraryWindow.vala:484: BUILDING USER INTERFACE
[_LOG_LEVEL_DEBUG 11:33:34.398127] LibraryWindow.vala:193: setting up main window
[_LOG_LEVEL_DEBUG 11:33:34.403045] LibraryWindow.vala:227: done with main window
[_LOG_LEVEL_DEBUG 11:33:34.403072] LibraryWindow.vala:231: Building main widgets

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5c5bb71 in g_object_ref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) bt
#0 0x00007ffff5c5bb71 in g_object_ref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1 0x00007ffff79a9324 in ?? () from /usr/lib/libgranite.so.1
#2 0x00007ffff79a9536 in granite_widgets_source_list_set_root () from /usr/lib/libgranite.so.1
#3 0x00007ffff79a95a1 in granite_widgets_source_list_construct () from /usr/lib/libgranite.so.1
#4 0x000000000045d8cb in noise_source_list_view_construct ()
#5 0x0000000000438888 in noise_library_window_build_ui ()
#6 0x0000000000430cfe in ?? ()
#7 0x00007ffff5c56eca in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff5c6f711 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff5c70212 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff6b4ac15 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007ffff6b4ad38 in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007ffff79763a8 in granite_application_run () from /usr/lib/libgranite.so.1
#13 0x00000000004309f5 in _vala_main ()
#14 0x00007ffff4a1476d in __libc_start_main (main=0x430790 <main>, argc=2, ubp_av=0x7fffffffd998, init=<optimized out>,
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd988) at libc-start.c:226
#15 0x00000000004307e1 in _start ()

Please, let me know if any other information is needed. Other audio programs are working as expected.

Best regards,
Richard.

Cole (morgenman)
Changed in noise:
status: New → Confirmed
Revision history for this message
Richard (rkuesters) wrote :

Thanks Cole. I tested Noise yesterday with this same kernel / driver (same .config file, same patches on fglrx) configuration at home, and it worked properly. Only the hardware is different - like the audio device.

Best regards,
Richard.

Revision history for this message
Richard (rkuesters) wrote :

Update: I have just compiled the new beta AMD driver for Linux (released on 2014-01-08) and the bug still persists. Running "run -a" in gdb shows the about screen, though. Kinda weird, I'll try to compile it later based on the libc provided by the liquorix kernel to see if it runs.

Revision history for this message
Richard (rkuesters) wrote :

Update II: Just compiled noise from source (apt-get source noise), compiled and made it work without any problems -- except the missing 'path-string' key in dconf, which was easy to workaround:

$ GSETTINGS_SCHEMA_DIR=/opt/noise/share/glib-2.0/schemas/ ./noise
[_LOG_LEVEL_INFO 11:01:09.980346] Application.vala:77: Music version: 0.2.4
[_LOG_LEVEL_INFO 11:01:09.980386] Application.vala:79: Kernel version: 3.12.6-zen-20140107

But, when I try to use the schema I just created with the current installed noise, I got a core dump, but a different one:

$ GSETTINGS_SCHEMA_DIR=/opt/noise/share/glib-2.0/schemas/ noise
[_LOG_LEVEL_INFO 11:03:23.754240] Application.vala:77: Music version: 0.2
[_LOG_LEVEL_INFO 11:03:23.754280] Application.vala:79: Kernel version: 3.12.6-zen-20140107
[_LOG_LEVEL_WARN 11:03:23.758110] [GLib-GIO] Settings schema 'org.pantheon.noise.settings' does not contain a key named 'plugins-enabled'
Trace/breakpoint trap (core dumped)

And, for my surprise, 'plugins-enabled' key changed to 'plugins-disabled'. I just don't understand why :)

$ cat org.pantheon.noise.gschema.xml | grep plugins
    <key type="as" name="plugins-disabled">
    ...

After re-adding 'plugins-enabled' key to the schema XML and compiling it, (the installed) noise crashes again as described earlier.

Best regards,
Richard.

Revision history for this message
Richard (rkuesters) wrote :

Sorry, but update III: re-generating the deb package from source (dpkg-buildpackage -us -uc -nc) and then installing the generated debs made it work again, as expected.

Revision history for this message
Cole (morgenman) wrote :

hmm I have not built this yet, (my dev machine is down right now), I experienced this error from the deb on the elemetary os ppa (stable). Which edits to the source code did you make for the final build? (the one which worked).

Revision history for this message
Richard (rkuesters) wrote :

Hello Cole.

I did not made any changes to the source code. Just downloaded 0.2.4 (which was the source from 0.2.0, strange), recompiled it and installed it. Nothing else, it just started working.

I think it maybe because I have the x-swat ppa enabled, but didn't tested it without the ppa.

Best regards,
Richard.

Revision history for this message
Cole (morgenman) wrote :

I tried it with x-swat but to no avail. I will use Beatbox until this is fixed.. Thanks!

Revision history for this message
Richard (rkuesters) wrote :

Well, I don't think this needs a fix, since version 0.2.4 is working without any modifications - recompiled or from repositories. Probably this was fixed in between, or the 0.2.0 version was compiled against a buggy lib or something. Don't know for sure.

Revision history for this message
Cole (morgenman) wrote :

this is still not working on my machine, version 0.2.4 r518 with no modifications, running luna ....12.04 ... is it just me?

Revision history for this message
Richard (rkuesters) wrote :

Have you tried compiling it from source and running just the binary? That was my first clue. I'm also in 12.04 Ubuntu (which Luna is based), using a customized Liquorix kernel (now on version 3.12.9) and noise, at least, opens properly. The only problem with compiling Noise myself was that it doesn't scan my folders for music. I had to change my music folder using dconf BEFORE launching it, and now it is working as a whole.

Indeed, very, very weird ...

Revision history for this message
Cole (morgenman) wrote :

Downgrade Libgranite1 to 0.2.2~r602-0+pkg53+r1~precise1 and it will work!
:D
so happy right now for figuring it out, can somebody verify?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.