Your message dated Sun, 19 Oct 2014 07:35:46 +0000
with message-id <[email protected]>
and subject line Bug#765070: fixed in openrc 0.13.1-2
has caused the Debian Bug report #765070,
regarding openrc: [kfreebsd] segfault in loopsolver
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
765070: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765070
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openrc
Version: 0.12.4+20131230-9
Severity: grave

Hi,

Installing openrc segfaults in postinst and subsequently at boot.
(Though it gave me a login shell, so I was at least able to bring
up the system manually and recover it).

I rebuilt without optimisations to get the attached backtrace.

This was in a fresh kfreebsd-amd64 sid/jessie test-install.

Thanks.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
# gdb openrc/sbin/openrc
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 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-kfreebsd-gnu".
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 openrc/sbin/openrc...done.
(gdb) run
Starting program: /root/openrc-0.12.4+20131230/debian/openrc/sbin/openrc 
 * Caching service dependencies ...
 * Found a solvable dependency loop: checkfs.sh p> checkfs n> mountall.sh p> 
mountall u> hwclock.sh a> checkroot n> checkfs.sh.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffffffdccd in ?? ()
(gdb) bt full
#0  0x00007fffffffdccd in ?? ()
No symbol table info available.
#1  0x0000000800a503ee in rc_deptree_solve_loop (unap_matrix=0x7fffffffde70, 
    service_id=4, svc_id2depinfo_bt=0x6384f0, end_dep_num=26, 
    flags=(RCDTFLAGS_LOOPSOLVER | RCDTFLAGS_LOOPSOLVER_WARNINGS))
    at librc-depend.c:1270
        btree = 0x637290
        idid_to_break = 0x65b7e0
        idid_count = 1
        idid_to_break_count = 8
        chain_strs = 0x65b8d0
        chains = 0x65b270
        deptypes = 0x65b880
        minimal_cost = UNAPM_USE
        chains_size = 66
        chain_count = 1
        printerr = 1 '\001'
        printwarn = 1 '\001'
        idid_counters = 0x6372c0
        idid_count2 = 0
        depinfo_from = 0x80064a358
        depinfo_to = 0x0
#2  0x0000000800a51fd6 in __RC_rc_deptree_update (
    flags=(RCDTFLAGS_LOOPSOLVER | RCDTFLAGS_LOOPSOLVER_WARNINGS))
    at librc-depend.c:1806
        dep_num = 26
        dep_count = 26
        unapm_type = UNAPM_MAX
        loopsolver_counter = 0
        loopfound = 0
        unap_matrix = {0x637440, 0x637660, 0x637880, 0x637aa0, 0x637cc0, 
          0x637ee0}
        service_id = 4
        svc_id2depinfo_bt = 0x6384f0
        fp = 0x6246d0
        deptree = 0x6247e0
        providers = 0x6246d0
        depinfo = 0x0
        depinfo_np = 0x7fffffffe150
        di = 0x630be0
        deptype = 0x0
        dt_np = 0x0
        dt = 0x630c30
        provide = 0x0
        config = 0x624800
        types = 0x6367d0
        sorted = 0x6368b0
        visited = 0x6374d0
        s = 0x0
        s2 = 0x0
        s2_np = 0x0
        s3 = 0x0
        s4 = 0x0
        line = 0x625f00 "0_b"
        len = 8192
        depend = 0x0
        depends = 0x0
        service = 0x625f00 "0_b"
        type = 0x625f08 "`rb"
        nosys = 0x1 <error: Cannot access memory at address 0x1>
        onosys = 0x80062f467 <_dl_fixup+247> "H\211\305d\213\004%\030"
        i = 5
        k = 1
        retval = true
        sys = 0x0
        uts = {
          sysname = 
"GNU/kFreeBSD\000\000\000\000`\335&\001\b\000\000\000\304-\023\034\000\000\000",
 
          nodename = 
"\000\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000\300\304d\000\b\000\000\000\276\255b\000\b\000\000",
 
          release = 
"10.1-0-amd64\000\000\000\000\320s\244\000\b\000\000\000\350\177\244\000\b\000\000",
 
          version = "#0 Sat, 20 Sep 2014 22:02:28 
+0100\000\000\000\000\000\000X\305d\000\b\000\000\000\000\240d\000\b\000\000\000\f\034@\000\000\000\000\000\250\200\244\000\b\000\000\000\310\005@\000\000\000\000\000\000\000\000\000\001\000\000\000\201\000\000\000\001",
 '\000' <repeats 11 times>, 
"X\305d\000\b\000\000\000\340\340\377\377\377\177\000\000\340\064\204\000\b\000\000\000\b\341\377\377\377\177\000\000\210\061\204\000\b\000\000\000\001\000\000\000\000\000\000\000m\257b\000\b",
 '\000' <repeats 11 times>, "X\305d\000\b\000\000\000\001", '\000' <repeats 15 
times>, "\001\000\000\000\377\177\000\000"..., 
          machine = 
"x86_64\000\000@\340\377\377\377\177\000\000\304-\023\034\000\000\000\000\f\034@\000\000\000\000"}
        useneedafter_count = 65
#3  0x000000000040bc9f in _rc_deptree_load (force=0, regen=0x7fffffffe67c)
    at rc-depend.c:80
        fd = -1
        retval = 4283343
        serrno = 2
        merrno = 2
        t = 0
        file = 
"\300\304d\000\b\000\000\000\276\255b\000\b\000\000\000\006\000\000\000\000\000\000\000L\244b\000\b\000\000\000`\335&\001\b\000\000\000\207\360\226|\000\000\000\000\006\000\000\000\000\000\000\000L\244b\000\b\000\000\000\300\304d\000\b\000\000\000\207\360\226|\000\000\000\000\006\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000\300\304d\000\b\000\000\000L\244b\000\b\000\000\000\300\343\377\377\377\177\000\000\067\303\362z\000\000\000\000\006\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000\300\304d\000\b\000\000\000\276\255b\000\b\000\000\000\006\000\000\000\000\000\000\000L\244b\000\b\000\000\000`\335&\001\b\000\000\000\373uu\204\000\000\000\000\006\000\000\000\000\000\000\000"...
        st = {st_dev = 0, st_ino = 0, st_mode = 21760, __pad_mode = 295, 
          st_nlink = 8, __pad_nlink = 0, st_uid = 0, st_gid = 0, 
          st_rdev = 4294960720, st_atim = {tv_sec = 4212064, 
            tv_nsec = 34366249669}, st_mtim = {tv_sec = 0, 
            tv_nsec = 34379943239}, st_ctim = {tv_sec = 0, 
            tv_nsec = 140737488348720}, st_size = 4309956, st_blocks = 0, 
          st_blksize = 4294960720, st_flags = 32767, st_gen = 4212064, 
          __unused1 = {140737488350152, 4252419}}
        ut = {actime = 140733193388033, modtime = 0}
        fp = 0x415a00 <get_krunlevel+33>
#4  0x0000000000416fa8 in main (argc=1, argv=0x7fffffffebd0) at rc.c:966
        bootlevel = 0x6243dd "boot"
        newlevel = 0x0
        hotplugged_services = 0x0
        stop_services = 0x0
        start_services = 0x0
        types_n = 0x0
        types_nua = 0x0
        deptree = 0x0
        deporder = 0x0
        tmplist = 0x1
        service = 0x7fffffffebc8
        going_down = false
        depoptions = 3
        krunlevel = "\350\271d\000\b\000\000\000(\264d\000\b", '\000' <repeats 
19 times>, 
"\t\320\bQ\212@\025\000L\244b\000\b\000\000\000\024\064\317V\351q\332\063\207\360\226|\000\000\000\000\006\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000\300\304d\000\b\000\000\000\276\255b\000\b\000\000\000\206\035@\000\000\000\000\000\060\347\377\377\377\177\000\000`\335&\001\b\000\000\000ȭ'\001\b\000\000\000@\350\377\377\377\177\000\000\302[\362\001\000\000\000\000\060\350\377\377\377\177\000\000\260\351\377\377\377\177\000\000\000\000\000\000\000\000\000\000\210\313d\000\b\000\000\000(\264d\000\b\000\000\000T'b\000\b\000\000\000\000\257'\001\b\000\000\000\020"...
        pidstr = "1680\000\000\000\000", <incomplete sequence \336>
        opt = -1
        parallel = false
        regen = 1
        nostop = false
(gdb) quit
A debugging session is active.

    Inferior 1 [process 1680] will be killed.

Quit anyway? (y or n) y

--- End Message ---
--- Begin Message ---
Source: openrc
Source-Version: 0.13.1-2

We believe that the bug you reported is fixed in the latest version of
openrc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <[email protected]> (supplier of updated openrc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 18 Oct 2014 17:28:16 +0100
Source: openrc
Binary: openrc openrc-dbg librc1 librc1-dbg librc-dev libeinfo1 libeinfo1-dbg 
libeinfo-dev
Architecture: source amd64
Version: 0.13.1-2
Distribution: unstable
Urgency: medium
Maintainer: OpenRC Debian Maintainers <[email protected]>
Changed-By: Ritesh Raj Sarraf <[email protected]>
Description:
 libeinfo-dev - dependency based init system (pretty control display 
development)
 libeinfo1  - dependency based init system (pretty console display library)
 libeinfo1-dbg - dependency based init system (pretty console display library) 
- d
 librc-dev  - dependency based init system (runtime development)
 librc1     - dependency based init system (runtime library)
 librc1-dbg - dependency based init system (runtime library) - debug
 openrc     - dependency based init system (runlevel change mechanism)
 openrc-dbg - dependency based init system (runlevel change mechanism) - debug
Closes: 765070
Changes:
 openrc (0.13.1-2) unstable; urgency=medium
 .
   [ Steven Chamberlain ]
   * Add 0210-GNU-kFreeBSD_workaround-nxstack.patch:
     - loopsolver: don't use executable stacks
     - fixes a crash on newer versions of kfreebsd that enforce
       non-executable stacks (Closes: #765070)
   * Drop unnecessary dependency on libkvm-dev [kfreebsd-any]
Checksums-Sha1:
 34e5b5ba8314ffc84d93c04e24b97c2f0256d56c 2339 openrc_0.13.1-2.dsc
 050c01ca3d1fa6d9214c5246dd381dcef7b43f61 31272 openrc_0.13.1-2.debian.tar.xz
 16c4f354aa596b00f36a01ab11e7274998fbefe0 89072 openrc_0.13.1-2_amd64.deb
 a3a62fbb0c59f8256654419019b5ac64ef505be9 118450 openrc-dbg_0.13.1-2_amd64.deb
 feedc8ac07c292ebee492827aef49af17a7eaca8 28680 librc1_0.13.1-2_amd64.deb
 011671664db02d169e3b201688808ec96df4b3c2 57340 librc1-dbg_0.13.1-2_amd64.deb
 03f624d1c37ce863df984566dcdae4c5dbae1f05 21452 librc-dev_0.13.1-2_amd64.deb
 16cfcbeae1122de3086ca97de7af4499321fda4f 12416 libeinfo1_0.13.1-2_amd64.deb
 fc679c1b360671704b9014af98c72cc1a7de26a9 19868 libeinfo1-dbg_0.13.1-2_amd64.deb
 a2aa763da83e377dedd0fb3eb84ed13d446772e7 9334 libeinfo-dev_0.13.1-2_amd64.deb
Checksums-Sha256:
 1f80d99bf6b1b25f7998e3818d25b42e0594bf638d95654b99bf43f38b880d18 2339 
openrc_0.13.1-2.dsc
 3b73d7b01d76232c70c8189030bf731a094b50a8fbf774918be2ebd92fe80dee 31272 
openrc_0.13.1-2.debian.tar.xz
 925c2a746a2e2eb7be9c6b27dc0ab99b3f122c695136d5b539a85561bef460ab 89072 
openrc_0.13.1-2_amd64.deb
 f33af7089a8ef8e6c7737c7271a823e738adc9bb0099908dc74c95a08467666d 118450 
openrc-dbg_0.13.1-2_amd64.deb
 fafabf0e2e718ee13b7ec1bba76106fc83b9d8751843d2aead371c7652943044 28680 
librc1_0.13.1-2_amd64.deb
 c37d15a1b732bf770b41a80380aecd56d02d9dc5013578add6366ee494c602d0 57340 
librc1-dbg_0.13.1-2_amd64.deb
 31a2299abf52590b08e02b5293f0ba8e3dcb5a37cbad380d310d5b6bb8b115d0 21452 
librc-dev_0.13.1-2_amd64.deb
 a4f39394fe55133cb6a20d38e6aa215f3e298d9bcc238bc60087abcf0167f105 12416 
libeinfo1_0.13.1-2_amd64.deb
 6abc589d35483b02623065668685a1aadb56255103583d4b43c746a20dc2f365 19868 
libeinfo1-dbg_0.13.1-2_amd64.deb
 8dd05be4df2253ddc43006386bb2706edda72d4acaa2b521aabecec567cf06b4 9334 
libeinfo-dev_0.13.1-2_amd64.deb
Files:
 9fbc67f548086b154274dd13834271ae 2339 admin extra openrc_0.13.1-2.dsc
 b64d5c32e0959842e8f1a16b27048601 31272 admin extra 
openrc_0.13.1-2.debian.tar.xz
 e9ebad9aefb31fb34eccc32fc31675fa 89072 admin extra openrc_0.13.1-2_amd64.deb
 754894fbc3741cbc3940eab73a2599d1 118450 debug extra 
openrc-dbg_0.13.1-2_amd64.deb
 21dbee68fa71964b21f4c16bf53d5b8e 28680 admin extra librc1_0.13.1-2_amd64.deb
 867045e8bb5a6df639d7a22f9b448ea8 57340 debug extra 
librc1-dbg_0.13.1-2_amd64.deb
 fff7337235c6d6efc81f2f28daefb5ef 21452 libdevel extra 
librc-dev_0.13.1-2_amd64.deb
 5fdd6943a423066df717142e50d90e53 12416 admin extra libeinfo1_0.13.1-2_amd64.deb
 7cf6d528121cc467c9c39e759a144290 19868 debug extra 
libeinfo1-dbg_0.13.1-2_amd64.deb
 8f2f10b54c7908f160c77dcfa3594c28 9334 libdevel extra 
libeinfo-dev_0.13.1-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUQ2gxAAoJEKY6WKPy4XVpeM8QAKE29posv/CMInrqTvRSXI6G
UJov2YePsCKO3pyCF3MTy1PbXywc4ILsZRkwlGKaE+zOEI+kysGORxsw/ACTseXV
R1N8z5I3a5xaszzmMrz74a45QKge66I/ePUJeUYQ87l+amBDQ3ivxBAiHfgWBENf
HRjtZ3l6YnWR1CrCIvSQJuG89m0Qfs7OMrbZN5NU0eHl0ugU8cV4kZ1NaX8B4WSW
gsuHyTKXSbstGFNCHKc2eb0RjVB2bYcKRW8A/jScDzMwHDTAN5dvgdmK0Euy3xM1
aQPqDGrvTes3t3wMIFjRQ4QgZEpx1YYFPJarRwAoI8vprw2h5FBZtTbWPx0r8Ha/
rWc4Und6y676g9MFFnuVtIywr8MEwqj6MxHjUsmXPcMdtSQBz/CvuTtU+3TT1HUZ
eQmzZ/45GzfdzG+njOOzg/T/jAM/8iFajbYjfvcnGhvJ0wqHnAMA16oMcAibhhpo
2KLp8izjRJ6LsEPnGJNoMz3mj2/2YMMR/36wxhyiz9h+TeJpWinDOJgR9x0HMQGa
XJndrO19czpdt8Lotd/kDSpAmJGBhz+3kq+vQX7TcQCwXz5RtDZ8jyN4jlZabH+B
KomAWP0aRk6fVcS97hAdOyQACk5ZJVq+9kIX2cFUcoIQaPdFYRmW7i9c2fVf2IiS
WnyUEvO6v5N5/3nS2m9Y
=45qi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to