Re: Linuxulator X11 broken?

2011-09-30 Thread Andrew
On 29 September 2011 12:50, Andrew and...@flarn.com wrote:
 I'm seeing broken flash plugin, skype and citrix client all reporting
 in one way or other that they can't open display. This is all on
 8.2-STABLE FreeBSD 8.2-STABLE #8: Thu Sep 29 10:11:04 BST 2011 built
 this morning on amd64.
 e.g.

 (npviewer.bin:2790): Gtk-WARNING **: cannot open display: :0
 *** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC
 client connection

 part of ktrace of skype failing to launch:

  64328 skype    CALL  linux_socketcall(0x1,0xca00)
  64328 skype    RET   linux_socketcall 7
  64328 skype    CALL  linux_socketcall(0x3,0xca00)
  64328 skype    STRU  struct sockaddr { AF_LOCAL, invalid }
  64328 skype    RET   linux_socketcall -1 errno 2 No such file or directory
  64328 skype    CALL  close(0x7)
  64328 skype    RET   close 0
  64328 skype    CALL  linux_socketcall(0x1,0xca00)
  64328 skype    RET   linux_socketcall 7
  64328 skype    CALL  linux_socketcall(0x3,0xca00)
  64328 skype    STRU  struct sockaddr { AF_LOCAL, /tmp/.X11-unix/X0 }
  64328 skype    RET   linux_socketcall -1 errno 22 Invalid argument
  64328 skype    CALL  close(0x7)
  64328 skype    RET   close 0
  64328 skype    CALL  write(0x6,0x9700e01,0x1)
  64328 skype    GIO   fd 6 wrote 1 byte
       @
  64328 skype    RET   write 1
  64328 skype    CALL  close(0x6)
  64328 skype    RET   close 0
  64328 skype    CALL  close(0x5)
  64328 skype    RET   close 0
  64328 skype    CALL  linux_rt_sigaction(0x11,0xca28,0xc99c,0x8)
  64328 skype    RET   linux_rt_sigaction 0
  64328 skype    CALL  linux_exit_group(0x1)


 I've reinstalled linux-f10* ports to see if anything changed, but to no avail.

Commenting out the sizeof(sockaddr_un) checks and re-compiling my
kernel gets linuxulator things working again.

Looking at the above ktrace shows a struct sockaddr rather than
sockaddr_un? Does this make these checks wrong (at least for
linuxulator)?

Regards,
Andrew
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Linuxulator X11 broken?

2011-09-30 Thread Bjoern A. Zeeb

On Sep 30, 2011, at 8:50 AM, Andrew wrote:

 On 29 September 2011 12:50, Andrew and...@flarn.com wrote:
 I'm seeing broken flash plugin, skype and citrix client all reporting
 in one way or other that they can't open display. This is all on
 8.2-STABLE FreeBSD 8.2-STABLE #8: Thu Sep 29 10:11:04 BST 2011 built
 this morning on amd64.
 e.g.
 
 (npviewer.bin:2790): Gtk-WARNING **: cannot open display: :0
 *** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC
 client connection
 
 part of ktrace of skype failing to launch:
 ..
 
 I've reinstalled linux-f10* ports to see if anything changed, but to no 
 avail.
 
 Commenting out the sizeof(sockaddr_un) checks and re-compiling my
 kernel gets linuxulator things working again.
 
 Looking at the above ktrace shows a struct sockaddr rather than
 sockaddr_un? Does this make these checks wrong (at least for
 linuxulator)?

It will always do that.  There's a linuxolator bug in the kernel that
the latest SAs unhid.  People are working on it but it'll need fixing
in all security branches so it's not a 3 minute task unfortunately.

/bz

-- 
Bjoern A. Zeeb You have to have visions!
 Stop bit received. Insert coin for new address family.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Linuxulator X11 broken?

2011-09-30 Thread Andrew
On 30 September 2011 10:08, Bjoern A. Zeeb b...@zabbadoz.net wrote:

 On Sep 30, 2011, at 8:50 AM, Andrew wrote:

 On 29 September 2011 12:50, Andrew and...@flarn.com wrote:
 I'm seeing broken flash plugin, skype and citrix client all reporting
 in one way or other that they can't open display. This is all on
 8.2-STABLE FreeBSD 8.2-STABLE #8: Thu Sep 29 10:11:04 BST 2011 built
 this morning on amd64.
 e.g.

 (npviewer.bin:2790): Gtk-WARNING **: cannot open display: :0
 *** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC
 client connection

 part of ktrace of skype failing to launch:
 ..

 I've reinstalled linux-f10* ports to see if anything changed, but to no 
 avail.

 Commenting out the sizeof(sockaddr_un) checks and re-compiling my
 kernel gets linuxulator things working again.

 Looking at the above ktrace shows a struct sockaddr rather than
 sockaddr_un? Does this make these checks wrong (at least for
 linuxulator)?

 It will always do that.  There's a linuxolator bug in the kernel that
 the latest SAs unhid.  People are working on it but it'll need fixing
 in all security branches so it's not a 3 minute task unfortunately.


Thanks, not in a rush, I understand making sure the fix is correct
whilst maintaining the security and applying it to all the branches is
more involved.

Andrew
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Linuxulator X11 broken?

2011-09-29 Thread Hiroshi Saeki

Hello, this mail is from Japan.
My name is Hiroshi Saeki, a hobby user of FreeBSD.

Only a few hours before, I upgraded my FreeBSD/amd64
8.2-RELEASE-p2 to 8.2-RELEASE-p3.

The same problem occured.

linux-firefox-devel-3.5.19
linux-opera-11.50
ja-acroread8-8.1.7_3

cannot be started.

They can't open display.

I reverted the kernel to it of 8.2-RELEASE-p2,
and they work fine.

RELENG_8_2
src/sys/kern/uipc_usrreq.c   1.233.2.2.2.2

RELENG_8
src/sys/kern/uipc_usrreq.c   1.233.2.6

must be problematic.

I am going to send-pr about uipc_userreq.c.

Perhaps, you too should revert kernel to
privious version.


I wish this will be of your help.

With  warm regards.




On Thu, 29 Sep 2011 12:50:55 +0100
Andrew and...@flarn.com wrote:

 I'm seeing broken flash plugin, skype and citrix client all reporting
 in one way or other that they can't open display. This is all on
 8.2-STABLE FreeBSD 8.2-STABLE #8: Thu Sep 29 10:11:04 BST 2011 built
 this morning on amd64.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Linuxulator X11 broken?

2011-09-29 Thread kaltheat
On Thu, Sep 29, 2011 at 1:50 PM, Andrew and...@flarn.com wrote:
 I'm seeing broken flash plugin, skype and citrix client all reporting
 in one way or other that they can't open display. This is all on
 8.2-STABLE FreeBSD 8.2-STABLE #8: Thu Sep 29 10:11:04 BST 2011 built
 this morning on amd64.
 e.g.

 (npviewer.bin:2790): Gtk-WARNING **: cannot open display: :0
 *** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC
 client connection

 part of ktrace of skype failing to launch:

  64328 skype    CALL  linux_socketcall(0x1,0xca00)
  64328 skype    RET   linux_socketcall 7
  64328 skype    CALL  linux_socketcall(0x3,0xca00)
  64328 skype    STRU  struct sockaddr { AF_LOCAL, invalid }
  64328 skype    RET   linux_socketcall -1 errno 2 No such file or directory
  64328 skype    CALL  close(0x7)
  64328 skype    RET   close 0
  64328 skype    CALL  linux_socketcall(0x1,0xca00)
  64328 skype    RET   linux_socketcall 7
  64328 skype    CALL  linux_socketcall(0x3,0xca00)
  64328 skype    STRU  struct sockaddr { AF_LOCAL, /tmp/.X11-unix/X0 }
  64328 skype    RET   linux_socketcall -1 errno 22 Invalid argument
  64328 skype    CALL  close(0x7)
  64328 skype    RET   close 0
  64328 skype    CALL  write(0x6,0x9700e01,0x1)
  64328 skype    GIO   fd 6 wrote 1 byte
       @
  64328 skype    RET   write 1
  64328 skype    CALL  close(0x6)
  64328 skype    RET   close 0
  64328 skype    CALL  close(0x5)
  64328 skype    RET   close 0
  64328 skype    CALL  linux_rt_sigaction(0x11,0xca28,0xc99c,0x8)
  64328 skype    RET   linux_rt_sigaction 0
  64328 skype    CALL  linux_exit_group(0x1)


 I've reinstalled linux-f10* ports to see if anything changed, but to no avail.

 Thanks,
 Andrew

To me it seems as if the socket kernel patch is involved in this issue.

ktrace of firefox trying to play flash via npviewer(nsplugin wrapper)
shows this:

31900 initial thread RET   nanosleep 0
31900 initial thread CALL  connect(0x15,0x809241d18,0x42)
31900 initial thread STRU  struct sockaddr { AF_LOCAL, invalid }
31900 initial thread NAMI
/tmp/_org_wrapper_NSPlugins_libflashplayer.so_31900-2_1804289383
31900 initial thread RET   connect -1 errno 2 No such file or directory
31900 initial thread CALL  nanosleep(0x7fffca30,0x7fffca40)
31900 initial thread RET   nanosleep 0
31900 initial thread CALL  connect(0x15,0x809241d18,0x42)
31900 initial thread STRU  struct sockaddr { AF_LOCAL, invalid }
31900 initial thread NAMI
/tmp/_org_wrapper_NSPlugins_libflashplayer.so_31900-2_1804289383
31900 initial thread RET   connect -1 errno 2 No such file or directory
31900 initial thread CALL  nanosleep(0x7fffca30,0x7fffca40)
31900 initial thread RET   nanosleep 0
31900 initial thread CALL  unlink(0x8093cd150)
31900 initial thread NAMI
/tmp/_org_wrapper_NSPlugins_libflashplayer.so_31900-2_1804289383
31900 initial thread RET   unlink -1 errno 2 No such file or directory
31900 initial thread CALL  close(0x15)
31900 initial thread RET   close 0
31900 initial thread CALL  write(0x2,0x7fffc2d0,0x19)
31900 initial thread GIO   fd 2 wrote 25 bytes
  *** NSPlugin Wrapper *** 
31900 initial thread RET   write 25/0x19
31900 initial thread CALL  write(0x2,0x7fffc3b0,0x3e)
31900 initial thread GIO   fd 2 wrote 62 bytes
  ERROR: failed to initialize plugin-side RPC client connection
  


best regards,
kaltheat
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org