The Debian User Group in Vienna

Text archives Help


Re: [Debienna] mein miro spinnt, any hints?


Chronological Thread 
  • From: Andreas Fleckl <andreas.fleckl AT keisanki.net>
  • To: debienna AT lists.debienna.at
  • Subject: Re: [Debienna] mein miro spinnt, any hints?
  • Date: Thu, 10 Feb 2011 00:25:27 +0100
  • List-archive: <http://lists.debienna.at/pipermail/debienna>
  • List-id: <debienna.lists.debienna.at>

$ strace miro
execve("/usr/bin/miro", ["miro"], [/* 47 vars */]) = 0
brk(0) = 0xd2a000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f1ae10bf000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=93195, ...}) = 0
mmap(NULL, 93195, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1ae10a8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\355\1\0\0\0\0
\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1432968, ...}) = 0
mmap(NULL, 3541032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f1ae0b43000
mprotect(0x7f1ae0c9b000, 2093056, PROT_NONE) = 0
mmap(0x7f1ae0e9a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x157000) = 0x7f1ae0e9a000
mmap(0x7f1ae0e9f000, 18472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x7f1ae0e9f000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f1ae10a7000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f1ae10a6000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f1ae10a5000
arch_prctl(ARCH_SET_FS, 0x7f1ae10a6700) = 0
mprotect(0x7f1ae0e9a000, 16384, PROT_READ) = 0
mprotect(0x7f1ae10c1000, 4096, PROT_READ) = 0
munmap(0x7f1ae10a8000, 93195) = 0
getpid() = 12190
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART,
0x7f1ae0b751e0}, {SIG_DFL, [], 0}, 8) = 0
geteuid() = 1000
brk(0) = 0xd2a000
brk(0xd4b000) = 0xd4b000
getppid() = 12189
stat("/home/oib2010", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/bin/miro", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x40f540, ~[RTMIN RT_1], SA_RESTORER,
0x7f1ae0b751e0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER,
0x7f1ae0b751e0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER,
0x7f1ae0b751e0}, NULL, 8) = 0
read(10, "#!/bin/sh\n# This file is generat"..., 8192) = 469
stat("/home/oib2010/.rvm/gems/ruby-1.9.2-p0/bin/miro.real",
0x7fff13e75cf0) = -1 ENOENT (No such file or directory)
stat("/home/oib2010/.rvm/gems/ruby-1.9.2-p0@global/bin/miro.real",
0x7fff13e75cf0) = -1 ENOENT (No such file or directory)
stat("/home/oib2010/.rvm/rubies/ruby-1.9.2-p0/bin/miro.real",
0x7fff13e75cf0) = -1 ENOENT (No such file or directory)
stat("/home/oib2010/.rvm/bin/miro.real", 0x7fff13e75cf0) = -1 ENOENT (No
such file or directory)
stat("/usr/local/bin/miro.real", 0x7fff13e75cf0) = -1 ENOENT (No such
file or directory)
stat("/usr/bin/miro.real", {st_mode=S_IFREG|0755, st_size=9365, ...}) =
0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0x7f1ae10a69d0) = 12191
wait4(-1, Traceback (most recent call last):
File "/usr/bin/miro.real", line 123, in <module>
import miro.storedatabase
File "/usr/lib/pymodules/python2.6/miro/storedatabase.py", line 65, in
<module>
from miro import convert20database
File "/usr/lib/pymodules/python2.6/miro/convert20database.py", line
51, in <module>
from miro import databaseupgrade
File "/usr/lib/pymodules/python2.6/miro/databaseupgrade.py", line 46,
in <module>
from miro import schema
File "/usr/lib/pymodules/python2.6/miro/schema.py", line 329, in
<module>
from miro.downloader import RemoteDownloader, HTTPAuthPassword
File "/usr/lib/pymodules/python2.6/miro/downloader.py", line 37, in
<module>
from miro.dl_daemon import daemon, command
File "/usr/lib/pymodules/python2.6/miro/dl_daemon/daemon.py", line 29,
in <module>
from miro.dl_daemon import command
File "/usr/lib/pymodules/python2.6/miro/dl_daemon/command.py", line
32, in <module>
from miro import eventloop
File "/usr/lib/pymodules/python2.6/miro/eventloop.py", line 347, in
<module>
_eventLoop = EventLoop()
File "/usr/lib/pymodules/python2.6/miro/eventloop.py", line 226, in
__init__
self.wakeSender, self.wakeReceiver = util.make_dummy_socket_pair()
File "/usr/lib/pymodules/python2.6/miro/util.py", line 219, in
make_dummy_socket_pair
dummy_server.bind(("127.0.0.1", port))
File "<string>", line 1, in bind
socket.error: [Errno 99] Cannot assign requested address
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 12191
--- SIGCHLD (Child exited) @ 0 (0) ---
read(10, "", 8192) = 0
exit_group(1) = ?

On Wed, 2011-02-09 at 22:48 +0100, Andreas Rottmann wrote:
> Markus Raab
> <mailinglists AT markus-raab.org>
> writes:
>
> > Hallo!
> >
> > Am Mittwoch, 9. Februar 2011 schrieb Andreas Fleckl:
> >> dummy_server.bind(("127.0.0.1", port))
> >> File "<string>", line 1, in bind
> >> socket.error: [Errno 99] Cannot assign requested address
> >
> > Hast du es vielleicht schon mal gestartet oder ist der Port anderswertig
> > belegt? netstat kann da helfen :-)
> >
> BTW, der Port bleibt auch nachdem er geschlossen wurde "belegt" (für ein
> paar Minuten), wenn die Option SO_REUSEADDR auf dem Socket nicht
> eingeschalten wurde, bevor bind() aufgerufen wurde.
>
> Falls du das Problem bestehen bleibt, wäre auch der Output von "strace"
> auf dem Python-Prozess interessant.
>
> HTH, Andi






Archive powered by MHonArc 2.6.18.

Top of page