[X2Go-Dev] Bug#1172: Bug#1172: ThunderBird crashes in PubApp mode on amd64

2017-05-08 Thread Stefan Baur
Am 08.05.2017 um 07:44 schrieb Ulrich Sibiller:
> Yes, but to get better output please install all other dbg packages
> from here, too:
> 
> http://packages.x2go.org/debian/pool/main/n/nx-libs/
> 
> There a doc regarding automaitc debug package installation here:
> https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols
> 
>> Program received signal SIGSEGV, Segmentation fault.
>> _XData32 (dpy=dpy@entry=0x2539060, data=,
>> data@entry=0x7f66477bcff4, len=101652, len@entry=109812) at XlibInt.c:3792
>> 3792in XlibInt.c
> At this stage you should run bt (backtrace) so we can see the calls
> leading to this. There's no need to do single steps.
> 
> To see better output including the line where it crashed you could
> also recompile the package as described in
> https://wiki.debian.org/HowToGetABacktrace#Rebuilding_the_package_you.2BIBk-re_debugging

Sorry, but this is way over my head and out of my comfort zone.  Would
it help if I granted you access to a freshly installed test system?

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243



signature.asc
Description: OpenPGP digital signature
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1172: Bug#1172: ThunderBird crashes in PubApp mode on amd64

2017-05-07 Thread Ulrich Sibiller
On Mon, May 8, 2017 at 1:53 AM, Stefan Baur  wrote:
> Am 08.05.2017 um 00:07 schrieb Ulrich Sibiller:
>
> [...]
>
>> The error message you posted is this:
>> traps: x2goagent [3339] general protection ip:7f02464e2e6d
>> sp:7ffef6c22150error:0 in libNX_X11.so.6.2[7f0246496000+123000]
>>
>> So we have a problem in libNX_X11 which - in 3.5.9.77 - is on the
>> current xorg upstream level 1.6.5. In nx-libs 3.5.0.32 it is rather
>> old (about 1.3.3). I am curious if it is sufficient to ONLY copy
>> libNX_X11.so* from 3.5.99.7 to your crashing installation. If that
>> helps we could release 3.5.0.33 or 34 with that libX11 exchanged. This
>> should generally be bit much less risky than just marking 3.5.99 as
>> stable.
>
> Copying the single file over actually works.  Though I don't know what
> other side effects it may have ...

Not too much, since there's no change in functionality AFAICS.
Good to know that this helps. So this could serve as a quick workaround.

> I hope I did this right ... the package name was libnx-x11-6-dbg.

Yes, but to get better output please install all other dbg packages
from here, too:

http://packages.x2go.org/debian/pool/main/n/nx-libs/

There a doc regarding automaitc debug package installation here:
https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols

> Program received signal SIGSEGV, Segmentation fault.
> _XData32 (dpy=dpy@entry=0x2539060, data=,
> data@entry=0x7f66477bcff4, len=101652, len@entry=109812) at XlibInt.c:3792
> 3792in XlibInt.c

At this stage you should run bt (backtrace) so we can see the calls
leading to this. There's no need to do single steps.

To see better output including the line where it crashed you could
also recompile the package as described in
https://wiki.debian.org/HowToGetABacktrace#Rebuilding_the_package_you.2BIBk-re_debugging

Uli
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1172: Bug#1172: ThunderBird crashes in PubApp mode on amd64

2017-05-07 Thread Stefan Baur
Am 08.05.2017 um 00:07 schrieb Ulrich Sibiller:

[...]

> The error message you posted is this:
> traps: x2goagent [3339] general protection ip:7f02464e2e6d
> sp:7ffef6c22150error:0 in libNX_X11.so.6.2[7f0246496000+123000]
> 
> So we have a problem in libNX_X11 which - in 3.5.9.77 - is on the
> current xorg upstream level 1.6.5. In nx-libs 3.5.0.32 it is rather
> old (about 1.3.3). I am curious if it is sufficient to ONLY copy
> libNX_X11.so* from 3.5.99.7 to your crashing installation. If that
> helps we could release 3.5.0.33 or 34 with that libX11 exchanged. This
> should generally be bit much less risky than just marking 3.5.99 as
> stable.

Copying the single file over actually works.  Though I don't know what
other side effects it may have ...


[...]

> You could try to install libNX_X11-dbg and attach gdb to x2goagent
> (run "gdb -p $(pidof x2goagent)") just before starting thunderbird.
> When it crashes you'll get a backtrace. Using that information we can
> (hopefully) see if a quick backport could help. That would be the
> least invasive solution.

I hope I did this right ... the package name was libnx-x11-6-dbg.

GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 6297
Reading symbols from /usr/lib/nx/bin/nxagent...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libNX_Xext.so.6...Reading
symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xext.so.6.4...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_Xext.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libNX_X11.so.6...Reading
symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_X11.so.6.2...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_X11.so.6
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging
symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols
from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libNX_Xpm.so.4...Reading
symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xpm.so.4.11...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_Xpm.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libXcomp.so.3...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcomp.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libXcompext.so.3...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcompext.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libXcompshad.so.3...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcompshad.so.3
Reading symbols from
/usr/lib/x86_64-linux-gnu/libNX_Xrender.so.1...Reading symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xrender.so.1.2.2...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_Xrender.so.1
Reading symbols from
/usr/lib/x86_64-linux-gnu/libNX_Xfixes.so.3...Reading symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xfixes.so.3.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_Xfixes.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libNX_Xtst.so.6...Reading
symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xtst.so.6.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_Xtst.so.6
Reading symbols from
/usr/lib/x86_64-linux-gnu/libNX_Xdamage.so.1...Reading symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xdamage.so.1.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_Xdamage.so.1
Reading symbols from
/usr/lib/x86_64-linux-gnu/libNX_Xrandr.so.2...Reading symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xrandr.so.2.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_Xrandr.so.2
Reading symbols from
/usr/lib/x86_64-linux-gnu/libNX_Xcomposite.so.1...Reading symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xcomposite.so.1.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libNX_Xcomposite.so.1
Reading symbols from
/usr/lib/x86_64-linux-gnu/libNX_Xinerama.so.1...Reading symbols from
/usr/lib/debug//usr/lib/x86_64-linux-gnu/libNX_Xinerama.so.1.0...done.
done.
Loade

[X2Go-Dev] Bug#1172: Bug#1172: ThunderBird crashes in PubApp mode on amd64

2017-05-07 Thread Ulrich Sibiller
On Fri, May 5, 2017 at 4:30 PM, Stefan Baur  wrote:
> package: nx-libs
>
> Hi,
>
> since Debian Jessie (stable) switched from IceDove back to ThunderBird,
> TB crashes when the host is an amd64 machine and X2GoClient is running
> in PubApp mode. i386 is unaffected.
>
> It happens with X2GoClient on Windows as well as on Linux, so it's not a
> matter of VcXsrv being too old/broken/whatever.
>
> It also happens when all X2Go server components are installed from heuler.
>
> It does NOT happen when you build nx-libs from source using the Debian
> Experimental repository.
>
> So there's something in the stable nx-libs that's broken on amd64 only,
> and got fixed in the nx-libs version that is available via Debian
> Experimental.
>
> Core-Devs, please advise how to fix this - should we dare making a new
> nx-libs release and declare it stable, based on what is in Debian
> Experimental (arguing that everything is better than what we currently
> have)?  Or should we try to hunt down the offending code part and only
> patch that?  If the latter, who's willing to take a stab at it?  (We
> don't have a business case ATM, as all my TB-PubApp-users are still on
> i386, so no funding as of now.)

It is working for me with 3.5.99.7. So we already have fix.

The error message you posted is this:
traps: x2goagent [3339] general protection ip:7f02464e2e6d
sp:7ffef6c22150error:0 in libNX_X11.so.6.2[7f0246496000+123000]

So we have a problem in libNX_X11 which - in 3.5.9.77 - is on the
current xorg upstream level 1.6.5. In nx-libs 3.5.0.32 it is rather
old (about 1.3.3). I am curious if it is sufficient to ONLY copy
libNX_X11.so* from 3.5.99.7 to your crashing installation. If that
helps we could release 3.5.0.33 or 34 with that libX11 exchanged. This
should generally be bit much less risky than just marking 3.5.99 as
stable.

On the other hand: we have fixed lots of security and stability bugs
in 3.5.99.x so using those versions is generally advisable (from my
POV).

You could try to install libNX_X11-dbg and attach gdb to x2goagent
(run "gdb -p $(pidof x2goagent)") just before starting thunderbird.
When it crashes you'll get a backtrace. Using that information we can
(hopefully) see if a quick backport could help. That would be the
least invasive solution.

Comments?

Uli
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1172: Bug#1172: ThunderBird crashes in PubApp mode on amd64

2017-05-05 Thread Stefan Baur
Am 05.05.2017 um 17:33 schrieb Walid MOGHRABI:
> I would recommend disabling GLX by uncommenting this line in 
> /etc/x2go/x2goagent.options :
> 
> #X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension GLX"
> 
> GLX is unusable with the current NX-Libs (even Arctica ones) but since the 
> extension is enabled, some components still tries to use H/W acceleration for 
> some parts.
> I get far better results (especially stability wise) with this option 
> disabled.

I don't.  Changing that value doesn't help at all - attempting to start
ThunderBird in PubApp mode still crashes the entire X2Go session on amd64.

Tried restarting the service, even rebooting the server, no change.

-Stefan


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243



signature.asc
Description: OpenPGP digital signature
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1172: Bug#1172: ThunderBird crashes in PubApp mode on amd64

2017-05-05 Thread Walid MOGHRABI
I would recommend disabling GLX by uncommenting this line in 
/etc/x2go/x2goagent.options :

#X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension GLX"

GLX is unusable with the current NX-Libs (even Arctica ones) but since the 
extension is enabled, some components still tries to use H/W acceleration for 
some parts.
I get far better results (especially stability wise) with this option disabled.

I would even consider disabling it "by default" until a proper GLX support is 
added to nx-libs.


Regards,
Walid Moghrabi

TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3

- Mail original - 

De: "Stefan Baur"  
À: sub...@bugs.x2go.org 
Cc: "Mihai Moldovan" , "Mike Gabriel" 
 
Envoyé: Vendredi 5 Mai 2017 16:30:41 
Objet: [X2Go-Dev] Bug#1172: ThunderBird crashes in PubApp mode on amd64 

package: nx-libs 

Hi, 

since Debian Jessie (stable) switched from IceDove back to ThunderBird, 
TB crashes when the host is an amd64 machine and X2GoClient is running 
in PubApp mode. i386 is unaffected. 

It happens with X2GoClient on Windows as well as on Linux, so it's not a 
matter of VcXsrv being too old/broken/whatever. 

It also happens when all X2Go server components are installed from heuler. 

It does NOT happen when you build nx-libs from source using the Debian 
Experimental repository. 

So there's something in the stable nx-libs that's broken on amd64 only, 
and got fixed in the nx-libs version that is available via Debian 
Experimental. 

Core-Devs, please advise how to fix this - should we dare making a new 
nx-libs release and declare it stable, based on what is in Debian 
Experimental (arguing that everything is better than what we currently 
have)? Or should we try to hunt down the offending code part and only 
patch that? If the latter, who's willing to take a stab at it? (We 
don't have a business case ATM, as all my TB-PubApp-users are still on 
i386, so no funding as of now.) 

Kind Regards, 
Stefan Baur 

-- 
BAUR-ITCS UG (haftungsbeschränkt) 
Geschäftsführer: Stefan Baur 
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 


___ 
x2go-dev mailing list 
x2go-dev@lists.x2go.org 
http://lists.x2go.org/listinfo/x2go-dev
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary 
or legally privileged information. It is for the intended recipient only. If 
you have received this email in error, please notify the author by replying to 
it and then destroy it. If you are not the intended recipient you must not use, 
disclose, distribute, copy, print or rely on this e-mail or any attachment. 
Thank you
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-dev