A GTK+ tool written in Python to backup files. (by Dave Arter) http://blog.minus-zero.org/index.php/davea/entry/pybackpack-04 http://sucs.org/~davea/trac Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 70789 [details] pybackpack-0.4.1.ebuild This ebuild Works For Me.
when running ./pybackpack from the command line as root I get a segfault. End of an strace shows: setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 connect(6, {sa_family=AF_INET, sin_port=htons(6010), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 getsockname(6, {sa_family=AF_INET, sin_port=htons(48260), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 getpeername(6, {sa_family=AF_INET, sin_port=htons(6010), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 uname({sys="Linux", node="phoenix.arcterex.net", ...}) = 0 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 access("/root/.xauthc567Fr", R_OK) = 0 PrivoxyWindowOpen("/root/.xauthc567Fr", O_RDONLY) = 7 fstat64(7, {st_mode=S_IFREG|0600, st_size=66, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7baf000 read(7, "\1\0\0\24phoenix.arcterex.net\0\00210\0\22MI"..., 4096) = 66 read(7, "", 4096) = 0 close(7) = 0 munmap(0xb7baf000, 4096) = 0 writev(6, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"o9&JZ\221\3U\271h\347P\307N\310h", 16}], 4) = 48 fcntl64(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 read(6, 0xbfee5408, 8) = -1 EAGAIN (Resource temporarily unavailable) select(7, [6], NULL, NULL, NULL) = 1 (in [6]) read(6, "", 8) = 0 write(2, "The application \'pybackpack\' los"..., 160The application 'pybackpack' lost its connection to the display localhost:10.0; most likely the X server was shut down or you killed/destroyed the application. ) = 160 exit_group(1) = ? phoenix alan # This also happens when I run 'from pybackpack import gui' from within the python interpreter. Sadly I'm not a python hacker ATM, so other help on how to debug this is appreciated.
Ensuring app-backup doesn't lose any bugs.
Backup bugs for evaluation by app-backup team.
I've tested and commited 0.4.2 to CVS. Thanks for the submission. For future submissions, could you please try hard to find all dependancies of a package? pybackpack had me stymied for a while with a python import of 'nautilusburn' that I didn't have on my system. I did eventully find it - it's moved between gnome packages a few times, and I've put that package into the dependancies for pybackpack.