DALLAS — Cody Eakin tied it at 12:58 of the second period and rookie Alex Chiasson scored in the shootout to lift the Dallas Stars to a 4-3 win over San Jose on Thursday night that ended the Sharks’ perfect start to the season.Chiasson was the only one of the six skaters to score in the shootout, beating Antti Niemi by firing a shot just inside the right post. Chiasson shares the lead for Dallas with three goals in six games this season. For his NHL career, he has nine goals in 13 games. The Sharks (6-1-0) fell one game shy of tying the best start in their history, last season’s 7-0 beginning. The Stars outshot San Jose 31-29 in regulation. The Sharks took all five shots in overtime but couldn’t beat goalie Dan Ellis even though Dallas was short-handed for the final 1:02 of overtime. San Jose, which scored eight power-play goals in its first six games, was 0 for 5 against Dallas. San Jose took a 1-0 lead just 9 seconds into the game. Off the opening faceoff, Tyler Kennedy skated along the right wing and shot the puck past Ellis for his first goal this season. Dallas tied the score on Tyler Seguin’s rebound goal at 16:44. His third goal extended his personal points streak to five games. The tie lasted barely a minute. The Sharks took a 2-1 lead when Matthew Nieto skated to the top of the slot and fired a shot off the right post and in at 17:52. Dallas outshot San Jose 12-11 in the period. Each team failed to score on two power plays. The Stars tied the game again twice in the second period. At 1:53, Trevor Daley scored his first goal on a rebound of Eakin’s shot. Eakin scored his second goal of 2013-14 to tie the game 3-3 at 12:58. Daley was involved in another goal at 12:31 of the period when San Jose’s Patrick Marleau attempted a wraparound. The play was first ruled a save by Ellis. A review showed that the puck had gone off Daley’s skate across the goal line. The goal was the sixth this season for Marleau. He and Pittsburgh’s Sidney Crosby are the only NHL players with at least one point in all seven games this season.