Subject: Re: Segmentation fault with megaget in CentOS 7
From: Ondřej Jirman
Date: Fri, 17 May 2019 11:33:17 +0200
Hi Anjan,

On Fri, May 17, 2019 at 08:55:04AM +0530, Anjan Nath wrote:
> Hi, I  was trying to fetch a file from mega in centos ci [0], but i am
> hitting the following issue, any help would be appreciated!
> 
> ```
> 10:54:08 + megaget -u kaludios@gmail.com -p ****
> /Root/crc_libvirt_v4.1.0.rc0.tar.xz --path=/root/Downloads
> 10:54:11 crc_libvirt_v4.1.0.rc0.tar.xz: 0.00% - 0 bytes of 1.7
> GiB crc_libvirt_v4.1.0.rc0.tar.xz: 0.01% - 225.0 KiB (230,408 bytes)
> of 1.7 GiB (223.6 KiB/s) [0K
> ```
> 

first use the latest megatools version, and see if it works.

  https://megatools.megous.com/builds/experimental/

If not, please build megatools with debug symbols:

  CFLAGS="-g -Og" ./configure
  make

and run them under gdb to reproduce the segfault and provide the backtrace.

  gdb --args ./megatools get -u kaludios@gmail.com -p ...

Then in gdb cli run:

  run

after it crashes run

  backtrace

and send me the output.

thank you,
	Ondrej

> 
> -- 
> ANJAN J NATH