Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
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
Old 02-08-2011, 09:37 PM   #2
brs480
Junior Member
brs480 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2011
Location: Phoenix, AZ
Device: Kindle 3
Is there any additional information I can provide or steps I can take to help identify the issue I am having?

Thank you.
brs480 is offline   Reply With Quote
Advert
Old 02-08-2011, 11:02 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A backtrace would be useful
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation Fault bowsprit Calibre 4 12-28-2010 04:13 AM
Segmentation Fault when adding books to Calibre 0.7.13 TuxGirl Calibre 10 08-12-2010 11:47 PM
Segmentation fault trying to run Calibre on CentOS 5.5 midders Calibre 1 07-26-2010 11:32 AM
Segmentation Fault after Qt upgrade reader42 Calibre 8 03-21-2010 06:58 PM
Segmentation fault weedfreak Calibre 10 10-01-2009 02:47 PM


All times are GMT -4. The time now is 05:51 PM.


MobileRead.com is a privately owned, operated and funded community.