Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access violation music.c:862 in gchord_width(struct SYMBOL *s, float wlnote, float wlw) #20

Closed
c1208828 opened this issue Apr 13, 2018 · 0 comments

Comments

@c1208828
Copy link

https://drive.google.com/open?id=1LBcdyedXMoub4bhGGHFMxYqU7NeoAuwf

Version: 8.13.20 after commit fd956e1

(gdb) set args POC6
(gdb) r

abcm2ps-8.13.20 (2018-02-21)
File POC6
POC6:3:2: error: Bad character
3 |2ÿÿdÿ&e,d_d&ddªB-ÿ2ÿ
^
POC6:3:3: error: Bad character
3 |2ÿÿdÿ&e,d_d&ddªB-ÿ2ÿ
^
.
.
.
POC6:27:14: error: !slide! must be on a note or a rest
POC6:27:38: error: Bad character 't'
POC6:27:38: error: Bad character 'N'
POC6:27:38: error: Bad character 'N'
POC6:31:0: error: tune info ':' not treated
POC6:26:25: warning: Line underfull (561pt of 682pt)
POC6:4:0: error: Note too much dotted
POC6:3:20: error: Bad tie
POC6:22:0: error: Bad tie

Program received signal SIGSEGV, Segmentation fault.
gchord_width (s=s@entry=0x845f88, wlnote=wlnote@entry=8, wlw=wlw@entry=8) at music.c:862
862 if (s2->sflags & S_SEQST)

(gdb) bt
#0 0x00000000004f4fb0 in gchord_width (s=s@entry=0x845f88, wlnote=wlnote@entry=8, wlw=wlw@entry=8)
at music.c:862
#1 0x000000000050eedb in set_allsymwidth (s=0x845f88) at music.c:1194
#2 0x000000000050eedb in set_allsymwidth (last_s=last_s@entry=0x830db0) at music.c:1436
#3 0x000000000052defa in output_music () at music.c:3371
#4 0x000000000052defa in output_music () at music.c:4766
#5 0x000000000052defa in output_music () at music.c:5134
#6 0x000000000054d511 in generate () at parse.c:1039
#7 0x00000000005709cd in do_tune (eob=0) at parse.c:1060
#8 0x00000000005709cd in do_tune () at parse.c:3620
#9 0x0000000000414731 in abc_eof () at abcparse.c:200
#10 0x00000000004e45e9 in frontend (s=,
s@entry=0x827a40 "X:^2\rK:\r|2\377\377d\377&e,d_d&dd\252B-\377\062\377\n[e,c>|2\377\377&e9k>|2\377\n[\020'eD[\377\205\377fe-d6e{@)\177\377\r:\001&d\353\377\177ddzd{\370\062Kdd\231d2\rtdd&E,\351\177"&ed\252d-\r\177&KL\031K:\352\325J:Ӫd-\r\177&K_\031K:\352\325J:\323\323\375L\213-c>|2!\v[\377[\020'eD[\377\205\377fe-d6e{@)\177\377\r:\001&d\353\377\177ddzd{UUUUUt&K:1J:\323\326\360L\203-", <incomplete sequence \375>..., ftype=ftype@entry=0, fname=fname@entry=0x825ea0 "POC6", linenum=31, linenum@entry=0) at front.c:901
#11 0x000000000040b98d in treat_file (fn=, ext=) at abcm2ps.c:239
#12 0x00000000004084f9 in main (argc=0, argv=) at abcm2ps.c:1040

(gdb) list
857 for (s2 = s->ts_prev; ; s2 = s2->ts_prev) {
858 if (s2 == s->prev) {
859 AT_LEAST(wlw, lspc);
860 break;
861 }
862 if (s2->sflags & S_SEQST)
863 lspc -= s2->shrink;
864 }
865 }
866 if (alspc != 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant