Package: hardinfo
Version: 0.5.1-1.5+b2
Severity: important

Dear Maintainer,
I had been trying to do

[$] hardinfo --report-format text -f

Unrecognized arguments.
Try ``hardinfo --help'' for more information.

I asked the maintainer and she asked me to try unsetting the display
and running hardinfo led to a segmentation fault.

So I ran it under gdb and got the attached gdb traces.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (1, 'experimental-debug'), (1, 'experimental'), (1,
'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hardinfo depends on:
ii  libatk1.0-0          2.22.0-1
ii  libc6                2.24-8
ii  libcairo2            1.14.8-1
ii  libffi6              3.2.1-6
ii  libfontconfig1       2.11.0-6.7
ii  libfreetype6         2.6.3-3+b1
ii  libgdk-pixbuf2.0-0   2.36.3-1
ii  libglib2.0-0         2.50.2-2
ii  libgtk2.0-0          2.24.31-1
ii  libicu57             57.1-5
ii  liblzma5             5.2.2-1.2
ii  libpango-1.0-0       1.40.3-3
ii  libpangocairo-1.0-0  1.40.3-3
ii  libpangoft2-1.0-0    1.40.3-3
ii  libpcre3             2:8.39-2
ii  libselinux1          2.6-3
ii  libsoup2.4-1         2.56.0-2
ii  libxml2              2.9.4+dfsg1-2.1
ii  pciutils             1:3.5.2-1
ii  zlib1g               1:1.2.8.dfsg-4

hardinfo recommends no packages.

Versions of packages hardinfo suggests:
ii  mesa-utils  8.3.0-3

-- no debconf information


-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8
Starting program: /usr/bin/hardinfo 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe7803700 (LWP 28557)]
[New Thread 0x7fffe7002700 (LWP 28558)]
[Thread 0x7fffe7803700 (LWP 28557) exited]
[Thread 0x7fffe7002700 (LWP 28558) exited]
[New Thread 0x7fffe7002700 (LWP 28585)]
[New Thread 0x7fffe7803700 (LWP 28586)]
[Thread 0x7fffe7803700 (LWP 28586) exited]
[Thread 0x7fffe7002700 (LWP 28585) exited]
[New Thread 0x7fffe7803700 (LWP 28617)]
[New Thread 0x7fffe7002700 (LWP 28618)]
[Thread 0x7fffe7002700 (LWP 28618) exited]
[Thread 0x7fffe7803700 (LWP 28617) exited]
[New Thread 0x7fffe7002700 (LWP 28661)]
[New Thread 0x7fffe7803700 (LWP 28662)]

Thread 8 "hardinfo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe7002700 (LWP 28661)]
0x00007fffe8049a25 in ?? () from /usr/lib/hardinfo/modules/benchmark.so

Thread 9 (Thread 0x7fffe7803700 (LWP 28662)):
#0  0x00007fffe8049a25 in  () at /usr/lib/hardinfo/modules/benchmark.so
#1  0x00007fffe8049cae in fft_bench_start () at 
/usr/lib/hardinfo/modules/benchmark.so
#2  0x00007fffe8044c6b in  () at /usr/lib/hardinfo/modules/benchmark.so
#3  0x00007fffe8044294 in benchmark_parallel_for_dispatcher () at 
/usr/lib/hardinfo/modules/benchmark.so
#4  0x00007ffff585f345 in g_thread_proxy (data=0x702cf0) at 
././glib/gthread.c:784
        thread = 0x702cf0
#5  0x00007ffff7bc4464 in start_thread (arg=0x7fffe7803700) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7fffe7803700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737077327616, 
918400716700341144, 0, 140737488346271, 140737077327616, 7462800, 
-918418118414216296, -918382555286645864}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x00007ffff12f99df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 8 (Thread 0x7fffe7002700 (LWP 28661)):
#0  0x00007fffe8049a25 in  () at /usr/lib/hardinfo/modules/benchmark.so
#1  0x00007fffe8049cae in fft_bench_start () at 
/usr/lib/hardinfo/modules/benchmark.so
#2  0x00007fffe8044c6b in  () at /usr/lib/hardinfo/modules/benchmark.so
#3  0x00007fffe8044294 in benchmark_parallel_for_dispatcher () at 
/usr/lib/hardinfo/modules/benchmark.so
#4  0x00007ffff585f345 in g_thread_proxy (data=0x702ca0) at 
././glib/gthread.c:784
        thread = 0x702ca0
#5  0x00007ffff7bc4464 in start_thread (arg=0x7fffe7002700) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7fffe7002700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737068934912, 
918400716700341144, 0, 140737488346271, 140737068934912, 7478992, 
-918419218462714984, -918382555286645864}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x00007ffff12f99df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7ffff7f8da00 (LWP 28238)):
#0  0x00007ffff7bc56bd in pthread_join (threadid=140737068934912, 
thread_return=thread_return@entry=0x0) at pthread_join.c:90
        __tid = 28661
        _buffer = {__routine = 0x7ffff7bc55e0 <cleanup>, __arg = 
0x7fffe7002d28, __canceltype = 7354048, __prev = 0x0}
        oldtype = 0
        pd = 0x7fffe7002700
        self = 0x7ffff7f8da00
        result = 0
#1  0x00007ffff587d047 in g_system_thread_wait (thread=0x702ca0) at 
././glib/gthread-posix.c:1212
        error = <optimized out>
        pt = 0x702ca0
        __func__ = "g_system_thread_wait"
#2  0x00007ffff585f7aa in g_thread_join (thread=0x702ca0) at 
././glib/gthread.c:952
        real = 0x702ca0
        retval = <optimized out>
        __func__ = "g_thread_join"
#3  0x00007fffe8044411 in benchmark_parallel_for () at 
/usr/lib/hardinfo/modules/benchmark.so
#4  0x00007fffe8044cc5 in  () at /usr/lib/hardinfo/modules/benchmark.so
#5  0x00007fffe8044e17 in scan_fft () at /usr/lib/hardinfo/modules/benchmark.so
#6  0x0000000000410ce2 in module_entry_scan ()
#7  0x000000000041435a in  ()
#8  0x00000000004146ab in report_create_from_module_list ()
#9  0x0000000000414726 in report_create_from_module_list_format ()
#10 0x000000000040a763 in main ()

Reply via email to