PDA

View Full Version : Quantifier in {,} bigger than 32766



Bill Fenner
2004-06-09, 08:45
My slimserver just crashed with the message:

Quantifier in {,} bigger than 32766 before HERE mark in regex
m/^((?:vfD_[^_]+_Vfd|(?:__(?:cursorpos|center)__)?(?:__(?:
cursorpos|center)__)(?:vfD_[^_]+_Vfd|.)|.){ << HERE 0,963710})/

This appears to be because someone passed bogus values to
Slim::Hardware::VFD::subString(). Could this function grow error
checking so that silly callers don't cause perl to die? I don't know
who the caller was, obviously, since there was no stack trace or
anything - at the time the slim was silent, because slimserver had lost
its connection to the radio station that it was playing. I wasn't
watching the Slim display so I don't know what it was trying to show.

Bill

Robert Moser
2004-06-09, 09:33
Bill Fenner blurted out:

> My slimserver just crashed with the message:
>
> Quantifier in {,} bigger than 32766 before HERE mark in regex
> m/^((?:vfD_[^_]+_Vfd|(?:__(?:cursorpos|center)__)?(?:__(?:
> cursorpos|center)__)(?:vfD_[^_]+_Vfd|.)|.){ << HERE 0,963710})/

This is bug 363, see the discussion in the thread with the subject "Dies
while playing mp3 stream".

Bill Fenner
2004-06-09, 13:55
Thanks, Robert. Obviously, I haven't mastered bugzilla yet, since I
searched for "Quantifier" and got no hits. I'll try the patch.

Bill