Grigor Dimitrov was forced to rescue two match points before eventually overcoming Malek Jaziri, while Rafael Nadal had no such problems at the Barcelona Open on Thursday.
Second seed Dimitrov, aiming for just his second clay-court title and his first in four years, was taken the distance - and to the brink of a shock defeat - before completing a 7-5 3-6 7-6 (10-8) success.
The opening set proved a sign of things to come as world number 88 Jaziri took a 4-2 lead, but Dimitrov hit back and belatedly forged ahead by converting his fifth set point.
Jaziri was unbowed, however, and broke at either end of the second to level the match before once again taking a 4-2 lead in the decider, and the Tunisian earned a match point at 6-5 with Dimitrov on serve.
He could only net a backhand, though, as the Bulgarian forced a tie-break, where the drama continued.
Dimitrov wasted a trio of match points - sending a makeable backhand wide on the third - and breathed a sigh of relief when Jaziri dumped a forehand into the tramlines at 8-7. As the match approached the end of its third hour the Tunisian finally cracked, netting a forehand as his opponent squeezed into the quarter-finals.
He will play Pablo Carreno Busta, who defeated Adrian Mannarino in another match decided on a final-set tie-break.
There was no such drama later in the day as Nadal breezed past compatriot Guillermo Garcia-Lopez 6-1 6-3 to chalk up his 16th straight victory on clay, as well as extending his record of consecutive sets won on the dirt to 40. Martin Klizan awaits in the last eight.
Third seed Dominic Thiem got the better of Jozef Kovalik, while there were also wins for Stefanos Tsitsipas, fourth seed David Goffin and Roberto Bautista Agut.
Meanwhile, there was a shock at the Hungarian Open as top seed and defending champion Lucas Pouille was dumped out 6-3 6-4 by John Millman. Yannick Maden, Andreas Seppi and Nikoloz Basilashvili were Thursday's other winners in Budapest.
|Mandzukic retires from Croatia duty after World Cup|
|Ben Stokes found not guilty of affray|
|Tottenham issue new stadium update and apology to fans|
|Chelsea flop Bakayoko moves to AC Milan on loan|
|Gabi urges Al Sadd team-mate Xavi to play on|
|Ronaldo leads UEFA Goal of the Season nominees|
|Federer: Djokovic could be caught up in US Open pressure|
|Ronaldo to Juventus a huge boost for Serie A – Matthaus|
|Werner would welcome Ozil Germany return|
|´Perfectionist´ Serena admits to ´unrealistic´ expectations in tennis and motherhood|
|Klopp praises Deschamps and his ´boring´ France|
|LaLiga 2018-19: Bale or Griezmann - Who will step into Ronaldo´s breach as Messi´s main rival?|
|Woods winning 15th major would be greatest comeback in sport – Faldo|
|Retiring Storm great Hoffman not giving up on Finals dream|
|Folau won´t change aerial approach in All Blacks showdown|
|Racism behind Sterling criticism, says ex-Arsenal star Wright|
|Eto´o joins Qatar SC following Ligue 1 links|
|UEFA Super Cup 2018-19: Atletico academy eclipsing Madrid, La Masia|
|UEFA Super Cup 2018-19: Should Real Madrid cash in on Modric?|
|Scintillating Serena sends warning, Azarenka survives opener|
|DeGrom strikes out 12, Mets hit 5 homers in win over Yankees|
|Djokovic needs nine MPs as Murray crashes out|
|Murray unsure of US Open readiness after Cincinnati exit|
|Van Dijk: Alisson making difference at Liverpool|
|Johnson saves eight MPs but Djokovic prevails|
|Federer anxious ahead of Cincinnati comeback|
|Tevez relishing Messi reunion|
|Ronaldo arrival has taken Juve forward in Europe – Nedved|
|Serena steamrolls Gavrilova in Cincinnati return|
|Packers QB Rodgers doesn´t regret criticising team-mates|
|Indians OF Martin recovering from life-threatening bacterial infection|
|Shoulder injury sends Royals starter Duffy to DL|
|Yankees place Sabathia on DL with right knee inflammation|
|Aubameyang urges Emery to capitalise on his ´spark´ with Lacazette|
|Anderson can play until he´s 40, says Bayliss|
|Keita living childhood dream after securing Inter switch|
|49ers to sign veteran RB Alfred Morris, Kyle Shanahan says|
|Arnaiz leaves Barcelona for Leganes in €5m deal|
|Tottenham´s move to new stadium delayed|
|Roosters-bound Hall suffers ACL injury|
|Murray suffers Cincinnati defeat to Pouille|
|No Cech mate - Arsenal goalkeeper hits back at Bayer Leverkusen|
|Halep first to seal WTA Finals spot|
|Veteran Carmelo Anthony pens one-year Rockets deal|
|Runners and Ryders: Poulter closes in on Team Europe spot|
|Gameiro presented by Valencia after departing Atletico Madrid|
|World Cup winner Kimpembe extends PSG contract to 2023|
|AC Milan send Locatelli on loan to Sassuolo|
|South Africa´s Etzebeth set for return from injury|
|Rafinha ´very likely´ to stay at Barcelona|
|No dual Ryder Cup role should Woods make USA team, says Furyk|
|Inter complete Keita deal|
|David Silva announces retirement from international football|
|Modric in Real Madrid´s UEFA Super Cup squad amid Inter links|
|Neville hopes Shaw is on to something special after first United goal|
|Unchanged England waiting on Stokes verdict|
|Yates brothers to race Vuelta together|
|Kalinic explains why he rejected World Cup medal|
|Furyk excited to see Woods´ return to form|
|Liverpool ignoring media´s champions chat, says Van Dijk|
|Suspended Smith replaces Kohli as top-ranked Test batsman|
|Tiger fanfare inevitable but it´s time to recognise Koepka as the star he is|
|Dier: Tottenham will shut up transfer critics|
|Fernandes leaves West Ham for Fiorentina on loan|
|´No chance´ Willian would have stayed at Chelsea under Conte|
|Vettel confident he can catch Hamilton|
|Cane dismisses talk of All Blacks limiting haka|
|Zaha promises Palace commitment as contract talks continue|
|Real Madrid defender Odriozola to miss UEFA Super Cup|
|All Blacks wary of Pocock threat|