Speicherzugriffsfehler (gelöst)

Begonnen von messingsound, Samstag, 24. Juni 2017, 10:47

« vorheriges - nächstes »

harm6


messingsound

Hallo Harm.

ich hab jetzt mal das distro-interne  lilypond deinstalliert, und 2.19.42 mit dem lilypond-installer installiert. Scheint zu funktionieren. Jetzt noch ein paar Pfade neu setzen, dann müsste es das eigentlich sein.

Bis dahin erstmal vielen Dank

harm6

Der Diskussion auf devel nach könnte es sein das gcc das Problem macht.
Ich geh davon aus das debian gcc 6 oder höher hat. Um das zu checken: Im terminal
gcc --version

Dafür gäbe es bereits einen patch (somit wäre das Problem tatsächlich schon früher aufgetaucht)
siehe
https://sourceforge.net/p/testlilyissues/issues/4814/

Möglicherweise hat debian ihn aber nicht auf 2.18.2 gepfropft.

Kannst Du bei debian nachfragen?
Es sollte schon jemand machen der dieses OS auch tatsächlich verwendet.

Gruß,
  Harm

messingsound

#18
So, ist im debian bug-tracking-System eingetragen.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866129

Vielleicht noch eine info zu debian, lilypond und guile:
Seit der Debian-Version "Stretch" ist guile 1.8 Bestandteil des Debian-Pakets lilypond,
und funktioniert auch ohne installiertes guile-Paket
siehe auch https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852871

Harm6, ich möchte mich noch einmal für die freundliche Kommunikation und für die tollen Tipps bedanken.
Du hast mir sehr geholfen. Leider kann ich als Gelegenheits-User das nicht zurückgeben

Einen schönen Tag noch
Gruß Thomas

harm6

ZitatSo, ist im debian bug-tracking-System eingetragen.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866129

Vielen Dank. Das wird jetzt hoffentlich seinen Gang gehen.

Zitat
ich möchte mich noch einmal für die freundliche Kommunikation und für die tollen Tipps bedanken.

Gern geschehen.

Zitat
Leider kann ich als Gelegenheits-User das nicht zurückgeben

Könntest Du schon ...
Schau doch bei Gelegenheit mal öfter hier ins Forum.
Und wenn Du eine Frage siehst, die Du beantworten kannst, dann tu es ;)

Gruß,
  Harm

harm6

Hallo noch mal,

Antonio schrieb hier:
"[...] Can the OP send a backtrace?  [...]"

Ich denke er meint ein backtrace via gdb (GNU debugger)

Um das zu bekommen gebe ins terminal ein
gdb path/to/excutable-lilypond

Also nicht zum wrapper, sondern zum tatsächlichen Programm. Nach <return> siehst Du etwas wie:
Zitat von: terminal
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 ../../../lilypond/usr/bin/lilypond...(no debugging symbols found)...done.
(gdb)

Dann kompiliere dort mit z.B.
Zitat von: terminalrun atest-62.ly

Du siehst einerseits den üblichen output beim kompilieren und auch Anmerkungen von gdb.

Wirklich interessant ist aber der backtrace den Du danach mit
Zitat von: terminalbt
aufrufts.

Wär schön wenn Du diesen dann dem bug-report auf debian noch hinzufügen könntest.

Danke,
  Harm


messingsound

#21
Hier ist der Backtrace. Mal sehen, wie ich ihn in bug.debian eingestellt kriege.
Zitat

(gdb) run horn.ly
Starting program: /usr/bin/lilypond.real horn.ly
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
GNU LilyPond 2.18.2
»horn.ly« wird verarbeitet
Analysieren...
Interpretation der Musik...[8][16][24][32][40][48][56][64][72][80][88][96][104][112][120]
Vorverarbeitung der grafischen Elemente...
Interpretation der Musik...[8][16][24][32][40][48]
Vorverarbeitung der grafischen Elemente...
Interpretation der Musik...[8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][128][136][144]
Vorverarbeitung der grafischen Elemente...
Ideale Seitenanzahl wird gefunden...
Musik wird auf 3 oder 4 Seiten angepasst...
Systeme erstellen...
Program received signal SIGSEGV, Segmentation fault.
0x8006eaa0 in ?? ()

(gdb) bt
#0  0x8006eaa0 in ?? ()
#1  0x8006eb63 in ?? ()
#2  0x8006eb84 in ?? ()
#3  0x8006eb84 in ?? ()
#4  0x8006eb84 in ?? ()
#5  0x8006eb84 in ?? ()
#6  0x8006eb84 in ?? ()
#7  0x800af3e6 in ?? ()
#8  0x800afd45 in ?? ()
#9  0x80162960 in ?? ()
#10 0x80162b34 in ?? ()
#11 0xb7ee4727 in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#12 0xb7eeaf4b in scm_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#13 0xb7eeb795 in scm_call_1 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#14 0x8006722b in ?? ()
#15 0x8006751e in ?? ()
#16 0x801a0c50 in ?? ()
#17 0x801a15d3 in ?? ()
#18 0xb7ee4727 in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
---Type <return> to continue, or q <return> to quit---
#19 0xb7eeaf4b in scm_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#20 0xb7eeb795 in scm_call_1 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#21 0x8006722b in ?? ()
#22 0x8006751e in ?? ()
#23 0x8006dfc5 in ?? ()
#24 0x8006e046 in ?? ()
#25 0xb7ee4727 in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#26 0xb7eeaf4b in scm_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#27 0xb7eeb795 in scm_call_1 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#28 0x8006722b in ?? ()
#29 0x8006751e in ?? ()
#30 0x800702dc in ?? ()
#31 0x801b38fe in ?? ()
#32 0x801b3a7d in ?? ()
#33 0x801b3c36 in ?? ()
#34 0xb7ee4727 in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#35 0xb7eeaf4b in scm_apply ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#36 0xb7eeb795 in scm_call_1 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#37 0x8006722b in ?? ()
#38 0x8006751e in ?? ()
#39 0x800702dc in ?? ()
#40 0x800d02bd in ?? ()
#41 0x8018cc40 in ?? ()
#42 0xb7ee4727 in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#43 0xb7eeaf4b in scm_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#44 0xb7eeb795 in scm_call_1 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#45 0x8006722b in ?? ()
#46 0x8006751e in ?? ()
#47 0x800cf778 in ?? ()
#48 0x8021f541 in ?? ()
#49 0x801991d5 in ?? ()
#50 0x80066102 in ?? ()
#51 0xb7ee4727 in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#52 0xb7eeaf4b in scm_apply ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#53 0xb7eebed1 in scm_apply_0 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#54 0x8019579b in ?? ()
#55 0x80195b02 in ?? ()
#56 0x80195db3 in ?? ()
#57 0x8007cd40 in ?? ()
#58 0xb7efc82d in scm_gsubr_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#59 0xb7ee48dd in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#60 0xb7ee5825 in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#61 0xb7eed254 in scm_primitive_eval ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#62 0x8003066a in ?? ()
#63 0x80030872 in ?? ()
#64 0x802ede49 in ?? ()
#65 0x8030ab7a in ?? ()
#66 0x802f942d in ?? ()
#67 0x8030aab5 in ?? ()
#68 0x801e0d4b in ?? ()
#69 0x801e716c in ?? ()
---Type <return> to continue, or q <return> to quit---
#70 0xb7ee57f2 in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#71 0xb7ee4eb3 in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#72 0xb7eeaf4b in scm_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#73 0xb7eeb6c2 in scm_call_0 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#74 0xb7f3e79b in scm_body_thunk ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#75 0xb7f3edab in scm_c_catch ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#76 0xb7f3eea0 in scm_catch_with_pre_unwind_handler ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#77 0xb7efc82d in scm_gsubr_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#78 0xb7ee48dd in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#79 0xb7ee5825 in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#80 0xb7ee5be1 in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#81 0xb7ee4eb3 in scm_dapply ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#82 0xb7eeaf4b in scm_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#83 0xb7eeb795 in scm_call_1 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#84 0xb5669db0 in scm_srfi1_for_each ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile-srfi-srfi-1-v-3.so
#85 0xb7ee57f2 in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#86 0xb7ee5be1 in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#87 0xb7ee5ffc in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#88 0xb7ee4eb3 in scm_dapply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#89 0xb7eeaf4b in scm_apply ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#90 0xb7eeb795 in scm_call_1 ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#91 0x801c27a6 in ?? ()
#92 0xb7f0003f in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
---Type <return> to continue, or q <return> to quit---
#93 0xb7ed699d in ?? ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#94 0xb7f3edab in scm_c_catch ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#95 0xb7ed6ee7 in scm_i_with_continuation_barrier ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#96 0xb7ed6f80 in scm_c_with_continuation_barrier ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#97 0xb7f3d8ef in scm_i_with_guile_and_parent ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#98 0xb7f3d932 in scm_with_guile ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#99 0xb7f00200 in scm_boot_guile ()
   from /usr/lib/i386-linux-gnu/lilypond/2.18.2/guile/libguile.so.17
#100 0x8001a636 in main ()
(gdb) quit


harm6

ZitatHier ist der Backtrace. [...]

Vielen Dank.

Gruß,
  Harm

messingsound

So, debian hat geantwortet:

ZitatFrom: Don Armstrong <don@debian.org>
To: 866129-close@bugs.debian.org
Subject: Bug#866129: fixed in lilypond 2.18.2-9
Date: Sun, 20 Aug 2017 06:49:44 +0000

Source: lilypond
Source-Version: 2.18.2-9

We believe that the bug you reported is fixed in the latest version of
lilypond, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 866129@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Don Armstrong <don@debian.org> (supplier of updated lilypond package)

ist mir jetzt egal, ich hab einen neuen (alten) Rechner aufgesetzt, und das binary von der lilypond-Seite runtergezogen.

harm6

Hallo Thomas,

nochmals vielen Dank für den bug-report.

Erwähnenswert vielleicht noch, daß der entsprechende patch tatsächlich von debian eingefügt wurde:
Zitat* Cherrypick fix for upstream issue 4814 which fixes segfaults in
     grob.cc in newer versions of GCC (Closes: #866129). Thanks to Antonio
     Ospite for mentioning the patch.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866129#33

Ich hoffe das wars.

Vielen Dank,
  Harm