Bug 3528 - Crash when trying to play an album from New Music
: Crash when trying to play an album from New Music
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 6.5b1
: PC Windows XP
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-12 01:01 UTC by Philip Meyer
Modified: 2008-09-15 14:39 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2006-06-12 01:01:50 UTC
2006-06-12 08:57:39.4843 ERROR: Request: Error when trying to run function coderef: [DBIx::Class::InflateColumn::update(): Not in database at P:\Music\SlimServer\trunk\server/Slim/Schema/DBI.pm line 33
]

2006-06-12 08:57:39.4845 Request: Command [5e:31:13:06:25:02->playlist loadtracks] (Bad dispatch!)
2006-06-12 08:57:39.4846    Param: [_what] = [age=1301]
2006-06-12 08:57:39.5286 DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`slimserver/playlist_track`, CONSTRAINT `playlist_track_ibfk_1` FOREIGN KEY (`track`) REFERENCES `tracks` (`id`) ON DELETE CASCADE) at P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI.pm line 525.
DBIx::Class::ResultSet::create(): Error executing 'INSERT INTO playlist_track (playlist, position, track) VALUES (?, ?, ?)' (`16971', `0', `16663'): DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`slimserver/playlist_track`, CONSTRAINT `playlist_track_ibfk_1` FOREIGN KEY (`track`) REFERENCES `tracks` (`id`) ON DELETE CASCADE) at P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI.pm line 525.
Comment 1 Dan Sully 2006-06-12 23:57:56 UTC
What steps did you take to cause this?

I'm unable to reproduce it..

Thanks.
Comment 2 Philip Meyer 2006-06-13 01:43:50 UTC
I wasn't doing anything special.

I was using softsqueeze (although I have seen the crash on SB2/3).
I navigated to Browse -> New Music.
I clicked down-arrow to select an album I recently ripped.
I pressed play.

This caused the crash.  I tried a couple of New Music albums - each crashed the server.

However, I just tried again this morning after an SVN update and it isn't crashing now.  Perhaps some other change has fixed it?  I'll try to recreate it for a while longer.
Comment 3 Dan Sully 2006-06-14 18:04:05 UTC
It's very possible another change fixed it..

Going to close the bug - please reopen if you can reproduce.

Thanks.