Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2018 08:11:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229471] x11/lightdm core dumps
Message-ID:  <bug-229471-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229471

            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@freebsd.org
          Reporter: freebsd@justmail.de
          Assignee: woodsb02@freebsd.org
             Flags: maintainer-feedback?(woodsb02@freebsd.org)

Starting x11/lightdm on a recent FreeBSD CURRENT (r335821) leads to a core =
dump
with signal 10. Analyzing the dump shows=20
root@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.htm=
l>
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=3D0x7a9cd970a65f427b <error: Cannot access memory at address
0x7a9cd970a65f427b>, s2=3D0x800721a9c "PATH", n=3D4) at
/usr/src/lib/libc/string/strncmp.c:47
47                      if (*s1 !=3D *s2++)
(gdb) bt
#0  strncmp (s1=3D0x7a9cd970a65f427b <error: Cannot access memory at address
0x7a9cd970a65f427b>, s2=3D0x800721a9c "PATH", n=3D4) at
/usr/src/lib/libc/string/strncmp.c:47
#1  0x00000008008c794e in strncmpeq (nameValue=3D0x7a9cd970a65f427b <error:
Cannot access memory at address 0x7a9cd970a65f427b>, name=3D<optimized out>,
nameLen=3D<optimized out>)
    at /usr/src/lib/libc/stdlib/getenv.c:146
#2  __findenv_environ (name=3D<optimized out>, nameLen=3D<optimized out>) at
/usr/src/lib/libc/stdlib/getenv.c:197
#3  getenv (name=3D0x800721a9c "PATH") at /usr/src/lib/libc/stdlib/getenv.c=
:443
#4  0x000000080083e356 in _execvpe (name=3D0x80184b180 "/usr/local/bin/X",
argv=3D0x800d3b6a0, envp=3D0x7fffffffe780) at /usr/src/lib/libc/gen/exec.c:=
279
#5  execvp (name=3D0x80184b180 "/usr/local/bin/X", argv=3D0x800d3b6a0) 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)=20

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

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

Please let me know, if further information is needed.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229471-7788>