I suspect the program hangs when the smemstat tries to read data about it’s own 
process.
> On 21.01.2017 г., at 13:46, Miroslav Mitevski <miroslav.mitev...@gmail.com> 
> wrote:
> 
> The issue is reproduced when the command is executed as root only.
> 
> Attaching the log from strace.
> 
> Regards,
> Miro
> <smemstat.log>
>> On 21.01.2017 г., at 13:33, Miroslav Mitevski <miroslav.mitev...@gmail.com> 
>> wrote:
>> 
>> It is 32 bit
>> 
>> Below is the content of /proc/cpuinfo
>> 
>> processor    : 0
>> model name   : Feroceon 88FR131 rev 1 (v5l)
>> BogoMIPS     : 1974.27
>> Features     : swp half thumb fastmult edsp
>> CPU implementer      : 0x56
>> CPU architecture: 5TE
>> CPU variant  : 0x2
>> CPU part     : 0x131
>> CPU revision : 1
>> 
>> Hardware     : QNAP TS-119/TS-219
>> Revision     : 0000
>> Serial               : 0000000000000000
>> 
>> Regards,
>> Miro
>> 
>>> On 21.01.2017 г., at 12:32, Colin Ian King <colin.k...@canonical.com> wrote:
>>> 
>>> Hi Miroslav,
>>> 
>>> Is that a 32 bit ARM platform?
>>> 
>>> How are you running smemstat?
>>> 
>>> Can you re-run smemstat using strace and capturing the output and adding
>>> that to the bug report?
>>> 
>>> e.g.
>>> 
>>> strace smemstat >& smemstat.log
>>> 
>>> please can you use the same smemstat options that reproduce the bug.
>>> 
>>> Thanks!
>>> 
>>> On 21/01/17 10:19, Miroslav Mitevski wrote:
>>>> Package: smemstat
>>>> Version: 0.01.10-1
>>>> Severity: important
>>>> 
>>>> Dear Maintainer,
>>>> 
>>>> after installing the package from the official Debian repository and 
>>>> executing the smemstat command on ARM based machine I discovered the 
>>>> following error:
>>>> 
>>>> The expectation is program to list running processes with the memory 
>>>> usage. Unfortunately the program crashes with "Segmentation fault".
>>>> 
>>>> There are no logs or additional error messages.
>>>> 
>>>> The Debian installation is on QNAP 219P II device, which is ARM based.
>>>> 
>>>> Current locale of the system is bg_BG.UTF-8
>>>> 
>>>> Itried with en_US.UTF-8 and "C" - the result was the same.
>>>> 
>>>> Regards,
>>>> Miro
>>>> 
>>>> 
>>>> *** Reporter, please consider answering these questions, where appropriate 
>>>> ***
>>>> 
>>>> * What was the outcome of this action?
>>>> * What outcome did you expect instead?
>>>> 
>>>> *** End of the template - remove these template lines ***
>>>> 
>>>> 
>>>> -- System Information:
>>>> Debian Release: 8.7
>>>> APT prefers stable-updates
>>>> APT policy: (500, 'stable-updates'), (500, 'stable')
>>>> Architecture: armel (armv5tel)
>>>> 
>>>> Kernel: Linux 3.16.0-4-kirkwood
>>>> Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
>>>> Shell: /bin/sh linked to /bin/dash
>>>> Init: systemd (via /run/systemd/system)
>>>> 
>>>> Versions of packages smemstat depends on:
>>>> ii  libc6  2.19-18+deb8u7
>>>> 
>>>> smemstat recommends no packages.
>>>> 
>>>> smemstat suggests no packages.
>>>> 
>>>> -- no debconf information
>>>> 
>>> 
>> 
> 

Reply via email to