pkg-config --path pkgconf segfaults #158

Closed
opened 2017-12-01 23:32:02 +00:00 by ignatenkobrain · 0 comments
ignatenkobrain commented 2017-12-01 23:32:02 +00:00 (Migrated from github.com)
Thread 1 (LWP 8387):
#0  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:62
No locals.
#1  0x00007f1319ed6be2 in _IO_puts (str=0x0) at ioputs.c:35
        result = -1
        len = <optimized out>
#2  0x0000559f9c8925ca in printf (__fmt=<synthetic pointer>) at /usr/include/bits/stdio2.h:104
No locals.
#3  apply_path (client=client@entry=0x559f9ca97720 <pkg_client>, world=world@entry=0x7ffd62d1da90, unused=unused@entry=0x0, maxdepth=maxdepth@entry=2000) at main.c:325
        pkg = 0x7f131a42d000 <pkgconf_virtual>
        dep = <optimized out>
        iter = 0x559f9d845820
#4  0x00007f131a2288b9 in pkgconf_queue_apply (client=0x559f9ca97720 <pkg_client>, list=<optimized out>, func=0x559f9c892590 <apply_path>, maxdepth=2000, data=0x0) at libpkgconf/queue.c:150
        world = {cache_iter = {prev = 0x0, next = 0x0, data = 0x0}, refcount = 0, id = 0x7f131a229c8a "virtual:world", filename = 0x0, realname = 0x7f131a229c98 "virtual world package", version = 0x0, description = 0x0, url = 0x0, pc_filedir = 0x0, libs = {head = 0x0, tail = 0x0, length = 0}, libs_private = {head = 0x0, tail = 0x0, length = 0}, cflags = {head = 0x0, tail = 0x0, length = 0}, cflags_private = {head = 0x0, tail = 0x0, length = 0}, requires = {head = 0x559f9d845820, tail = 0x559f9d845820, length = 1}, requires_private = {head = 0x0, tail = 0x0, length = 0}, conflicts = {head = 0x0, tail = 0x0, length = 0}, provides = {head = 0x0, tail = 0x0, length = 0}, vars = {head = 0x0, tail = 0x0, length = 0}, flags = 17}
#5  0x0000559f9c89204f in main (argc=<optimized out>, argv=0x7ffd62d2e418) at main.c:1128
        ret = 0
        pkgq = {head = 0x559f9d845750, tail = 0x559f9d845750, length = 1}
        builddir = <optimized out>
        sysroot_dir = <optimized out>
        env_traverse_depth = <optimized out>
        required_pkgconfig_version = <optimized out>
        required_exact_module_version = 0x0
        required_max_module_version = 0x0
        required_module_version = <optimized out>
        logfile_arg = <optimized out>
        want_client_flags = 0
        options = {{name = 0x559f9c8950e9 "version", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67141632}, {name = 0x559f9c8950c1 "about", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67174400}, {name = 0x559f9c8950c7 "atleast-version", has_arg = 1, flag = 0x0, val = 2}, {name = 0x559f9c8950d7 "atleast-pkgconfig-version", has_arg = 1, flag = 0x0, val = 3}, {name = 0x559f9c895202 "libs", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67109088}, {name = 0x559f9c8951ef "cflags", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108876}, {name = 0x559f9c8950f1 "modversion", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67109120}, {name = 0x559f9c89520e "variable", has_arg = 1, flag = 0x0, val = 7}, {name = 0x559f9c8950fc "exists", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 1099511627776}, {name = 0x559f9c895103 "print-errors", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108864}, {name = 0x559f9c895110 "short-errors", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 549755813888}, {name = 0x559f9c89511d "maximum-traverse-depth", has_arg = 1, flag = 0x0, val = 11}, {name = 0x559f9c895134 "static", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 2097152}, {name = 0x559f9c89513b "pure", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 8589934592}, {name = 0x559f9c895140 "print-requires", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 512}, {name = 0x559f9c89514f "print-variables", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67110912}, {name = 0x559f9c89515f "digraph", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 4096}, {name = 0x559f9c895167 "help", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 33554432}, {name = 0x559f9c89516c "env-only", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 131072}, {name = 0x559f9c895175 "print-requires-private", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 1024}, {name = 0x559f9c89518c "cflags-only-I", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108868}, {name = 0x559f9c89519a "cflags-only-other", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108872}, {name = 0x559f9c8951ac "libs-only-L", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108896}, {name = 0x559f9c8951b8 "libs-only-l", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108928}, {name = 0x559f9c8951c4 "libs-only-other", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108992}, {name = 0x559f9c8951d7 "uninstalled", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 8388608}, {name = 0x559f9c8951d4 "no-uninstalled", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 4194304}, {name = 0x559f9c8951e3 "keep-system-cflags", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 8192}, {name = 0x559f9c8951f6 "keep-system-libs", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 16384}, {name = 0x559f9c895207 "define-variable", has_arg = 1, flag = 0x0, val = 27}, {name = 0x559f9c895217 "exact-version", has_arg = 1, flag = 0x0, val = 28}, {name = 0x559f9c895225 "max-version", has_arg = 1, flag = 0x0, val = 29}, {name = 0x559f9c895231 "ignore-conflicts", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 1048576}, {name = 0x559f9c895242 "errors-to-stdout", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 262144}, {name = 0x559f9c895253 "silence-errors", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 524288}, {name = 0x559f9c895262 "list-all", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 83886080}, {name = 0x559f9c89526b "list-package-names", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 2214592512}, {name = 0x559f9c89527e "simulate", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 134217728}, {name = 0x559f9c895287 "no-cache", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 268435456}, {name = 0x559f9c895290 "print-provides", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 536870912}, {name = 0x559f9c89529f "no-provides", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 4294967296}, {name = 0x559f9c8952ab "debug", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 274945015808}, {name = 0x559f9c8952b1 "validate", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 1141112832}, {name = 0x559f9c8952ba "log-file", has_arg = 1, flag = 0x0, val = 40}, {name = 0x559f9c8952c8 "path", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 17179869184}, {name = 0x559f9c8952c3 "with-path", has_arg = 1, flag = 0x0, val = 42}, {name = 0x559f9c8952cd "prefix-variable", has_arg = 1, flag = 0x0, val = 43}, {name = 0x559f9c8952eb "define-prefix", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 34359738368}, {name = 0x559f9c8952dd "relocate", has_arg = 1, flag = 0x0, val = 45}, {name = 0x559f9c8952e6 "dont-define-prefix", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 68719476736}, {name = 0x559f9c8952f9 "dont-relocate-paths", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 137438953472}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}

https://bugzilla.redhat.com/show_bug.cgi?id=1519994

```c Thread 1 (LWP 8387): #0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:62 No locals. #1 0x00007f1319ed6be2 in _IO_puts (str=0x0) at ioputs.c:35 result = -1 len = <optimized out> #2 0x0000559f9c8925ca in printf (__fmt=<synthetic pointer>) at /usr/include/bits/stdio2.h:104 No locals. #3 apply_path (client=client@entry=0x559f9ca97720 <pkg_client>, world=world@entry=0x7ffd62d1da90, unused=unused@entry=0x0, maxdepth=maxdepth@entry=2000) at main.c:325 pkg = 0x7f131a42d000 <pkgconf_virtual> dep = <optimized out> iter = 0x559f9d845820 #4 0x00007f131a2288b9 in pkgconf_queue_apply (client=0x559f9ca97720 <pkg_client>, list=<optimized out>, func=0x559f9c892590 <apply_path>, maxdepth=2000, data=0x0) at libpkgconf/queue.c:150 world = {cache_iter = {prev = 0x0, next = 0x0, data = 0x0}, refcount = 0, id = 0x7f131a229c8a "virtual:world", filename = 0x0, realname = 0x7f131a229c98 "virtual world package", version = 0x0, description = 0x0, url = 0x0, pc_filedir = 0x0, libs = {head = 0x0, tail = 0x0, length = 0}, libs_private = {head = 0x0, tail = 0x0, length = 0}, cflags = {head = 0x0, tail = 0x0, length = 0}, cflags_private = {head = 0x0, tail = 0x0, length = 0}, requires = {head = 0x559f9d845820, tail = 0x559f9d845820, length = 1}, requires_private = {head = 0x0, tail = 0x0, length = 0}, conflicts = {head = 0x0, tail = 0x0, length = 0}, provides = {head = 0x0, tail = 0x0, length = 0}, vars = {head = 0x0, tail = 0x0, length = 0}, flags = 17} #5 0x0000559f9c89204f in main (argc=<optimized out>, argv=0x7ffd62d2e418) at main.c:1128 ret = 0 pkgq = {head = 0x559f9d845750, tail = 0x559f9d845750, length = 1} builddir = <optimized out> sysroot_dir = <optimized out> env_traverse_depth = <optimized out> required_pkgconfig_version = <optimized out> required_exact_module_version = 0x0 required_max_module_version = 0x0 required_module_version = <optimized out> logfile_arg = <optimized out> want_client_flags = 0 options = {{name = 0x559f9c8950e9 "version", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67141632}, {name = 0x559f9c8950c1 "about", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67174400}, {name = 0x559f9c8950c7 "atleast-version", has_arg = 1, flag = 0x0, val = 2}, {name = 0x559f9c8950d7 "atleast-pkgconfig-version", has_arg = 1, flag = 0x0, val = 3}, {name = 0x559f9c895202 "libs", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67109088}, {name = 0x559f9c8951ef "cflags", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108876}, {name = 0x559f9c8950f1 "modversion", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67109120}, {name = 0x559f9c89520e "variable", has_arg = 1, flag = 0x0, val = 7}, {name = 0x559f9c8950fc "exists", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 1099511627776}, {name = 0x559f9c895103 "print-errors", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108864}, {name = 0x559f9c895110 "short-errors", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 549755813888}, {name = 0x559f9c89511d "maximum-traverse-depth", has_arg = 1, flag = 0x0, val = 11}, {name = 0x559f9c895134 "static", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 2097152}, {name = 0x559f9c89513b "pure", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 8589934592}, {name = 0x559f9c895140 "print-requires", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 512}, {name = 0x559f9c89514f "print-variables", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67110912}, {name = 0x559f9c89515f "digraph", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 4096}, {name = 0x559f9c895167 "help", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 33554432}, {name = 0x559f9c89516c "env-only", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 131072}, {name = 0x559f9c895175 "print-requires-private", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 1024}, {name = 0x559f9c89518c "cflags-only-I", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108868}, {name = 0x559f9c89519a "cflags-only-other", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108872}, {name = 0x559f9c8951ac "libs-only-L", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108896}, {name = 0x559f9c8951b8 "libs-only-l", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108928}, {name = 0x559f9c8951c4 "libs-only-other", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 67108992}, {name = 0x559f9c8951d7 "uninstalled", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 8388608}, {name = 0x559f9c8951d4 "no-uninstalled", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 4194304}, {name = 0x559f9c8951e3 "keep-system-cflags", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 8192}, {name = 0x559f9c8951f6 "keep-system-libs", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 16384}, {name = 0x559f9c895207 "define-variable", has_arg = 1, flag = 0x0, val = 27}, {name = 0x559f9c895217 "exact-version", has_arg = 1, flag = 0x0, val = 28}, {name = 0x559f9c895225 "max-version", has_arg = 1, flag = 0x0, val = 29}, {name = 0x559f9c895231 "ignore-conflicts", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 1048576}, {name = 0x559f9c895242 "errors-to-stdout", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 262144}, {name = 0x559f9c895253 "silence-errors", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 524288}, {name = 0x559f9c895262 "list-all", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 83886080}, {name = 0x559f9c89526b "list-package-names", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 2214592512}, {name = 0x559f9c89527e "simulate", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 134217728}, {name = 0x559f9c895287 "no-cache", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 268435456}, {name = 0x559f9c895290 "print-provides", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 536870912}, {name = 0x559f9c89529f "no-provides", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 4294967296}, {name = 0x559f9c8952ab "debug", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 274945015808}, {name = 0x559f9c8952b1 "validate", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 1141112832}, {name = 0x559f9c8952ba "log-file", has_arg = 1, flag = 0x0, val = 40}, {name = 0x559f9c8952c8 "path", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 17179869184}, {name = 0x559f9c8952c3 "with-path", has_arg = 1, flag = 0x0, val = 42}, {name = 0x559f9c8952cd "prefix-variable", has_arg = 1, flag = 0x0, val = 43}, {name = 0x559f9c8952eb "define-prefix", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 34359738368}, {name = 0x559f9c8952dd "relocate", has_arg = 1, flag = 0x0, val = 45}, {name = 0x559f9c8952e6 "dont-define-prefix", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 68719476736}, {name = 0x559f9c8952f9 "dont-relocate-paths", has_arg = 0, flag = 0x559f9ca97718 <want_flags>, val = 137438953472}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}} ``` https://bugzilla.redhat.com/show_bug.cgi?id=1519994
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#158
There is no content yet.