View Single Post
Old 02-06-2011, 09:27 PM   #1
brs480
Junior Member
brs480 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2011
Location: Phoenix, AZ
Device: Kindle 3
Segmentation Fault on calibre-server

I have calibre x.x.44 installed on a cloud server running Ubuntu 10.10 x64.

(Python 2.6.6)

It boots up and operates ok in X. I would like it to run in daemon mode.

I typed: calibre-server --daemonize

And all I get back is "Segmentation fault"

I did an "strace -f calibre-server" - I got this:


...
[pid 2922] gettimeofday({1297045383, 963912}, NULL) = 0
[pid 2922] select(0, NULL, NULL, NULL, {0, 50000} <unfinished ...>
[pid 2913] <... select resumed> ) = 0 (Timeout)
[pid 2913] socket(PF_NETLINK, SOCK_RAW, 0) = 8
[pid 2913] bind(8, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
[pid 2913] getsockname(8, {sa_family=AF_NETLINK, pid=2913, groups=00000000}, [12]) = 0
[pid 2913] gettimeofday({1297045383, 995874}, NULL) = 0
[pid 2913] sendto(8, "\24\0\0\0\26\0\1\3\207WOM\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
[pid 2913] recvmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\207WOMa\v\0\0\2\10\200\376\1\0\ 0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 168
[pid 2913] recvmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\207WOMa\v\0\0\n\200\200\376\1\0 \0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 192
[pid 2913] recvmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\207WOMa\v\0\0\0\0\0\0\1\0\0\0\ 24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
[pid 2913] close(8) = 0
[pid 2913] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 8
[pid 2913] fcntl(8, F_GETFL) = 0x2 (flags O_RDWR)
[pid 2913] fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 2913] connect(8, {sa_family=AF_INET, sin_port=htons(8080), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
[pid 2913] poll([{fd=8, events=POLLOUT}], 1, 200) = 1 ([{fd=8, revents=POLLOUT}])
[pid 2913] getsockopt(8, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid 2913] close(8) = 0
[pid 2913] select(0, NULL, NULL, NULL, {0, 200000} <unfinished ...>
[pid 2922] <... select resumed> ) = 0 (Timeout)
[pid 2922] gettimeofday({1297045384, 14185}, NULL) = 0
[pid 2922] select(0, NULL, NULL, NULL, {0, 50000}) = 0 (Timeout)
[pid 2922] gettimeofday({1297045384, 64447}, NULL) = 0
[pid 2922] select(0, NULL, NULL, NULL, {0, 50000}) = 0 (Timeout)
[pid 2922] gettimeofday({1297045384, 114717}, NULL) = 0
[pid 2922] select(0, NULL, NULL, NULL, {0, 50000}^C <unfinished ...>

Something getting hung up on gettimeofday?
brs480 is offline   Reply With Quote