[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
backtrace
From: |
David Bobroff |
Subject: |
backtrace |
Date: |
17 Feb 2004 23:03:32 +0000 |
> The procedure is:
>
> * make sure that lily is compiled with "-g" in the g++ command
> line. (add -g to CXXFLAGS in config.make if not sure)
The "-g" flag was already present in config.make.
> * do
>
> gdb lily/out/lilypond-bin
>
> * do
>
> r wrong.ly
>
> (crash)
>
> * type "bt"
>
Thanks! Here is what it said:
(gdb) r wrong.ly
Starting program: /usr/src/lilypond/lily/out/lilypond-bin wrong.ly
[New Thread 1075823520 (LWP 4220)]
Now processing: `wrong.ly'
Parsing...Interpreting music...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075823520 (LWP 4220)]
Music::internal_get_mus_property(scm_unused_struct*) const
(this=0x6564280a,
sym=0x0) at music.cc:200
200 SCM s = scm_sloppy_assq (sym, mutable_property_alist_);
(gdb) bt
#0 Music::internal_get_mus_property(scm_unused_struct*) const (
this=0x6564280a, sym=0x0) at music.cc:200
#1 0x081073e0 in Melisma_translator::process_music() (this=0x8480558)
at melisma-translator.cc:55
#2 0x081b850f in translator_each (list=0x4044e7e8, method=
{__pfn = 0x35, __delta = -1073749432}) at translator.hh:179
#3 0x081b8a73 in recurse_down_translators (c=0x2974, ptr=
{__pfn = 0x35, __delta = 0}, dir=UP) at translator-group.cc:156
#4 0x081b8a3b in recurse_down_translators (c=0x4044e7e0, ptr=
{__pfn = 0x35, __delta = 0}, dir=UP) at context.hh:88
#5 0x081b8a3b in recurse_down_translators (c=0x4044f510, ptr=
{__pfn = 0x35, __delta = 0}, dir=UP) at context.hh:88
#6 0x08161b51 in Score_engraver::one_time_step() (this=0x83ee3f0)
at score-engraver.cc:142
#7 0x0815fc21 in Score_context::one_time_step() (this=0x40809650)
at score-context.cc:35
#8 0x080b56b8 in Global_context::one_time_step() (this=0x83cb9f8)
at global-context.cc:96
#9 0x080b592f in Global_context::run_iterator_on_me(Music_iterator*) (
this=0x83cb9f8, iter=0x83eeed0) at global-context.cc:158
#10 0x0815f462 in ly_run_translator (mus=0x5, output_def=0x16) at
score.cc:138
#11 0x0815fa7d in default_rendering (mus=0x406748f0, outdef=0x406b90a0,
head=0x4081d3b0, outname=0x40442290) at score.cc:182
---Type <return> to continue, or q <return> to quit---
#12 0x081d9090 in yyparse (my_lily_parser=0xbffff000) at
music-output-def.hh:42
#13 0x08125486 in My_lily_parser::parse_file(String, String, String) (
this=0xbffff000, init={strh_ = {data = 0xe05}}) at
my-lily-parser.cc:49
#14 0x080d4770 in Input_file_results (this=0xbffff0c0, init=
{strh_ = {data = 0xe05}}, in_file={strh_ = {data = 0x8363e88}},
out_file={strh_ = {data = 0x8363d80}}) at string-handle.icc:24
#15 0x080d56b3 in do_one_file (init={strh_ = {data = 0x8363d68}},
in_file=
{strh_ = {data = 0x8363e88}}, out_file={strh_ = {data = 0xe05}})
at string-handle.icc:24
#16 0x081019d6 in main_prog () at string-handle.icc:24
#17 0x4007884f in scm_init_guile () from /usr/lib/libguile.so.12
#18 0x400787fe in scm_init_guile () from /usr/lib/libguile.so.12
#19 0x400784d0 in scm_boot_guile () from /usr/lib/libguile.so.12
#20 0x081038f2 in main (argc=2, argv=0xbffff394) at main.cc:507
#21 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)
-David
- backtrace,
David Bobroff <=