Two Bugs

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
fcolasanto
Posts: 6
Joined: Tue Apr 09, 2019 4:08 am

Two Bugs

Post by fcolasanto » Tue Apr 16, 2019 7:44 pm

1) If I print something in Max Windows using bach.print the message printed is truncated ... but if I use [bach.portal @out t]-> [print] works correctly

2) if I send the message hidevoices whit all voices hided [hidevoices 1 1 1] Max crashes:

Many Thanks

Francisco



Process: Max [61834]
Path: /Applications/Max.app/Contents/MacOS/Max
Identifier: com.cycling74.Max
Version: 8.0.5 [64de280d7b] (8.0.5)
Code Type: X86-64 (Native)
Parent Process: Live [61778]
Responsible: Max [61834]
User ID: 501

Date/Time: 2019-04-16 14:38:56.414 -0500
OS Version: Mac OS X 10.14.4 (18E226)
Report Version: 12
Bridge OS Version: 3.4 (16P4507)
Anonymous UUID: D168828F-A022-E7C2-7AB2-C5176AF879BB

Sleep/Wake UUID: 443F5FD5-A259-481E-9BC7-8D567BD65BC8

Time Awake Since Boot: 250000 seconds
Time Since Wake: 16000 seconds

System Integrity Protection: disabled

Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000000a0
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [61834]

VM Regions Near 0xa0:
-->
__TEXT 00000001073f9000-0000000107ed9000 [ 10.9M] r-x/rwx SM=COW /Applications/Max.app/Contents/MacOS/Max

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 com.bachproject.bach.score 0x0000000128886e82 get_voice_clef(_notation_obj*, _voice*) + 242
1 com.bachproject.bach.score 0x0000000128884644 get_staff_bottom_y(_notation_obj*, _voice*, char) + 24
2 com.bachproject.bach.score 0x0000000128810da4 paint_static_stuff1(_score*, object*, _rect, t_jfont*, t_jfont*, t_jfont*, t_jfont*, t_jfont*, t_jfont*, t_jfont*, t_jfont*, t_jgraphics*, _llll*) + 952
3 com.bachproject.bach.score 0x0000000128813436 score_paint_ext(_score*, object*, t_jgraphics*, _rect) + 1133
4 com.bachproject.bach.score 0x00000001287d881d score_paint(_score*, object*) + 118
5 com.cycling74.Max 0x0000000107585095 BoxComponent::paint(juce::Graphics&, juce::AffineTransform const&) + 737

danieleghisi
Site Admin
Posts: 1347
Joined: Fri Dec 03, 2010 1:25 pm

Re: Two Bugs

Post by danieleghisi » Wed Apr 17, 2019 10:27 am

Hi, thanks for pointing them out.

The second one is fixed for next release. As for the first one, I'll let andrea deal with it.

thanks,
Daniele

fcolasanto
Posts: 6
Joined: Tue Apr 09, 2019 4:08 am

Re: Two Bugs

Post by fcolasanto » Wed Apr 17, 2019 4:08 pm

Thanks Daniele.

Other thing I noticed is that when you hide a voice but you are using a labelfamilies option in Bach.score the box doesn't hide. This doesn't occur in singleton mode but in bounding box and Venn.

Thanks

Francisco

danieleghisi
Site Admin
Posts: 1347
Joined: Fri Dec 03, 2010 1:25 pm

Re: Two Bugs

Post by danieleghisi » Thu Apr 18, 2019 5:25 pm

Thank you. Fixed as well for next release.

Post Reply