Let $f:X\rightarrow \mathbb{P}^2$ be a fibration, here $X$ is a projective variety of dimension three. 


Assume that there exixts a smooth curve $C\subset\mathbb{P}^2$ such that for any $p\in\mathbb{P}^2\setminus C$ the fiber $f^{-1}(p)$ is a smooth curve and when $p\in C$ then $f^{-1}(p) = A\_p\cup B\_p$ where $A\_p, B\_p$ are smooth curves intersecting transversally in a point $x\_p = A\_p\cap B\_p$. 


In this situation what could be said on the singularities of $X$? For instance deos this imply that $X$ is singular at most in the points of the form $x\_p$ and that the locus of these points is a locus of at worst canonical singularities for $X$ ? 



Singularities of fibrations
This is true. Actually, even better, these singularities will be terminal and Gorenstein, so as mild as it can get. Well, at least if we assume that you are working over an algebraically closed field, but otherwise you would have to be more careful about what exactly do you mean by these assumptions and questions, so I'll assume that that's what you meant. 


Your assumptions imply that all the fibers are Gorenstein. Since $\mathbb P^2$ is smooth, this implies that then $X$ is Gorenstein. 
Furthermore, your assumptions imply that all the fibers are $1$-dimensional, so $f$ is equidimensional, and hence it is flat by "[miracle flatness](https://math.stackexchange.com/a/662890/39733)". So, as Ariyan noted, then $f$ is smooth at every $x\in X$ such that $x\neq x\_p$ and hence $X$ is smooth at all of those points. 
This also implies that $X$ is normal (it is $S\_2$ since it is Gorenstein and its singular locus has at most codimension $2$, so it is also $R\_1$).


Now, looking at one of these $x\_p$'s, we still have that $X$ is Gorenstein and we know that a complete intersection curve through this point is a simple node. As an exercise, try to prove directly (say via a direct local computation) that this implies that then $X$ is canonical (of index $1$) at these points. 


If you get stuck, then use this argument: 
Let $C\_1$ and $C\_2$ be two smooth curves in $\mathbb P^2$ that intersect transversally at $p$ and let $D\_i=f^\*C\_i\subseteq X$ for $i=1,2$. (For the record, the $D\_i$ are reduced divisors on $X$.) Now, $D\_1\cap D\_2 =f^{-1}(p)$, which is a nodal curve, so it has slc singularities. 
Then by inversion of adjunction (applied twice) $(X,D\_1+D\_2)$ is log canonical. Now if you scrape away the $D\_i$, this actually means that $X$ is terminal at the points of the form $x\_p$. (Note that $(D\_1, D\_1\cap D\_2)$ is also log canonical, so $D\_1$ is canonical. It is locally isomorphic to a cone over a quadric.) 


