Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3221)

Issue 4339047: Fixes segfault in beam quanting. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by MikeSol
Modified:
13 years, 1 month ago
Reviewers:
mike, wl, Graham Percival (old account), Graham Percival, t.daniels, hanwenn
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fixes segfault in beam quanting.

Patch Set 1 #

Patch Set 2 : Adds programming error. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M lily/beam-quanting.cc View 1 1 chunk +6 lines, -0 lines 1 comment Download

Messages

Total messages: 22
MikeSol
Quick-n-dirty fix for segfault in issue 1585. Cheers, MS
13 years, 1 month ago (2011-04-02 18:34:22 UTC) #1
Graham Percival (old account)
maybe it should be unquanted_x instead? The output doesn't look like anything remotely resembling the ...
13 years, 1 month ago (2011-04-02 18:46:55 UTC) #2
MikeSol
There is no unquanted_x - the x span is calculated earlier upstream, and the quanting ...
13 years, 1 month ago (2011-04-02 19:40:55 UTC) #3
hanwenn
On Sat, Apr 2, 2011 at 3:34 PM, <mtsolo@gmail.com> wrote: > Quick-n-dirty fix for segfault ...
13 years, 1 month ago (2011-04-03 01:37:32 UTC) #4
hanwenn
On Sat, Apr 2, 2011 at 10:37 PM, Han-Wen Nienhuys <hanwenn@gmail.com> wrote: >> Quick-n-dirty fix ...
13 years, 1 month ago (2011-04-03 01:49:29 UTC) #5
mike_apollinemike.com
On Apr 2, 2011, at 21:49, Han-Wen Nienhuys <hanwenn@gmail.com> wrote: > On Sat, Apr 2, ...
13 years, 1 month ago (2011-04-03 02:06:52 UTC) #6
Graham Percival
On Sat, Apr 02, 2011 at 10:06:43PM -0400, mike@apollinemike.com wrote: > Weird...I'm not sure why ...
13 years, 1 month ago (2011-04-03 02:16:22 UTC) #7
wl_gnu.org
> (lily segfaults all the time when I accidentally feed her a PDF file > ...
13 years, 1 month ago (2011-04-03 06:16:32 UTC) #8
t.daniels_treda.co.uk
Werner LEMBERG wrote Sunday, April 03, 2011 7:16 AM >> (lily segfaults all the time ...
13 years, 1 month ago (2011-04-03 06:47:15 UTC) #9
Graham Percival
On Sun, Apr 03, 2011 at 08:16:12AM +0200, Werner LEMBERG wrote: > > > (lily ...
13 years, 1 month ago (2011-04-03 17:14:58 UTC) #10
wl_gnu.org
>> I do. Any user program *must not* produce a segfault IMHO if fed >> ...
13 years, 1 month ago (2011-04-03 18:18:19 UTC) #11
mike_apollinemike.com
On Apr 3, 2011, at 2:17 PM, Werner LEMBERG wrote: > >>> I do. Any ...
13 years, 1 month ago (2011-04-03 18:31:42 UTC) #12
t.daniels_treda.co.uk
mike@apollinemike.com wrote Sunday, April 03, 2011 7:31 PM > I'll chime in here and say ...
13 years, 1 month ago (2011-04-03 21:23:16 UTC) #13
hanwenn
On Sun, Apr 3, 2011 at 3:17 PM, Werner LEMBERG <wl@gnu.org> wrote: >>> I do. ...
13 years, 1 month ago (2011-04-04 03:11:28 UTC) #14
wl_gnu.org
> LilyPond exposes large parts of the internal implementation through > the Scheme interface, and ...
13 years, 1 month ago (2011-04-04 03:22:50 UTC) #15
Graham Percival
On Mon, Apr 04, 2011 at 05:22:28AM +0200, Werner LEMBERG wrote: > > > I ...
13 years, 1 month ago (2011-04-04 03:31:12 UTC) #16
hanwenn
On Mon, Apr 4, 2011 at 12:22 AM, Werner LEMBERG <wl@gnu.org> wrote: > >> LilyPond ...
13 years, 1 month ago (2011-04-04 03:37:33 UTC) #17
wl_gnu.org
>>> The worst which can happen is that a value is incorrectly >>> type-cast which ...
13 years, 1 month ago (2011-04-04 03:43:51 UTC) #18
hanwenn
On Mon, Apr 4, 2011 at 12:43 AM, Werner LEMBERG <wl@gnu.org> wrote: >> This basically ...
13 years, 1 month ago (2011-04-04 05:13:35 UTC) #19
t.daniels_treda.co.uk
Han-Wen Nienhuys wrote Monday, April 04, 2011 6:13 AM > I think it is good ...
13 years, 1 month ago (2011-04-04 09:41:21 UTC) #20
mike_apollinemike.com
On Apr 4, 2011, at 5:41 AM, Trevor Daniels wrote: > > Han-Wen Nienhuys wrote ...
13 years, 1 month ago (2011-04-04 10:06:33 UTC) #21
hanwenn
13 years, 1 month ago (2011-04-04 11:55:15 UTC) #22
lgtm

http://codereview.appspot.com/4339047/diff/10001/lily/beam-quanting.cc
File lily/beam-quanting.cc (right):

http://codereview.appspot.com/4339047/diff/10001/lily/beam-quanting.cc#newcod...
lily/beam-quanting.cc:462: if (!configs.size())
* move to directly after generate_quants()

* use configs.empty()
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b