denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Fwd: Segfault while copying and pasting


From: Rodney M. Bates
Subject: Re: [Denemo-devel] Fwd: Segfault while copying and pasting
Date: Mon, 30 Jan 2017 14:04:52 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1



On 01/30/2017 12:00 PM, Richard Shann wrote:
On Mon, 2017-01-30 at 11:39 -0600, Rodney M. Bates wrote:



I have 38 measures scored nicely.  I want to make a copy of it all, then paste 
twice
after what I already have, as starting points for further edits.  Denemo
segfaults when I try this method:
are you able to run it under gdb and print out the result of the where
command?

Here it is:  I'll send you the core file if you want that many bits:

address@hidden:~/music/scores$ ll core
-rw------- 1 rodney rodney 226357248 Jan 29 19:29 core


address@hidden:~/music/scores$ ll /usr/bin/denemo
-rwxr-xr-x 1 root root 1560192 Jan 26 14:50 /usr/bin/denemo


address@hidden:~/music/scores$ gdb /usr/bin/denemo core
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/denemo...(no debugging symbols found)...done.
[New LWP 18153]
[New LWP 18154]
[New LWP 18155]
[New LWP 18156]
[New LWP 18164]
[New LWP 18165]
[New LWP 18162]
[New LWP 18169]
[New LWP 18163]
[New LWP 18166]
[New LWP 18179]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `denemo'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fa8db767616 in gtk_widget_get_parent () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
[Current thread is 1 (Thread 0x7fa8ddf57b00 (LWP 18153))]
(gdb) bt
#0  0x00007fa8db767616 in gtk_widget_get_parent () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x0000000000440939 in ?? ()
#2  0x0000000000458041 in ?? ()
#3  0x000000000045a866 in ?? ()
#4  0x000000000045a8e8 in ?? ()
#5  0x000000000045aec3 in ?? ()
#6  0x00000000004a26e7 in ?? ()
#7  0x00007fa8ddb8fd43 in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#8  0x00007fa8ddafc107 in scm_call_1 () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#9  0x00007fa8ddb8fd33 in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#10 0x00007fa8ddafc21e in scm_call_3 () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#11 0x00007fa8ddb8fd33 in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#12 0x00007fa8ddafc21e in scm_call_3 () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#13 0x00007fa8ddb755de in scm_internal_catch () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#14 0x000000000047a008 in ?? ()
#15 0x00000000004a556b in ?? ()
#16 0x00007fa8ddb8fd33 in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#17 0x00007fa8ddafc107 in scm_call_1 () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#18 0x00007fa8ddb8fd33 in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#19 0x00007fa8ddafc21e in scm_call_3 () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#20 0x00007fa8ddb8fd33 in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#21 0x00007fa8ddafc21e in scm_call_3 () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#22 0x00007fa8ddb755de in scm_internal_catch () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#23 0x000000000047a008 in ?? ()
#24 0x000000000045a648 in ?? ()
#25 0x00007fa8d9daffa5 in g_closure_invoke () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007fa8d9dc1fc1 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007fa8d9dcad5c in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007fa8d9dcb08f in g_signal_emit () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007fa8db7660fe in gtk_widget_activate () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007fa8db643766 in gtk_menu_shell_activate_item ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007fa8db643a94 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#32 0x00007fa8db62609a in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#33 0x00007fa8d9db01d4 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007fa8d9dca4b8 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#35 0x00007fa8d9dcb08f in g_signal_emit () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#36 0x00007fa8db763c5c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007fa8db6233be in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#38 0x00007fa8db6251bc in gtk_main_do_event () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#39 0x00007fa8db192ca2 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#40 0x00007fa8d98d7197 in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fa8d98d73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fa8d98d7712 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fa8db624395 in gtk_main () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#44 0x000000000047eb41 in ?? ()
#45 0x00007fa8ddaf258a in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#46 0x00007fa8ddb8fd33 in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#47 0x00007fa8ddafc283 in scm_call_4 () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#48 0x00007fa8ddaf2d21 in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#49 0x00007fa8ddaf2e05 in scm_c_with_continuation_barrier ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#50 0x00007fa8ddb72bbc in ?? () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#51 0x00007fa8dd84a952 in GC_call_with_stack_base () from 
/usr/lib/x86_64-linux-gnu/libgc.so.1
#52 0x00007fa8ddb72fe8 in scm_with_guile () from 
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#53 0x000000000041538e in main ()
(gdb)



edit->select->select all music in movement
edit->copy
place cursor at end, appending
edit->paste

Is this the wrong way?  This is 2.0.19, on Linux, using the .deb files.

I just tested out doing this on 38 bars of a single staff and that seems
to work fine (in fact, repeatedly testing I got up to 301 bars).
If you have more than one staff in your selection you need to create
empty staffs to match the pasting you wish to do. In fact, testing this
I see that if there is only one staff to paste into then the Paste
operation can hang - it seems to depend on the number of bars. I've
submitted a bug report for that.


There are 3 staffs, lyrics on each.  I didn't do anything to lengthen them
at the end of bar 38, just got the cursor there in append mode and pasted.
Does it matter which staff the cursor is in?

Richard
ps are there lyrics involved? Would you like to post your file
(privately, compressed, if you like), just in case it is something
special in the content.


No secrets.  Attached.




--
Rodney Bates
address@hidden

Attachment: theEye4.denemo.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]