Re: known way to reproduce an X.org segmentation fault

2019-03-01 Thread Stuart Henderson
On 2019-03-01, Mihai Popescu  wrote:
>> If you have a checkout of /usr/xenocara ...
>
> I have the cvsweb. I got the .core file with those instructions, run
> gdb with my current X. I am not sure if snapshots X is compiled with
> or without debug symbols.
> Looking at some functions headers, I think I should mention that in
> firefox the web page is loading a magnifier picture as a cursor as
> soon as you hover on that image.
> As for Xenocara recompile with debug symbols, is it hard to do it for
> a novice like me?

I don't know the xenocara scaffolding particularly well but generally
building with "DEBUG=-g" is enough (if you have a previous build then
blow away the old obj directory and 'make obj' to recreate it).

But you've already got some useful information here, I'd write a mail
to bugs@ with as much information as you have and see if that's enough to
be useful. It's much more likely to be seen by people who might have an
idea what's wrong on bugs@ than if it's here on misc.



Re: known way to reproduce an X.org segmentation fault

2019-02-28 Thread Mihai Popescu
> If you have a checkout of /usr/xenocara ...

I have the cvsweb. I got the .core file with those instructions, run
gdb with my current X. I am not sure if snapshots X is compiled with
or without debug symbols.
Looking at some functions headers, I think I should mention that in
firefox the web page is loading a magnifier picture as a cursor as
soon as you hover on that image.
As for Xenocara recompile with debug symbols, is it hard to do it for
a novice like me?

$ gdb
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.4".
(gdb) file X
Reading symbols from /usr/X11R6/bin/X...done.
(gdb) core-file Xorg.core
Core was generated by `Xorg'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.26.1...done.
Loaded symbols for /usr/lib/libpthread.so.26.1
Loaded symbols for /usr/X11R6/bin/X
Symbols already loaded for /usr/lib/libpthread.so.26.1
Reading symbols from /usr/X11R6/lib/libpciaccess.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpciaccess.so.2.0
Reading symbols from /usr/X11R6/lib/libdrm.so.7.6...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.7.6
Reading symbols from /usr/X11R6/lib/libpixman-1.so.36.0...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.36.0
Reading symbols from /usr/X11R6/lib/libXfont2.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libXfont2.so.1.0
Reading symbols from /usr/X11R6/lib/libfontenc.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libfontenc.so.4.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.29.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.29.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libxshmfence.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libxshmfence.so.0.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/lib/libkvm.so.17.0...done.
Loaded symbols for /usr/lib/libkvm.so.17.0
Reading symbols from /usr/lib/libm.so.10.1...done.
Loaded symbols for /usr/lib/libm.so.10.1
Reading symbols from /usr/lib/libc.so.95.0...done.
Loaded symbols for /usr/lib/libc.so.95.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libglx.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libglx.so
Reading symbols from /usr/X11R6/lib/libGL.so.17.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.17.1
Reading symbols from /usr/lib/libexpat.so.12.0...done.
Loaded symbols for /usr/lib/libexpat.so.12.0
Reading symbols from /usr/X11R6/lib/libxcb-dri3.so.0.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri3.so.0.1
Reading symbols from /usr/X11R6/lib/libxcb-xfixes.so.1.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb-xfixes.so.1.2
Reading symbols from /usr/X11R6/lib/libxcb-present.so.0.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-present.so.0.1
Reading symbols from /usr/X11R6/lib/libxcb-sync.so.1.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb-sync.so.1.2
Reading symbols from /usr/X11R6/lib/libglapi.so.0.2...done.
Loaded symbols for /usr/X11R6/lib/libglapi.so.0.2
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb-glx.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-glx.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb-dri2.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri2.so.1.1
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.6.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libxcb.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.4.0
Reading symbols from /usr/X11R6/lib/modules/drivers/ati_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/drivers/ati_drv.so
Reading symbols from /usr/X11R6/lib/modules/drivers/radeon_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/drivers/radeon_drv.so
Reading symbols from /usr/X11R6/lib/libdrm_radeon.so.4.0...done.
Loaded symbols for 

Re: known way to reproduce an X.org segmentation fault

2019-02-28 Thread Stuart Henderson
On 2019-02-28, dmitry.sensei  wrote:
> The community for some reason does not like problems with X and DRM :)
>
> ср, 27 февр. 2019 г. в 20:06, Mihai Popescu :
>
>> I tried again this link with a recent snapshot and the result is the
>> same, X got a segfault.
>>
>> Is there a special debug run for X to be able to get some detailed
>> information, please?
>> Does it worth to pursue this debug?
>>
>> Thanks.
>>
>>

If you have a checkout of /usr/xenocara (which you will probably need to
get anything useful from a backtracce anyway), you can find some information
in /usr/xenocara/README.




Re: known way to reproduce an X.org segmentation fault

2019-02-27 Thread dmitry.sensei
The community for some reason does not like problems with X and DRM :)

ср, 27 февр. 2019 г. в 20:06, Mihai Popescu :

> I tried again this link with a recent snapshot and the result is the
> same, X got a segfault.
>
> Is there a special debug run for X to be able to get some detailed
> information, please?
> Does it worth to pursue this debug?
>
> Thanks.
>
>

-- 
Dmitry Orlov


Re: known way to reproduce an X.org segmentation fault

2019-02-27 Thread Mihai Popescu
I tried again this link with a recent snapshot and the result is the
same, X got a segfault.

Is there a special debug run for X to be able to get some detailed
information, please?
Does it worth to pursue this debug?

Thanks.



Re: known way to reproduce an X.org segmentation fault

2019-02-15 Thread dmitry.sensei
Check your /etc/hosts


пт, 15 февр. 2019 г., 14:54 Mihai Popescu mih...@gmail.com:

> I installed firefox too, there is no problem with that page, I mean
> X.org is not doing segmentation fault. It looks like chromium is
> trying to do something nasty against X.org's stuff.
>
>


Re: known way to reproduce an X.org segmentation fault

2019-02-15 Thread Mihai Popescu
I installed firefox too, there is no problem with that page, I mean
X.org is not doing segmentation fault. It looks like chromium is
trying to do something nasty against X.org's stuff.



Re: known way to reproduce an X.org segmentation fault

2019-02-15 Thread Mihai Popescu
Got some details about this: X.org crashes only when I move the mouse
pointer inside the big picture presented on the web page, the product
itself. I captured the chomium output too:

[49853:80110072:0215/111903.592670:ERROR:process_metrics_openbsd.cc(126)]
Not implemented reached in bool
base::GetSystemMemoryInfo(base::SystemMemoryInfoKB *)
[49853:80110072:0215/111903.595553:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:-1751392192:0215/111904.128494:ERROR:bus.cc(396)] Failed to
connect to the bus: Could not parse server address: Unknown address
type (examples of valid types are "tcp" and on UNIX "unix")
[49853:80110072:0215/111904.442456:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111904.454201:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111904.887485:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111904.918510:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111904.984858:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111905.281378:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111905.816493:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111910.047004:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111917.956390:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111928.132904:ERROR:chrome_browser_main_extra_parts_x11.cc(62)]
X IO error received (X server probably went away)
[24230:-136773128:0215/111928.149941:ERROR:x11_util.cc(110)] X IO
error received (X server probably went away)