fixing files

Get help, report and discuss bugs.
zeroday

fixing files

Post by zeroday » 10 Oct 2008, 22:21

I installed a newsly compiled packages of nzbget with par support

Sat Oct 11 00:03:57 2008 WARNING File diverse models2.part43.rar has 1 bad block(s) of total 36 block(s)
Sat Oct 11 00:03:57 2008 INFO Verifying file diverse models2.part44.rar
Sat Oct 11 00:04:07 2008 INFO Verifying file diverse models2.part45.rar
Sat Oct 11 00:04:17 2008 INFO Verifying file diverse models2.part46.rar
Sat Oct 11 00:05:28 2008 INFO Verifying file diverse models2.part53.rar
Sat Oct 11 00:05:38 2008 INFO Verifying file diverse models2.part54.rar
Sat Oct 11 00:05:39 2008 INFO Repairing diverse_models2/diverse models2

http://www.inreto.de/dns323/fun-plug/0. ... tml#nzbget

When the message Repairing is seen than suddenly the nzbget -D is totally no proces in the CH3SNAS anymore .. and the nzbgetweb shows that the server is offline. I do not see any message that the server is paused, sleeping etc..

when checking nzbget -s
I only see extra

INFO Verifying file diverse models2.part54.rar
6 threads, 0 KB/s, 2217.31 MB remaining, 1 post-job, Paused, Avg. 0 KB/s
(Q)uit | (E)dit | (P)ause | (R)ate | (W)indow | (G)roup | (T)ime | n(Z)b Killed
/ #

where to look?

hugbug
Developer & Admin
Posts: 7367
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: fixing files

Post by hugbug » 11 Oct 2008, 11:34

Does the error occur with all nzb-files or only with this particular?

zeroday

Re: fixing files

Post by zeroday » 11 Oct 2008, 13:42

zer
hugbug wrote:Does the error occur with all nzb-files or only with this particular?
it happened only to this NZB where a rar needed par repair ..
Meanwhile I did lots of other testing .. and managed to download and unrar other content ..

still looking to see incomplete posts to see what is happening

WARNING Sat, 11 Oct 2008 14:39:09 +0000 File DexterS03E02720pXB360.part23.rar with 56 block(s) is missing
INFO Sat, 11 Oct 2008 14:39:09 +0000 Need more 1719 par-block(s) for DexterS03E02720pXB360/DexterS03E02720pXB360
ERROR Sat, 11 Oct 2008 14:39:09 +0000 Repair failed for DexterS03E02720pXB360/DexterS03E02720pXB360: not enough par-blocks, 1719 block(s) needed, but 0 block(s) available
INFO Sat, 11 Oct 2008 14:39:09 +0000 Unpausing queue after par-check
INFO Sat, 11 Oct 2008 14:39:09 +0000 Executing post-process-script for DexterS03E02720pXB360/DexterS03E02720pXB360
INFO Sat, 11 Oct 2008 14:39:09 +0000 Unpack: Post-process script successfully started
WARNING Sat, 11 Oct 2008 14:39:09 +0000 Unpack: Par-check failed or disabled, exiting
INFO Sat, 11 Oct 2008 14:39:09 +0000 Completed post-process-script for DexterS03E02720pXB360/DexterS03E02720pXB360

this is ok ..

will redownload the same nzb .. to see what is happening now, I have now added unrar postprocessing script ..

hugbug
Developer & Admin
Posts: 7367
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: fixing files

Post by hugbug » 11 Oct 2008, 14:02

For test purposes find a small nzb-file. You can use advanced search on binsearch.info with option "only show collections" and limit max size to say 20MB. Look in results for nzb with at least two par-files.

Open nzb-file in notepad and remove one segment from one of the main file (not par-file) to provoke the error.

zeroday

Re: fixing files

Post by zeroday » 11 Oct 2008, 14:27

just downloaded the files again

some info:

Sat Oct 11 16:19:41 2008 INFO Verifying file diverse models2.part43.rar
Sat Oct 11 16:19:56 2008 WARNING File diverse models2.part43.rar has 1 bad block(s) of total 36 block(s)
Sat Oct 11 16:19:56 2008 INFO Verifying file diverse models2.part44.rar
Sat Oct 11 16:20:05 2008 INFO Verifying file diverse models2.part45.rar


Sat Oct 11 16:21:42 2008 DETAIL Successfully downloaded diverse_models2/diverse models2.vol000+01.PAR2 [4/5]
Sat Oct 11 16:21:42 2008 DETAIL Joining articles for diverse_models2/diverse models2.vol000+01.PAR2
Sat Oct 11 16:21:42 2008 INFO Successfully downloaded diverse_models2/diverse models2.vol000+01.PAR2
Sat Oct 11 16:21:42 2008 INFO Verifying file diverse models2.vol000+01.PAR2
Sat Oct 11 16:21:42 2008 INFO File diverse models2.vol000+01.PAR2 successfully loaded for par-check

Perfect ! .. but than ..

Sat Oct 11 16:21:42 2008 INFO Repairing diverse_models2/diverse models2 -->

So it seems that when it tries to repair the server gets killed .. when no repair is needed no problem
the nzb can be found here
http://binsearch.info/?q=diverse+models ... =7&server=

zeroday

Re: fixing files

Post by zeroday » 11 Oct 2008, 14:40

hugbug wrote:For test purposes find a small nzb-file. You can use advanced search on binsearch.info with option "only show collections" and limit max size to say 20MB. Look in results for nzb with at least two par-files.

Open nzb-file in notepad and remove one segment from one of the main file (not par-file) to provoke the error.
Ah .. thanks for the tip.. that is much faster

yep, happens even with a 12MB file ..

Sat Oct 11 16:38:35 2008 INFO File Moyea SWF to iPhone Converter V2.4.vol0+1.PAR2 successfully loaded for par-check
Sat Oct 11 16:38:35 2008 INFO Need more 2 par-block(s) for perfect/Moyea SWF to iPhone Converter V2.4
Sat Oct 11 16:38:35 2008 DETAIL Successfully downloaded perfect/Moyea SWF to iPhone Converter V2.4.vol1+2.PAR2 [1/2]
Sat Oct 11 16:38:35 2008 DETAIL Joining articles for perfect/Moyea SWF to iPhone Converter V2.4.vol1+2.PAR2
Sat Oct 11 16:38:35 2008 INFO Successfully downloaded perfect/Moyea SWF to iPhone Converter V2.4.vol1+2.PAR2
Sat Oct 11 16:38:35 2008 INFO Verifying file Moyea SWF to iPhone Converter V2.4.vol1+2.PAR2
Sat Oct 11 16:38:36 2008 INFO File Moyea SWF to iPhone Converter V2.4.vol1+2.PAR2 successfully loaded for par-check
Sat Oct 11 16:38:36 2008 INFO Repairing perfect/Moyea SWF to iPhone Converter V2.4

and than it's killed and I see a core.24894 file appearing in the download folder ..

hugbug
Developer & Admin
Posts: 7367
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: fixing files

Post by hugbug » 11 Oct 2008, 16:30

Please send me that core-file and nzbget binary (hugbug@public-files.de). I'll try to get the backtrace in debugger.
I assume you did not compiled nzbget yourself? Do you know where to get cross compile environment for your device? I need gdb (debugger) cross compiled for that device to analyse the core-file.

zeroday

Re: fixing files

Post by zeroday » 11 Oct 2008, 18:35

azeroday
hugbug wrote:Please send me that core-file and nzbget binary (hugbug@public-files.de). I'll try to get the backtrace in debugger.
I assume you did not compiled nzbget yourself? Do you know where to get cross compile environment for your device? I need gdb (debugger) cross compiled for that device to analyse the core-file.
send!
thanks in advance!

toored

Re: fixing files

Post by toored » 12 Nov 2008, 09:12

Also seeing a same/similar issue where the par2 repair fails. This is nzbget v0.5.1 on SlugOS-BE v4.8

[INFO] Verifying file The Color Of War [2001] 05 - At ease.part37.rar
[DEBUG] Current-progres: 61, Total-progress: 974 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 123, Total-progress: 976 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 185, Total-progress: 977 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 247, Total-progress: 979 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 309, Total-progress: 981 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 370, Total-progress: 982 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 432, Total-progress: 984 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 494, Total-progress: 986 (ParChecker.cpp:505:signal_progress)
[ERROR] Authorization for news.giganews.com failed (Answer: 502 (remote) gn;gn495429: max number of simultaneous IP addresses reached)
[DEBUG] news.giganews.com requested authorization (NNTPConnection.cpp:84:Request)
[DEBUG] Current-progres: 556, Total-progress: 988 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 618, Total-progress: 989 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 680, Total-progress: 991 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 741, Total-progress: 993 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 803, Total-progress: 994 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 865, Total-progress: 996 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 927, Total-progress: 998 (ParChecker.cpp:505:signal_progress)
Segmentation fault, tracing...
[DEBUG] Current-progres: 989, Total-progress: 999 (ParChecker.cpp:505:signal_progress)
[DEBUG] Current-progres: 1000, Total-progress: 1000 (ParChecker.cpp:505:signal_progress)
[DEBUG] ParChecker: Process-result=1 (ParChecker.cpp:211:Run)
[INFO] Repairing selected_reports_20081102-073133/The Color Of War [2001] 05 - At ease


#uname -a:
Linux 100d 2.6.21.7 #1 PREEMPT Mon Dec 24 23:12:24 UTC 2007 armv5teb unknown

Running nzbget results in SegFault 139:
#/opt/bin/nzbget -s -c /opt/etc/nzbget.conf

Segmentation fault
Exit Code: 139


nanosleep({0, 100000000}, 0) = ? ERESTART_RESTARTBLOCK (To be restarted)
+++ killed by SIGSEGV +++


root@100d:~$ ldd /opt/bin/nzbget
libsigc-2.0.so.0 => /opt/lib/libsigc-2.0.so.0 (0x40022000)
libssl.so.0.9.7 => /opt/lib/libssl.so.0.9.7 (0x4002e000)
libncurses.so.5 => /opt/lib/libncurses.so.5 (0x40064000)
libxml2.so.2 => /opt/lib/libxml2.so.2 (0x400af000)
libpthread.so.0 => /lib/libpthread.so.0 (0x401d3000)
libpar2.so.0 => /opt/lib/libpar2.so.0 (0x401f0000)
libstdc++.so.6 => /opt/lib/libstdc++.so.6 (0x40283000)
libm.so.6 => /lib/libm.so.6 (0x40361000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40408000)
libc.so.6 => /lib/libc.so.6 (0x4041a000)
libcrypto.so.0.9.7 => /opt/lib/libcrypto.so.0.9.7 (0x40521000)
libdl.so.2 => /lib/libdl.so.2 (0x4062e000)
libz.so.1 => /opt/lib/libz.so.1 (0x40639000)
/lib/ld-linux.so.2 (0x40000000)



root@100d:/root$ gdb nzbget core.3520


dlopen failed on 'libthread_db.so.1' - libthread_db.so.1: cannot open shared obj
ect file: No such file or directory
GDB will not be able to debug pthreads.

GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "armeb-linux"...
(no debugging symbols found)
Reading symbols from /opt/lib/libsigc-2.0.so.0...(no debugging symbols found)...
done.
Loaded symbols for /opt/lib/libsigc-2.0.so.0
Reading symbols from /opt/lib/libssl.so.0.9.7...(no debugging symbols found)...d
one.
Loaded symbols for /opt/lib/libssl.so.0.9.7
Reading symbols from /opt/lib/libncurses.so.5...
(no debugging symbols found)...done.
Loaded symbols for /opt/lib/libncurses.so.5
Reading symbols from /opt/lib/libxml2.so.2...(no debugging symbols found)...done
.
Loaded symbols for /opt/lib/libxml2.so.2
Reading symbols from /lib/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /opt/lib/libpar2.so.0...(no debugging symbols found)...done
.
Loaded symbols for /opt/lib/libpar2.so.0
Reading symbols from /opt/lib/libstdc++.so.6...
(no debugging symbols found)...done.
Loaded symbols for /opt/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /opt/lib/libcrypto.so.0.9.7...
(no debugging symbols found)...done.
Loaded symbols for /opt/lib/libcrypto.so.0.9.7
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /opt/lib/libz.so.1...
(no debugging symbols found)...done.
Loaded symbols for /opt/lib/libz.so.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2

Core was generated by `./nzbget -s -c /opt/etc/nzbget.conf'.
Program terminated with signal 11, Segmentation fault.
[New process 3527]
[New process 3526]
[New process 3525]
[New process 3524]
[New process 3523]
[New process 3522]
[New process 3520]
#0 0x00035cb8 in ParChecker::Run ()
(gdb) exit

toored

Re: fixing files

Post by toored » 12 Nov 2008, 09:14

Forgot the backtrace:

(gdb) backtrace
#0 0x00035cb8 in ParChecker::Run ()
#1 0x00049250 in Thread::thread_handler ()
#2 0x401d7e60 in ?? () from /lib/libpthread.so.0
Backtrace stopped: frame did not save the PC

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests