[Bug 229471] x11/lightdm core dumps

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 2 08:11:23 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229471

            Bug ID: 229471
           Summary: x11/lightdm core dumps
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: woodsb02 at freebsd.org
          Reporter: freebsd at justmail.de
          Assignee: woodsb02 at freebsd.org
             Flags: maintainer-feedback?(woodsb02 at freebsd.org)

Starting x11/lightdm on a recent FreeBSD CURRENT (r335821) leads to a core dump
with signal 10. Analyzing the dump shows 
root at freebsd-t450:~ # gdb81 /usr/local/sbin/lightdm lightdm.core
GNU gdb (GDB) 8.1 [GDB v8.1 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/sbin/lightdm...(no debugging symbols
found)...done.
[New LWP 100728]
Core was generated by `lightdm'.
Program terminated with signal SIGBUS, Bus error.
#0  strncmp (
    s1=0x7a9cd970a65f427b <error: Cannot access memory at address
0x7a9cd970a65f427b>, s2=0x800721a9c "PATH", n=4) at
/usr/src/lib/libc/string/strncmp.c:47
47                      if (*s1 != *s2++)
(gdb) bt
#0  strncmp (s1=0x7a9cd970a65f427b <error: Cannot access memory at address
0x7a9cd970a65f427b>, s2=0x800721a9c "PATH", n=4) at
/usr/src/lib/libc/string/strncmp.c:47
#1  0x00000008008c794e in strncmpeq (nameValue=0x7a9cd970a65f427b <error:
Cannot access memory at address 0x7a9cd970a65f427b>, name=<optimized out>,
nameLen=<optimized out>)
    at /usr/src/lib/libc/stdlib/getenv.c:146
#2  __findenv_environ (name=<optimized out>, nameLen=<optimized out>) at
/usr/src/lib/libc/stdlib/getenv.c:197
#3  getenv (name=0x800721a9c "PATH") at /usr/src/lib/libc/stdlib/getenv.c:443
#4  0x000000080083e356 in _execvpe (name=0x80184b180 "/usr/local/bin/X",
argv=0x800d3b6a0, envp=0x7fffffffe780) at /usr/src/lib/libc/gen/exec.c:279
#5  execvp (name=0x80184b180 "/usr/local/bin/X", argv=0x800d3b6a0) at
/usr/src/lib/libc/gen/exec.c:144
#6  0x00000000002220b3 in ?? ()
#7  0x00000000002363ff in ?? ()
#8  0x0000000000225055 in ?? ()
#9  0x0000000000222d3d in ?? ()
#10 0x00000000002173e6 in ?? ()
#11 0x000000000021e9c8 in ?? ()
#12 0x0000000000216095 in ?? ()
#13 0x000000080026d000 in ?? ()
#14 0x0000000000000000 in ?? ()
(gdb) 

I installed lightdm on a machine running 11.2, this runs fine.

All software is installed from url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest".

Please let me know, if further information is needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list