Until a few weeks ago, the style worked perfectly and this was the result:
But recently it has stopped working without any modification and I have no idea why, now it produces:

How can I recover that style? Or how can I make one equal.
the code is
\documentclass{report}
\usepackage{color,lmodern,titlesec}
\newcommand\chptitle[1]{\parbox[b]{\dimexpr\textwidth-87pt}{\raggedright#1}}
\newcommand{\hsp}{\hspace{12pt}}
\titleformat{\chapter}[hang]{\huge\bfseries}{{
\fontsize{4.1em}{4.1em}\selectfont\color{black}%
\thechapter}\hsp\textcolor{blue}{\vrule height 2.7em width 1pt}\hsp}{0pt}{\Huge\bfseries\chptitle}
\begin{document}
\chapter{Aaaa bbbb}
aa
\chapter{Aaaa bbbb Aaaa bbbb Aaaa bbbb}
bb
\end{document}
The list of files generated by \listfiles in the log file is
*File List*
report.cls 2014/09/29 v1.4h Standard LaTeX document class
size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
color.sty 2016/01/03 v1.1b Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
lmodern.sty 2009/10/30 v1.6 Latin Modern Fonts
titlesec.sty 2016/03/15 v2.10.1 Sectioning titles
ot1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
supp-pdf.mkii
***********

\listfilesas first line, then you will get a list of files with version information in the log file. – gernot Dec 01 '16 at 22:59titlesec. Update to version 2.10.2. Unfortunately TeX Live/Debian always lags behind. – egreg Dec 01 '16 at 23:37