Sign up here and you can log into the forum!

segmentation fault while using aria2

This is the place to ask for how to use software that is (or isn't) included in the various wdlxtv flavours. Questions about software such as rtorrent, NZBGet, sshfs, curlftpfs, ssh, telnet, etc.

segmentation fault while using aria2   

Postby wisetube » Tue Mar 05, 2013 4:15 am

hi all,

could you please help me with the following?

I've installed optware (http://b-rad.cc/binaries/opt.bin.tgz) and then aria2 (aria2_1.14.2). Then for any attempt to do anything with aria2c I get the error "segmentation fault". It's interesting that when I enable aria2 listening for RPC it continues running until any attempt to send a command to aria. It looks like the error occurs each time when aria tries to write something to disk. do you have any ideas how to fix that?

I would do appreciate any advice. Thanks,
Andriy.
wisetube
n00b
 
Posts: 6
Joined: Tue Mar 05, 2013 4:05 am

Re: segmentation fault while using aria2   

Postby recliq » Thu Mar 07, 2013 3:13 am

Need more infos...

Which device are you talking about?
Which firmware is running on the device?
What does the config for aria2 look like?

Most likely the app tries to write somewhere to the filesystem except /tmp which won't work!
The whole filesystem on WDTV is read-only except for /tmp which is a ramdisk and mounted drives under /tmp/media/usb.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: segmentation fault while using aria2   

Postby wisetube » Fri Mar 15, 2013 12:47 pm

hi recliq, thanks for answering.

Spent some time to figure out the problem considering your input. But no success. I am struggling with WD TV live on 0.4.7.3.
to minimize a risk of writing to read only directories, I tried the following string on my device:
aria2c -x2 --no-conf=true --disable-ipv6=true --dir=/tmp/media/usb/USB1/EE6074066073D435 --ftp-user=***@gmail.com --ftp-passwd=*** --log="" "ftp://**"

result was the same: segmentation fault.. Please advise in which direction to dig?

cheers,
Andriy.
wisetube
n00b
 
Posts: 6
Joined: Tue Mar 05, 2013 4:05 am

Re: segmentation fault while using aria2   

Postby mad_ady » Sun Mar 17, 2013 11:46 pm

You could try to run the command with strace and see if a system call causes the segmentation fault... You could at least see what it tries to do before dying.
User avatar
mad_ady
Developer
 
Posts: 4538
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: segmentation fault while using aria2   

Postby recliq » Mon Mar 18, 2013 8:54 am

Have you tried compiling it for WDTV?
optware is known to have a couple of issues on Live/Plus.


PS: I'm just trying to compile it... will let you know if this worked, then I can give you an app.bin to test.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: segmentation fault while using aria2   

Postby wisetube » Sun Mar 24, 2013 9:13 am

hi all,

it's a shame on me but unfortunatelly I am not really experienced enough to either compile of trace the program by myself..

Unfortunately the link on rapidshare from here doesn't really work: http://forum.wdlxtv.com/viewtopic.php?f=43&t=494
So, I would really appreciate the app.bin, probably the missing squeeze filesystem image from the post above or any other advice how to proceed.

thanks,
Andriy.
wisetube
n00b
 
Posts: 6
Joined: Tue Mar 05, 2013 4:05 am

Re: segmentation fault while using aria2   

Postby recliq » Sun Mar 24, 2013 10:24 am

Compiling in squeeze rootfs doesn't work and the drive I kept my virtualbox cross-compiling images on seems to be corrupt :(.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: segmentation fault while using aria2   

Postby wisetube » Sun Mar 24, 2013 11:01 am

hi recliq,

looks like a bad luck :) But thanx for support and for the comment on squeeze. It looks like you saved a lot of my time on it.

have a nice evening,
Andriy.
wisetube
n00b
 
Posts: 6
Joined: Tue Mar 05, 2013 4:05 am

Re: segmentation fault while using aria2   

Postby recliq » Mon Mar 25, 2013 1:46 am

I haven't given up yet, just need more time ;)
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: segmentation fault while using aria2   

Postby wisetube » Mon Mar 25, 2013 4:31 am

thanks for the hope :)
wisetube
n00b
 
Posts: 6
Joined: Tue Mar 05, 2013 4:05 am

Next

Return to Application Questions

Who is online

Users browsing this forum: No registered users and 1 guest