Denis Fondras <open...@ledeuns.net> writes:

>> Try to increase your stack size.
>> 
>> $ ulimit -s
>> 4096
>> $ ulimit -Hs
>> 32768
>> 
>
> Thank you Jeremie.
>
> $ ulimit -a
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) 33554432
> file size               (blocks, -f) unlimited
> max locked memory       (kbytes, -l) 2680761
> max memory size         (kbytes, -m) 8021032
> open files                      (-n) 128
> pipe size            (512 bytes, -p) 1
> stack size              (kbytes, -s) 32768
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 1310
> virtual memory          (kbytes, -v) 33587200
> $ ulimit -s
> 32768
> $ ulimit -Hs
> 32768
>
> Unfortunately :
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to thread 1001830]
> 0x000009eb5fe1a0a9 in SshMasterConnection::channelLoop () from
> /usr/ports/pobj/x2goclient-4.0.5.1/x2goclient-4.0.5.1/x2goclient
>
> How can I set higher HARD limit ?

I doubt that would help, 32MB is already a lot.

Another possible explanation is that buffer is used as a C string but
isn't properly NUL-terminated.  Moving buffer to static storage (bss)
means that it gets initialized with zeroes.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to