retitle 484819 kazehakase: doesn't (always) work over ssh tunnel
thanks

Hi,

this is getting more strange.

On Fri, Jun 06, 2008 at 08:44:57PM +0200, Axel Beckert wrote:
> If I login to my lenny system via ssh and try to start kazehakase
> remotely, I neither get a window nor an error message and kazehakase
> ends with return code 0. This happens with both, webkit and gecko
> rendering engine.
> 
> xterms work fine tunneled over the very same ssh connection.
> 
> kazehakase works fine on the local display.
> 
> The ssh server used is dropbear (0.51-1) on i386, and the ssh client
> used is openssh-client (1:4.3p2-9etch2) on amd64.

The ssh client machine where it didn't work remotely was "snitch", a
workstation with three monitors. The lenny machine where kazehakase
runs is "nemo", an EeePC.

Same situation, but this time my ThinkPad "c-crosser" as ssh-client:
ssh from an Etch amd64 machine with Etch's openssh-client to the very
same lenny machine "nemo" -- and it works. Both ssh client machines
use FVWM with the nearly same configuration.

Differences between the two client machines: Multihead display on
snitch, single display on c-crosser, different kernels (both
self-compiled vanilla kernels, 2.6.23.16 on snitch, 2.6.24.4 on
c-crosser), connection between snitch and nemo was twisted pair
gigabit ethernet, the connection between c-crosser and nemo is WLAN
(but in theory that shouldn't make any difference).

Strange thing on c-crosser though: If I exit kazehakase using Ctrl-Q
the window vanishes, but the process keeps running. Ctrl-C (kill -INT)
can't stop it. Ctrl-\ (IIRC a kill -QUIT) does.

strace on kazehakase after the window closed:

open("/home/abe/.kazehakase/smartbookmarks.xml", 
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(6, "<?xml version=\"1.0\"?>\n<xbel vers"..., 2047) = 2047
fcntl64(6, F_GETFL)                     = 0x8001 (flags O_WRONLY|O_LARGEFILE)
fcntl64(6, F_SETFL, O_RDONLY)           = 0
write(6, "History</desc>\n  </bookmark>\n  <"..., 583) = 583
close(6)                                = 0
gettimeofday({1212953425, 669279}, NULL) = 0
gettimeofday({1212953425, 669717}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, 
events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=26, 
events=POLLIN|POLLPRI|POLLOUT}], 7, 0) = 0
gettimeofday({1212953425, 670232}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, 
events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=26, 
events=POLLIN|POLLPRI|POLLOUT}], 7, 0) = 0
gettimeofday({1212953425, 670706}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, 
events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=26, 
events=POLLIN|POLLPRI|POLLOUT}], 7, 0) = 0
gettimeofday({1212953425, 671967}, NULL) = 0
write(3, "\203\6\2\0V\0\0\4\4\2\2\0T\0\0\4\4\0\2\0\5\1\0\4\4\2\2"..., 304) = 304
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1212953425, 673887}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, 
events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=26, 
events=POLLIN|POLLPRI|POLLOUT}], 7, 0) = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1212953425, 674572}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, 
events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=26, 
events=POLLIN|POLLPRI|POLLOUT}], 7, 3587407) = 1
ioctl(3, FIONREAD, [1088])              = 0
read(3, "\21\0\264\20T\0\0\4T\0\0\4\0\0\0\0V\0\0\4\0\0\0\0\340@"..., 1088) = 
1088
gettimeofday({1212953425, 708769}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1212953425, 709909}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, 
events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=26, 
events=POLLIN|POLLPRI|POLLOUT}], 7, 3587372) = 1
ioctl(3, FIONREAD, [32])                = 0
read(3, "r\0\330\20\1\0\0\4)\0`\3\1\0\0\0\257\317\250i\257\317\250"..., 32) = 32
gettimeofday({1212953445, 826814}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1212953445, 827382}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, 
events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=26, 
events=POLLIN|POLLPRI|POLLOUT}], 7, 3567254) = 1
ioctl(3, FIONREAD, [32])                = 0
read(3, "r\0\330\20\1\0\0\4)\0`\3\1\0\0\0\370\345\250i\370\345\250"..., 32) = 32
gettimeofday({1212953451, 531537}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1212953451, 532086}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=21, events=POLLIN|POLLPRI}, {fd=22, 
events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=26, 
events=POLLIN|POLLPRI|POLLOUT}], 7, 3561550) = 1
ioctl(3, FIONREAD, [32])                = 0
read(3, "r\0\330\20\1\0\0\4\0\0\0\0\1\0\0\0\375\345\250i\370\345"..., 32) = 32
gettimeofday({1212953451, 536828}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
gettimeofday({1212953451, 537383}, NULL) = 0
poll(

... and so on, always hanging a "poll(" for a few seconds.

BTW: If I try that from c-crosser with ssh to "visa", a Debian
GNU/kFreeBSD (kfreebsd-i386) machine with Sid, and start kazehakase
there, it segfaults. (But this is probably another bug, probably
kFreeBSD related -- and I haven't tried kazehakase locally yet on that
architecture.)

Tell me, if you need more information.

                Regards, Axel
-- 
Axel Beckert - [EMAIL PROTECTED], [EMAIL PROTECTED] - http://noone.org/abe/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to