[Bug 82833] New: SegFault when running startx

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 19 19:35:02 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82833

          Priority: medium
            Bug ID: 82833
          Assignee: chris at chris-wilson.co.uk
           Summary: SegFault when running startx
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: nebupookins at gmail.com
          Hardware: x86 (IA32)
            Status: NEW
           Version: unspecified
         Component: Driver/intel
           Product: xorg

I'm not sure I've selected the right product, as the version numbers are not
what I expect. I'm runnong X.Org X Server 1.16.0

I originally filed this issue on the ArchLinux forums but had no luck there:
https://bbs.archlinux.org/viewtopic.php?id=185800

I get a segfault whenever I run the command "startx". Here's what I believe to
be the relevant lines from logs:

(EE) intel(0): Failed to set backlight acpi_video0 for output LVDS1 to
brightness level 0, disabling
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x52) [0x81de282]
(EE) 1: /usr/bin/Xorg.bin (0x8048000+0x19a502) [0x81e2502]
(EE) 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb7792d34]
...

(Sorry if there are typos in the above, I had to retype them as I write this
post here on my desktop, since I'm not sure how to do much with my laptop
without X running).

I was trying to adjust my laptop brightness, and after running some commands in
the terminal, the brightness ended up too high for me to see anything, so I
rebooted the laptop.

If it helps any, here's the bash_history I have which records what commands I
was running while trying to adjust my brightness settings:

cd /sys/class/backlight/
ls
cd acpi_video0
ls
less max_brightness
tee brightness <<< 5
sudo tee brightness <<< 5
sudo tee brightness <<< 1
sudo tee brightness <<< 0
sudo tee brightness <<< 10
sudo tee brightness <<< 1
yaourt calise
yaourt redshift
redshift
yaourt xcalib
man xcalib
xcalib --help
xcalib
xcalib -co 40 -a
xcalib -co 100 -a
xcalib -co 250 -a
xcalib -co 100 -a
xcalib -b 100 -a
xcalib -b 99 -a
xcalib -b 995

In my /sys/class/backlight directory, I have acpi_video0, acpi_video1,
intel_backlight and radeon_bl1. Right now, the brightness file in each has the
following content (as determined by, e.g., cat
/sys/class/backlight/acpi_video0/brightness):

acpi_video0: 10
acpi_video1: 1
intel_backlight: 4422465
radeon_bl1: 255

I noticed that if I run startx as another user (e.g. root), X will start just
fine.

So then I tried renaming my .xinitrc file to .xinitrc.bak, and again X started
fine.

Then I tried having a completely empty .xinitrc file (by running `touch
.xinitrc`). This time X will segfault with the above error again.

Then I tried copying the .xinitrc file from /etc/skel/.xinitrc to my home
directory. Again, X segfaults with the above error.

So it seems like if I don't have an .xinitrc file, X can start up. But if I
have an .xinitrc file, including an empty one or a "default" one, X will
segfault.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140820/f346205d/attachment.html>


More information about the intel-gfx-bugs mailing list