Banshee crashes (System.OverflowException: Value was either too large or too small for an Int32.)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Banshee crashes (System.OverflowException: Value was either too large or too small for an Int32.)

chrisperro
Hello all,
I have been using Banshee for many years on Ubuntu. Each new Ubuntu distribution makes me nervous about Banshee compatibility, but with Ubuntu 16.04, it was so far so good.

However, last Friday Banshee suddenly crashed when playing. After that crash, I could not even open it, it was crashing on opening. The, I reseted the application settings file and restored the previous database and opens. However, since then, it still crashes between track changes and also quite randomly when trying to load a playlist.

Today, I started with a brand new database, by re-scanning my library, and it seems to work fine.

Thus, it looks like the problem is tied with my previous database. The main error in log is: "(System.OverflowException: Value was either too large or too small for an Int32.)"

I am now requesting community help. Does anyone know what is going on and how to solve it?

I would be grateful to avoid to some SQlite 'fun' work of restoring all data and metadata built over years (playlists, smart playlists, ratings, etc.).

Thanks
--
Christian Perreault

_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)

Banshee crash Int32.txt (25K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Banshee crashes (System.OverflowException: Value was either too large or too small for an Int32.)

chrisperro
Hello,
For the record, I finally fixed this problem. What seemed to do the trick is to empty the coretracksplaylistentries table in the banshee.db SQLite database.

When Banshee restarted, it recreated its content upon selection of each smart playlist and now it works fine for an hour.

It is weird why this problem happened out of nowhere! Maybe a SQLite dysfunction that messed up the database. I noticed that the Lollypop audio player had a similar problem at the same time (it uses SQLite too), but it recovered after a system reboot, and Banshee not.

Christian


Le 2016-07-11 11:43, Christian Perreault a écrit :
Hello all,
I have been using Banshee for many years on Ubuntu. Each new Ubuntu distribution makes me nervous about Banshee compatibility, but with Ubuntu 16.04, it was so far so good.

However, last Friday Banshee suddenly crashed when playing. After that crash, I could not even open it, it was crashing on opening. The, I reseted the application settings file and restored the previous database and opens. However, since then, it still crashes between track changes and also quite randomly when trying to load a playlist.

Today, I started with a brand new database, by re-scanning my library, and it seems to work fine.

Thus, it looks like the problem is tied with my previous database. The main error in log is: "(System.OverflowException: Value was either too large or too small for an Int32.)"

I am now requesting community help. Does anyone know what is going on and how to solve it?

I would be grateful to avoid to some SQlite 'fun' work of restoring all data and metadata built over years (playlists, smart playlists, ratings, etc.).

Thanks
--
Christian Perreault


_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)