FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Nightlies Feedback › svn-1659 crashes when SB tries to access
- This topic has 26 replies, 6 voices, and was last updated 16 years, 6 months ago by rpedde.
-
AuthorPosts
-
25/09/2007 at 5:03 AM #12543rpeddeParticipant
@thorstenhirsch wrote:
Still crashing here with svn-1668. When my SB tries to connect, it crashes immediately. Using the web-interface, it doesn’t crash immediately – I can check my config settings and start a full rescan …but after some seconds, it also crashes. The log file seems to show the same lines as with 1659.
fegh.
why can’t I repro this? Can you post your config file?
25/09/2007 at 5:54 PM #12544thorstenhirschParticipantSure.
Here it is:[general]
web_root = /usr/local/share/mt-daapd/admin-root
port = 3689
admin_pw =
db_type = sqlite3
db_parms = /usr/local/var/cache/mt-daapd
mp3_dir = /mnt/hda/share/musik
servername = Firefly on %h
runas = torti
playlist = /usr/local/etc/mt-daapd.playlist
extensions = .mp3,.m4a,.m4p,.flac
ssc_codectypes = flac,alac,ogg
ssc_prog = /usr/local/bin/mt-daapd-ssc.sh
logfile = /usr/local/var/log/mt-daapd.log
scan_type = 1
compress = 1
[plugins]
plugin_dir = /usr/local/share/mt-daapd/pluginsAnd this is how I run ./configure:
./configure --enable-sqlite3 --enable-oggvorbis --enable-gdbm --with-id3tag=/usr/local/lib --with-sqlite3-libs=/usr/local/lib --with-sqlite3-includes=/usr/local/include --with-gdbm-libs=/usr/local/lib --enable-flac
25/09/2007 at 6:02 PM #12545fizzeParticipantAh, you’re on sqlite3, I am not, and Ron is probably neither.
25/09/2007 at 9:35 PM #12546thorstenhirschParticipantSo what are you guys using?
26/09/2007 at 3:28 AM #12547rpeddeParticipant@thorstenhirsch wrote:
plugin_dir = /usr/local/share/mt-daapd/plugins[/code]
Are you sure these are the plugins that it compiled, or did it put them in /usr/local/lib/mt-daapd?
A couple releases ago, plugins moved to pkglibdir rather than pkgdatadir.
Should have seen they were the wrong version, though. :/
Also, for the most part (aside from a copule machines) I’m using sqlite2.
— Ron
26/09/2007 at 3:29 AM #12548rpeddeParticipant@raveman wrote:
got same problem with previous and 1668 nightly build. my system is RHEL4 server
What’s your plugin_dir path? Is it $prefix/lib/mt-daapd, or $prefix/share/mt-daapd/plugins?
Should be $prefix/lib/mt-daapd.
— Ron
28/09/2007 at 5:54 PM #12549thorstenhirschParticipantI corrected the plugin_dir path, but the server keeps crashing the same way as before.
edit: nightly svn-1671 crashes also.
29/09/2007 at 5:51 AM #12550rpeddeParticipant@thorstenhirsch wrote:
I corrected the plugin_dir path, but the server keeps crashing the same way as before.
edit: nightly svn-1671 crashes also.
Are you using sqlite3 or sqlite?
29/09/2007 at 2:47 PM #12551thorstenhirschParticipantStill sqlite3 so far.
edit: maybe an strace output can help you…
Process 4504 attached - interrupt to quit
_newselect(8, [5 6 7], NULL, NULL, {4, 200000}) = 0 (Timeout)
gettimeofday({1191104269, 962564}, NULL) = 0
gettimeofday({1191104269, 965270}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {2, 884765}) = 0 (Timeout)
gettimeofday({1191104272, 852530}, NULL) = 0
sendto(7, "204164TUXI5local12001"..., 838, 0, {sa_family=AF_INET, sin_port=htons(5353), sin_addr=inet_addr("224.0.0.251")}, 16) = 838
gettimeofday({1191104272, 859943}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {0, 92773}) = 1 (in [7], left {0, 100000})
recvmsg(7, {msg_name(16)={sa_family=AF_INET, sin_port=htons(5353), sin_addr=inet_addr("192.168.0.7")}, msg_iov(1)=[{"204164TUXI5local12001"..., 8952}], msg_controllen=40, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 838
gettimeofday({1191104272, 870938}, NULL) = 0
gettimeofday({1191104272, 874055}, NULL) = 0
gettimeofday({1191104272, 876861}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {0, 76171}) = 0 (Timeout)
gettimeofday({1191104272, 952525}, NULL) = 0
gettimeofday({1191104272, 955222}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {4, 997070}) = 1 (in [5], left {4, 440000})
read(5, "3"..., 684) = 684
write(8, "1", 4) = 4
gettimeofday({1191104273, 520601}, NULL) = 0
gettimeofday({1191104273, 523297}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {4, 998046}) = 1 (in [5], left {1, 410000})
read(5, "3"..., 684) = 684
write(8, "1", 4) = 4
gettimeofday({1191104277, 124515}, NULL) = 0
gettimeofday({1191104277, 127040}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {4, 997070}) = 1 (in [5], left {2, 880000})
read(5, "", 684) = 0
time([1191104279]) = 1191104279
stat64(0x2b0b3cdc, 0x7fff63f0) = 0
stat64(0x2b0b3cdc, 0x7fff6358) = 0
stat64(0x2b0b3cdc, 0x7fff6358) = 0
getpid() = 4504
send(3, "Sep 29 17:17:59 mt-daapd[450"..., 94, MSG_NOSIGNAL) = 94
time(NULL) = 1191104279
write(4, "2007-09-29 17:17:59 (00004000): "..., 90) = 90
write(4, "2007-09-29 17:17:59: Abortingn", 30) = 30
write(2, "Rendezvous socket closed (daap s"..., 58) = 58
write(2, "Abortingn", 9) = 9
exit_group(1) = ?
Process 4504 detachedAnother info: the webserver process always crashs after I visited the playlists. All other pages work w/o problems and even the playlist page is displayed correctly. But no matter which page I click next, the webserver is always down after the playlist page.
29/09/2007 at 9:04 PM #12552rpeddeParticipant@thorstenhirsch wrote:
Still sqlite3 so far.
edit: maybe an strace output can help you…
Process 4504 attached - interrupt to quit
_newselect(8, [5 6 7], NULL, NULL, {4, 200000}) = 0 (Timeout)
gettimeofday({1191104269, 962564}, NULL) = 0
gettimeofday({1191104269, 965270}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {2, 884765}) = 0 (Timeout)
gettimeofday({1191104272, 852530}, NULL) = 0
sendto(7, "204164TUXI5local12001"..., 838, 0, {sa_family=AF_INET, sin_port=htons(5353), sin_addr=inet_addr("224.0.0.251")}, 16) = 838
gettimeofday({1191104272, 859943}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {0, 92773}) = 1 (in [7], left {0, 100000})
recvmsg(7, {msg_name(16)={sa_family=AF_INET, sin_port=htons(5353), sin_addr=inet_addr("192.168.0.7")}, msg_iov(1)=[{"204164TUXI5local12001"..., 8952}], msg_controllen=40, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 838
gettimeofday({1191104272, 870938}, NULL) = 0
gettimeofday({1191104272, 874055}, NULL) = 0
gettimeofday({1191104272, 876861}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {0, 76171}) = 0 (Timeout)
gettimeofday({1191104272, 952525}, NULL) = 0
gettimeofday({1191104272, 955222}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {4, 997070}) = 1 (in [5], left {4, 440000})
read(5, "3"..., 684) = 684
write(8, "1", 4) = 4
gettimeofday({1191104273, 520601}, NULL) = 0
gettimeofday({1191104273, 523297}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {4, 998046}) = 1 (in [5], left {1, 410000})
read(5, "3"..., 684) = 684
write(8, "1", 4) = 4
gettimeofday({1191104277, 124515}, NULL) = 0
gettimeofday({1191104277, 127040}, NULL) = 0
_newselect(8, [5 6 7], NULL, NULL, {4, 997070}) = 1 (in [5], left {2, 880000})
read(5, "", 684) = 0
time([1191104279]) = 1191104279
stat64(0x2b0b3cdc, 0x7fff63f0) = 0
stat64(0x2b0b3cdc, 0x7fff6358) = 0
stat64(0x2b0b3cdc, 0x7fff6358) = 0
getpid() = 4504
send(3, "Sep 29 17:17:59 mt-daapd[450"..., 94, MSG_NOSIGNAL) = 94
time(NULL) = 1191104279
write(4, "2007-09-29 17:17:59 (00004000): "..., 90) = 90
write(4, "2007-09-29 17:17:59: Abortingn", 30) = 30
write(2, "Rendezvous socket closed (daap s"..., 58) = 58
write(2, "Abortingn", 9) = 9
exit_group(1) = ?
Process 4504 detachedAnother info: the webserver process always crashs after I visited the playlists. All other pages work w/o problems and even the playlist page is displayed correctly. But no matter which page I click next, the webserver is always down after the playlist page.
Try sqlite 2. I think I’ve got a threading problem in sqlite3. Might be they changed the threading model yet again.
-
AuthorPosts
- The forum ‘Nightlies Feedback’ is closed to new topics and replies.