lilypond-devel
[Top][All Lists]
Advanced

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

Re: guile debug package in Debian


From: Joe Neeman
Subject: Re: guile debug package in Debian
Date: Thu, 21 Jul 2011 23:26:07 +0700

On Wed, Jul 20, 2011 at 12:42 PM, Federico Bruni <address@hidden> wrote:
> Il giorno mar, 19/07/2011 alle 18.19 -0600, Colin Campbell ha scritto:
>> I'm pretty sure the stuff you need is in the guile-1.8-dev package,
>> Federico.  On my Ubuntu 11.04, the package contains files such as
>> debug.h and debug-malloc.h among others.
>
> Ok, thanks.
>
> That's a bad news for Joe, because I had it installed when I generated
> the backtrace with gdb.

No, I don't think the debugging information is there. In the backtrace
you sent me, you'll notice that functions in lilypond show their
arguments:

#19 0x08214a91 in Score::book_rendering (this=0x84e5538, layoutbook=0x859e220,
    default_def=0x8575248) at /home/fede/lilypond-master/lily/score.cc:160

while functions from guile just show an empty pair of parentheses
(even when the function takes some arguments):

#13 0xb7f2a9f1 in scm_call_1 () from /usr/lib/libguile.so.17

If the debugging information were installed, there would be more
information inside the (). Since Debian doesn't seem to have a package
for it, the easiest way to get debugging information may be to compile
guile yourself. If you install it in /usr/local (which should be the
default) and you ensure that /usr/local/bin precedes /usr/bin in your
PATH, then re-./configure lilypond and rebuild so that it will use the
new guile.

Cheers,
Joe

>
> Maybe there's something I can do in gdb to improve the backtrace?
> This is what I've done:
>
> gdb out/bin/lilypond
> run ../input/regression/midi/key-initial.ly
> bt
>
>
> These are the guile packages on my system (i flag shows the packages
> installed):
>
> $ aptitude search guile
> p   dico-module-guile           - RFC 2229 compliant modular dictionar
> v   guile                       -
> p   guile-1.6                   - The GNU extension language and Schem
> p   guile-1.6-dev               - Development files for Guile 1.6
> p   guile-1.6-doc               - Reference and tutorial documentation
> p   guile-1.6-libs              - Main Guile libraries
> p   guile-1.6-slib              - Guile SLIB support
> i A guile-1.8                   - GNU extension language and Scheme in
> i   guile-1.8-dev               - Development files for Guile 1.8
> p   guile-1.8-doc               - Documentation for Guile 1.8
> i A guile-1.8-libs              - Core Guile libraries
> v   guile-1.8-slib              -
> i A guile-cairo                 - Guile bindings for Cairo
> i   guile-cairo-dev             - Guile bindings for Cairo, developmen
> p   guile-db                    - Berkeley DB module for Guile
> v   guile-doc                   -
> i   guile-g-wrap                - scripting interface generator for C
> p   guile-gnome2-canvas         - Guile bindings for libgnomecanvas
> i   guile-gnome2-dev            - Guile GObject binding support librar
> p   guile-gnome2-gconf          - Guile bindings for GConf
> i A guile-gnome2-glib           - Guile bindings for GLib
> p   guile-gnome2-gnome          - Guile bindings for libgnome
> p   guile-gnome2-gnome-ui       - Guile bindings for libgnome
> p   guile-gnome2-gtk            - Guile bindings for GTK+, libglade, P
> p   guile-gnome2-vfs            - Guile bindings for GnomeVFS
> p   guile-gnutls                - the GNU TLS library - GNU Guile bind
> i   guile-library               - Library of useful Guile modules
> p   guile-pg                    - Guile bindings for the PostgreSQL cl
> v   libguile-dev                -
> p   libguile-ltdl-1             - Guile's patched version of libtool's
> p   libgv-guile                 - Guile bindings for graphviz
> p   mailutils-guile             - GNU mailutils Guile interpreter and
> p   xchat-guile                 - Guile scripting plugin for XChat
>
>
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
>



reply via email to

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