lilypond-devel
[Top][All Lists]
Advanced

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

issue 1464 (was: a plea to new contributors)


From: Matthias Kilian
Subject: issue 1464 (was: a plea to new contributors)
Date: Sat, 1 Jan 2011 14:10:04 +0100
User-agent: Mutt/1.4.2.3i

On Sat, Jan 01, 2011 at 06:51:49AM +0000, Graham Percival wrote:
> The next step in issue 1464 is just to create a backtrace. 

See the blurb below this mail (no, I'm not going to sign up at google
for adding it there).

I don't know why gdb doesn't find paper-column.hh, but anyaway...
it looks like Item::get_column() returns NULL, because its parent's
get_column() returns NULL (I checked that the parent on the X_AXIS
itself is not NULL).

{<Grob> = {_vptr$Grob = 0x7e75b0, static smob_name_ = 0x7e4af3
"Grob", static smob_tag_ = 16767, self_scm_ = 0x214b69740,
protection_cons_ = 0x404, dim_cache_ = {{extent_ = 0x0, offset_ =
0x0, parent_ = 0x210133500}, {extent_ = 0x0, offset_ = 0x0, parent_
= 0x210133000}}, layout_ = 0x20f3c7880, original_ = 0x0,
immutable_property_alist_ = 0x21504cf40, mutable_property_alist_ =
0x214b64db0, object_alist_ = 0x214b60600, interfaces_ = 0x214fcdfc0,
static x_parent_positioning_proc = 0x20f176600, static
y_parent_positioning_proc = 0x20f175a10, static stencil_height_proc
= 0x20f174960, static stencil_width_proc = 0x20f177520, static
interface_symbol_ = 0x210c36d40}, broken_to_drul_ = {array_ =
{0x210124900, 0x210124d00}}, static interface_symbol_ = 0x210c3a560,
cached_pure_height_valid_ = false, cached_pure_height_ =
{<Drul_array<double>> = {array_ = {0, -0}}, <No data fields>}}

And here's the parent in question (*this->dim_cache_[0].parent_):

{_vptr$Grob = 0x804c90, static smob_name_ = 0x7e4af3 "Grob", static
smob_tag_ = 16767, self_scm_ = 0x214b69fd0, protection_cons_ =
0x404, dim_cache_ = {{extent_ = 0x0, offset_ = 0x0, parent_ =
0x207824b00}, {extent_ = 0x0, offset_ = 0x2075ae240, parent_ =
0x210133000}}, layout_ = 0x20f3c7880, original_ = 0x0,
immutable_property_alist_ = 0x21504d310, mutable_property_alist_ =
0x2149c7540, object_alist_ = 0x214b63410, interfaces_ = 0x214fcb720,
static x_parent_positioning_proc = 0x20f176600, static
y_parent_positioning_proc = 0x20f175a10, static stencil_height_proc
= 0x20f174960, static stencil_width_proc = 0x20f177520, static
interface_symbol_ = 0x210c36d40}

It could be possible to check the result of get_column() in
Item::spanned_rank_interval(), but I'm not sure wether this is the
*proper* bug fix (nor what interval should be returned in this
case).

Ciao,
        Kili


#0  0x000000000041a7b0 in Paper_column::get_rank (this=0x0) at 
paper-column.hh:47
47      paper-column.hh: No such file or directory.
        in paper-column.hh
(gdb) bt
#0  0x000000000041a7b0 in Paper_column::get_rank (this=0x0) at 
paper-column.hh:47
#1  0x00000000004ff7b4 in Item::spanned_rank_interval (this=0x210133600) at 
item.cc:199
#2  0x000000000043813b in Axis_group_interface::adjacent_pure_heights 
(smob=0x214b64d80) at axis-group-interface.cc:197
#3  0x00000002047115cf in scm_dapply () from /usr/local/lib/libguile.so.20.0
#4  0x00000000004e326f in Grob::try_callback_on_alist (this=0x210133000, 
alist=0x210133060, sym=0x211eb9b00, proc=0x20f0d13e0) at grob-property.cc:231
#5  0x00000000004e3e9c in Grob::internal_get_property (this=0x210133000, 
sym=0x211eb9b00) at grob-property.cc:188
#6  0x0000000000438a04 in Axis_group_interface::begin_of_line_pure_height 
(me=0x210133000, start=0) at axis-group-interface.cc:116
#7  0x0000000000438be6 in Axis_group_interface::cached_pure_height 
(me=0x210133000, start=0, end=2147483647) at axis-group-interface.cc:95
#8  0x0000000000438ce5 in Axis_group_interface::relative_pure_height 
(me=0x210133000, start=0, end=2147483647) at axis-group-interface.cc:263
#9  0x00000000004390c9 in Axis_group_interface::pure_group_height 
(me=0x210133000, start=0, end=2147483647) at axis-group-interface.cc:494
#10 0x00000000004f45c1 in Hara_kiri_group_spanner::pure_height 
(smob=0x214b64d80, start_scm=0x2, end_scm=0x1fffffffe) at 
hara-kiri-group-spanner.cc:58
#11 0x0000000204711ca3 in scm_dapply () from /usr/local/lib/libguile.so.20.0
#12 0x0000000204716c84 in deval () from /usr/local/lib/libguile.so.20.0
#13 0x0000000204711cbf in scm_dapply () from /usr/local/lib/libguile.so.20.0
#14 0x00000000004e2cd8 in call_pure_function (unpure=0x20f17ab30, 
args=0x2149c2960, start=0, end=2147483647) at grob-property.cc:331
#15 0x00000000004e2ff6 in Grob::internal_get_pure_property (this=0x210133000, 
sym=0x211ec4be0, start=0, end=2147483647) at grob-property.cc:200
#16 0x00000000004ee4e4 in Grob::pure_height (this=0x210133000, 
refp=0x210133000, start=0, end=2147483647) at grob.cc:464
#17 0x000000000041b49d in get_skylines (me=0x210133f00, 
elements=0x7f7ffffe7350, a=Y_AXIS, pure=true, start=0, end=2147483647, 
ret=0x7f7ffffe7330) at align-interface.cc:102
#18 0x000000000041b9c9 in Align_interface::internal_get_minimum_translations 
(me=0x210133f00, address@hidden, a=Y_AXIS, include_fixed_spacing=true, 
pure=true, start=0, end=2147483647)
    at align-interface.cc:191
#19 0x000000000041c25b in Align_interface::get_pure_minimum_translations 
(me=0x210133f00, address@hidden, a=Y_AXIS, start=0, end=2147483647) at 
align-interface.cc:159
#20 0x000000000041c2f7 in Align_interface::get_pure_child_y_translation 
(me=0x210133f00, ch=0x210133000, start=0, end=2147483647) at 
align-interface.cc:307
#21 0x00000000004ee40a in Grob::pure_relative_y_coordinate (this=0x210133000, 
refp=0x21019e800, start=0, end=2147483647) at grob.cc:357
#22 0x00000000004ee435 in Grob::pure_relative_y_coordinate (this=0x210133b00, 
refp=0x21019e800, start=0, end=2147483647) at grob.cc:359
#23 0x00000000004ff917 in Item::pure_height (this=0x210133b00, g=0x21019e800, 
start=0, end=2147483647) at item.cc:253
#24 0x00000000005fb158 in Separation_item::boxes (me=0x207824b00, left=0x0) at 
separation-item.cc:146
#25 0x00000000005fb5f6 in Separation_item::calc_skylines (smob=0x214b73920) at 
separation-item.cc:92
#26 0x00000002047115cf in scm_dapply () from /usr/local/lib/libguile.so.20.0
#27 0x00000000004e326f in Grob::try_callback_on_alist (this=0x207824b00, 
alist=0x207824b60, sym=0x210c3a3e0, proc=0x20f0ed010) at grob-property.cc:231
#28 0x00000000004e3e9c in Grob::internal_get_property (this=0x207824b00, 
sym=0x210c3a3e0) at grob-property.cc:188
#29 0x00000000005a84d3 in Paper_column::minimum_distance (left=0x207824b00, 
right=0x210125200) at paper-column.cc:170
#30 0x0000000000547c75 in Multi_measure_rest::calculate_spacing_rods 
(me=0x210133500, length=1.4999999999999998) at multi-measure-rest.cc:325
#31 0x0000000000548ed4 in Multi_measure_rest::set_spacing_rods 
(smob=0x214b69fd0) at multi-measure-rest.cc:339
#32 0x00000002047115cf in scm_dapply () from /usr/local/lib/libguile.so.20.0
#33 0x00000000004e326f in Grob::try_callback_on_alist (this=0x210133500, 
alist=0x210133560, sym=0x211ec5140, proc=0x20f1d4750) at grob-property.cc:231
#34 0x00000000004e3e9c in Grob::internal_get_property (this=0x210133500, 
sym=0x211ec5140) at grob-property.cc:188
#35 0x0000000000663113 in System::pre_processing (this=0x21019e800) at 
system.cc:310
#36 0x00000000005ac62e in Paper_score::process (this=0x20174e000) at 
paper-score.cc:141
#37 0x00000000004d44e8 in ly_format_output (context=0x214bc2420) at 
global-context-scheme.cc:45
#38 0x00000000005ed8e8 in Score::book_rendering (this=0x20174e280, 
layoutbook=0x20f3c7640, default_def=0x203c6c200) at score.cc:160
#39 0x00000000004622c9 in Book::process_score (this=0x20f3c77c0, s=0x214bf25e0, 
output_paper_book=0x20174e100, layout=0x203c6c200) at book.cc:236
#40 0x000000000046314e in Book::process (this=0x20f3c77c0, 
default_paper=0x20c407480, default_layout=0x203c6c200, parent_part=0x0) at 
book.cc:302
#41 0x00000000004631a8 in Book::process (this=0x20f3c77c0, 
default_paper=0x20c407480, default_layout=0x203c6c200) at book.cc:207
#42 0x0000000000461b82 in ly_book_process (book_smob=0x214c2e9c0, 
default_paper=0x20eb10220, default_layout=0x20ecc2460, output=0x211bba5a0) at 
book-scheme.cc:76
#43 0x000000020471172b in scm_dapply () from /usr/local/lib/libguile.so.20.0
#44 0x0000000204714d1c in deval () from /usr/local/lib/libguile.so.20.0
#45 0x00000000005aeea1 in internal_ly_parse_scm (ps=0x7f7ffffe87c0) at 
parse-scm.cc:76
#46 0x00000000005aef29 in ly_parse_scm (
    s=0x20a8104ed "(let ((book-handler (if (defined? 
'default-toplevel-book-handler)\n", ' ' <repeats 25 times>, 
"default-toplevel-book-handler\n", ' ' <repeats 25 times>, 
"toplevel-book-handler)))\n   (cond ((pair? toplevel-boo"..., n=0x7f7ffffe8a98, 
address@hidden, safe=false, parser=0x209236680) at parse-scm.cc:139
#47 0x00000000006b0bcd in Lily_lexer::yylex (this=0x20a3e0000) at lexer.ll:351
#48 0x00000000006b39a3 in yylex (s=0x7f7ffffec810, loc=0x7f7ffffebc30, 
v=0x209236680) at parser.yy:2783
#49 0x00000000006b4ce8 in yyparse (my_lily_parser=0x209236680) at 
out/parser.cc:2540
#50 0x00000000006c0fb1 in Lily_parser::do_yyparse (this=0x209236680) at 
parser.yy:2559
#51 0x00000000005183f3 in Lily_parser::parse_file (this=0x209236680, 
address@hidden, address@hidden, address@hidden) at lily-parser.cc:121
#52 0x00000000005165dd in ly_parse_file (name=0x211c14440) at 
lily-parser-scheme.cc:123
#53 0x0000000204715036 in deval () from /usr/local/lib/libguile.so.20.0
#54 0x0000000204711cbf in scm_dapply () from /usr/local/lib/libguile.so.20.0
#55 0x000000020476b349 in scm_c_catch () from /usr/local/lib/libguile.so.20.0
#56 0x000000020476b467 in scm_catch_with_pre_unwind_handler () from 
/usr/local/lib/libguile.so.20.0
#57 0x000000020471172b in scm_dapply () from /usr/local/lib/libguile.so.20.0
#58 0x0000000204714d1c in deval () from /usr/local/lib/libguile.so.20.0
#59 0x0000000204713f00 in deval () from /usr/local/lib/libguile.so.20.0
#60 0x0000000204711cbf in scm_dapply () from /usr/local/lib/libguile.so.20.0
#61 0x0000000203580afd in scm_srfi1_for_each () from 
/usr/local/lib/libguile-srfi-srfi-1-v-3.so.3.2
#62 0x0000000204715024 in deval () from /usr/local/lib/libguile.so.20.0
#63 0x0000000204713f00 in deval () from /usr/local/lib/libguile.so.20.0
#64 0x00000002047165c6 in deval () from /usr/local/lib/libguile.so.20.0
#65 0x0000000204711cbf in scm_dapply () from /usr/local/lib/libguile.so.20.0
#66 0x000000000052d66e in main_with_guile () at main.cc:436
#67 0x000000020472e5ef in invoke_main_func () from 
/usr/local/lib/libguile.so.20.0
#68 0x000000020470314a in c_body () from /usr/local/lib/libguile.so.20.0
#69 0x000000020476b349 in scm_c_catch () from /usr/local/lib/libguile.so.20.0
#70 0x00000002047034f1 in scm_i_with_continuation_barrier () from 
/usr/local/lib/libguile.so.20.0
#71 0x0000000204703590 in scm_c_with_continuation_barrier () from 
/usr/local/lib/libguile.so.20.0
#72 0x000000020476a4a6 in scm_i_with_guile_and_parent () from 
/usr/local/lib/libguile.so.20.0
#73 0x000000020472e5b5 in scm_boot_guile () from /usr/local/lib/libguile.so.20.0
#74 0x000000000052d35a in main (argc=3, argv=0x7f7ffffeddd0, 
envp=0x7f7ffffeddf0) at main.cc:631



reply via email to

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