Re: [Lmuse-user] crash on saving

2015-07-08 Thread Robert Jonsson
Hi André,

that's bad :(

As I can't reproduce this (not now anyway). Some things to test:

1. does it crash if you resave an empty project? Meaning, do you need
to add something specific to the project?

2. start muse with arguments -apNI2D  , this will skip connecting
jack, loading plugins and turn on debug trace. Does it crash in this
scenario? Send the debug trace.

3. recompile muse with debug info.
Can be done for instance by modifying the compile_muse.sh and
replacing -DCMAKE_BUILD_TYPE=release with
-DCMAKE_BUILD_TYPE=debug
after installing and before running muse, run the command 'ulimit -c
unlimited' to allow the operating system to store core dumps.
Now, if MusE crashes in this scenario opening the core file with gdb
will hopefully show the problem.

Report back and do ask if something is unclear.

Thanks,
Robert


2015-07-08 12:22 GMT+02:00 André Sklenář andre.skle...@gmail.com:
 Hiall.

 i started making some music again, when a most unfortunate thing happened -
 muse crashed right on ctrl+s, losing my progress exactly at a time i wanted
 to save it :-/

 So i found out that this happens every time you save a project which
 overwrites a file. This happens with 2.1.x aswell as with 2.2.1.

 It also crashes regularly when autosave is on.

 Here is some info on my system.
 archlinux, 3.14.45-1-lts (but bfs and rt kernels do the same)
 qt version:

 4.8.7.

 here is a gdb backtrace:

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7fffdea1c700 (LWP 21405)]
 0x7fffc0f91d90 in ?? () from /usr/lib/libatkmm-1.6.so.1
 (gdb) thread apply all bt

 Thread 9 (Thread 0x7fffde21b700 (LWP 21406)):
 #0  0x703f3e8d in poll () from /usr/lib/libc.so.6
 #1  0x7fffef76dc7c in ?? () from /usr/lib/libglib-2.0.so.0
 #2  0x7fffef76dd8c in g_main_context_iteration () from
 /usr/lib/libglib-2.0.so.0
 #3  0x7fffef76ddc9 in ?? () from /usr/lib/libglib-2.0.so.0
 #4  0x7fffef794625 in ?? () from /usr/lib/libglib-2.0.so.0
 #5  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
 #6  0x703fcbfd in clone () from /usr/lib/libc.so.6

 Thread 8 (Thread 0x7fffcdcb2700 (LWP 21410)):
 #0  0x71a9c96f in pthread_cond_wait@@GLIBC_2.3.2 () from
 /usr/lib/libpthread.so.0
 #1  0x769d2f4c in ?? () from /usr/lib/libjack.so.0
 #2  0x769ca178 in ?? () from /usr/lib/libjack.so.0
 #3  0x769d1f30 in ?? () from /usr/lib/libjack.so.0
 #4  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
 #5  0x703fcbfd in clone () from /usr/lib/libc.so.6

 Thread 7 (Thread 0x7fffcdc31700 (LWP 21411)):
 #0  0x71a9f86d in read () from /usr/lib/libpthread.so.0
 #1  0x769d37c5 in ?? () from /usr/lib/libjack.so.0
 #2  0x769d62cb in ?? () from /usr/lib/libjack.so.0
 #3  0x769d1f30 in ?? () from /usr/lib/libjack.so.0
 #4  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
 #5  0x703fcbfd in clone () from /usr/lib/libc.so.6

 Thread 6 (Thread 0x7fffc2108700 (LWP 21550)):
 ---Type return to continue, or q return to quit---
 #0  0x703f3e8d in poll () from /usr/lib/libc.so.6
 #1  0x71cb698c in lo_server_wait () from /usr/lib/liblo.so.7
 #2  0x71cb83d9 in lo_server_recv_noblock () from /usr/lib/liblo.so.7
 #3  0x71cb941d in ?? () from /usr/lib/liblo.so.7
 #4  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
 #5  0x703fcbfd in clone () from /usr/lib/libc.so.6

 Thread 5 (Thread 0x7fffc22de700 (LWP 21557)):
 #0  0x71a9ed61 in do_futex_wait () from /usr/lib/libpthread.so.0
 #1  0x71a9ee2f in __new_sem_wait_slow () from
 /usr/lib/libpthread.so.0
 #2  0x71a9eee2 in sem_timedwait () from /usr/lib/libpthread.so.0
 #3  0x769d2a6e in ?? () from /usr/lib/libjack.so.0
 #4  0x769bb25d in ?? () from /usr/lib/libjack.so.0
 #5  0x769ba3df in ?? () from /usr/lib/libjack.so.0
 #6  0x769b9748 in ?? () from /usr/lib/libjack.so.0
 #7  0x769d1f30 in ?? () from /usr/lib/libjack.so.0
 #8  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
 #9  0x703fcbfd in clone () from /usr/lib/libc.so.6

 Thread 4 (Thread 0x7fffc0bab700 (LWP 21558)):
 #0  0x703f3e8d in poll () from /usr/lib/libc.so.6
 #1  0x77ac52f2 in MusECore::Thread::loop() () from
 /usr/local/lib/muse-2.2/modules/libmuse_core.so
 #2  0x77ac5439 in MusECore::loop(void*) () from
 /usr/local/lib/muse-2.2/modules/libmuse_core.so
 #3  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
 #4  0x703fcbfd in clone () from /usr/lib/libc.so.6

 Thread 3 (Thread 0x7fffba3b5700 (LWP 21559)):
 ---Type return to continue, or q return to quit---
 #0  0x703f3e8d in poll () from /usr/lib/libc.so.6
 #1  0x77ac52f2 in MusECore::Thread::loop() () from
 /usr/local/lib/muse-2.2/modules/libmuse_core.so
 #2  0x77ac5439 in MusECore::loop(void*) () from
 

[Lmuse-user] crash on saving

2015-07-08 Thread André Sklenář
Hiall.

i started making some music again, when a most unfortunate thing happened -
muse crashed right on ctrl+s, losing my progress exactly at a time i wanted
to save it :-/

So i found out that this happens every time you save a project which
overwrites a file. This happens with 2.1.x aswell as with 2.2.1.

It also crashes regularly when autosave is on.

Here is some info on my system.
archlinux, 3.14.45-1-lts (but bfs and rt kernels do the same)
qt version:

4.8.7.

here is a gdb backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdea1c700 (LWP 21405)]
0x7fffc0f91d90 in ?? () from /usr/lib/libatkmm-1.6.so.1
(gdb) thread apply all bt

Thread 9 (Thread 0x7fffde21b700 (LWP 21406)):
#0  0x703f3e8d in poll () from /usr/lib/libc.so.6
#1  0x7fffef76dc7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x7fffef76dd8c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x7fffef76ddc9 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x7fffef794625 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
#6  0x703fcbfd in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7fffcdcb2700 (LWP 21410)):
#0  0x71a9c96f in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x769d2f4c in ?? () from /usr/lib/libjack.so.0
#2  0x769ca178 in ?? () from /usr/lib/libjack.so.0
#3  0x769d1f30 in ?? () from /usr/lib/libjack.so.0
#4  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
#5  0x703fcbfd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffcdc31700 (LWP 21411)):
#0  0x71a9f86d in read () from /usr/lib/libpthread.so.0
#1  0x769d37c5 in ?? () from /usr/lib/libjack.so.0
#2  0x769d62cb in ?? () from /usr/lib/libjack.so.0
#3  0x769d1f30 in ?? () from /usr/lib/libjack.so.0
#4  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
#5  0x703fcbfd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffc2108700 (LWP 21550)):
---Type return to continue, or q return to quit---
#0  0x703f3e8d in poll () from /usr/lib/libc.so.6
#1  0x71cb698c in lo_server_wait () from /usr/lib/liblo.so.7
#2  0x71cb83d9 in lo_server_recv_noblock () from /usr/lib/liblo.so.7
#3  0x71cb941d in ?? () from /usr/lib/liblo.so.7
#4  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
#5  0x703fcbfd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffc22de700 (LWP 21557)):
#0  0x71a9ed61 in do_futex_wait () from /usr/lib/libpthread.so.0
#1  0x71a9ee2f in __new_sem_wait_slow () from
/usr/lib/libpthread.so.0
#2  0x71a9eee2 in sem_timedwait () from /usr/lib/libpthread.so.0
#3  0x769d2a6e in ?? () from /usr/lib/libjack.so.0
#4  0x769bb25d in ?? () from /usr/lib/libjack.so.0
#5  0x769ba3df in ?? () from /usr/lib/libjack.so.0
#6  0x769b9748 in ?? () from /usr/lib/libjack.so.0
#7  0x769d1f30 in ?? () from /usr/lib/libjack.so.0
#8  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
#9  0x703fcbfd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fffc0bab700 (LWP 21558)):
#0  0x703f3e8d in poll () from /usr/lib/libc.so.6
#1  0x77ac52f2 in MusECore::Thread::loop() () from
/usr/local/lib/muse-2.2/modules/libmuse_core.so
#2  0x77ac5439 in MusECore::loop(void*) () from
/usr/local/lib/muse-2.2/modules/libmuse_core.so
#3  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
#4  0x703fcbfd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fffba3b5700 (LWP 21559)):
---Type return to continue, or q return to quit---
#0  0x703f3e8d in poll () from /usr/lib/libc.so.6
#1  0x77ac52f2 in MusECore::Thread::loop() () from
/usr/local/lib/muse-2.2/modules/libmuse_core.so
#2  0x77ac5439 in MusECore::loop(void*) () from
/usr/local/lib/muse-2.2/modules/libmuse_core.so
#3  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
#4  0x703fcbfd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fffdea1c700 (LWP 21405)):
#0  0x7fffc0f91d90 in ?? () from /usr/lib/libatkmm-1.6.so.1
#1  signal handler called
#2  0x703f3e8d in poll () from /usr/lib/libc.so.6
#3  0x7fffef76dc7c in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x7fffef76e002 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0x7fffe8d8b876 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x7fffef794625 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0x71a97354 in start_thread () from /usr/lib/libpthread.so.0
#8  0x703fcbfd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x77f73780 (LWP 21392)):
#0  0x70385838 in putc () from /usr/lib/libc.so.6
#1  0x77ae1e91 in MusECore::Xml::putLevel(int) () from