hi, Am Donnerstag, 22. September 2005 17:06 schrieb Jouni Karvo:
hi,
I use the current Noad version and have experienced a couple of bugs. Here the first one:
If another noad is started before the previous ends, the earlier seems to segfault:
Sep 21 21:25:00 vdr noad[20105]: noad called with 'before' and online=1 and liverecording is no Sep 21 21:25:00 vdr noad[20105]: nothing to do yet Sep 21 21:25:52 vdr noad[15366]: noad aborted by signal Segmentation fault Sep 21 21:25:52 vdr noad[15366]: [bt] Execution path: Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x805b223] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x8057a47] Sep 21 21:25:52 vdr noad[15366]: [bt] [0xffffe420] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x804e4a3] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x80504f7] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x805081e] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x8051430] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x8052e36] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x8053182] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x805773d] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad [0x8058060] Sep 21 21:25:52 vdr noad[15366]: [bt] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xf0) [0xb7bd0970] Sep 21 21:25:52 vdr noad[15366]: [bt] /usr/local/bin/noad(avcodec_register_all+0x41) [0x8049be1]
i've tried to reproduce this error without success. Maybe i can say more about this error if you translate the bt-addresses to function-names. This could be done with addr2line -e <your-noad-executable-here> -f -C <bt-address> The complete backtrace can be translated with grep '[bt.*noad.*[0x' <your-logfile-here> | sed -e 's/.*[//' -e s'/]//' | addr2line -e <your-noad-executable-here> -f -C
There should be more entries in the logfile about these two noad-instances. Please report all entries so i can see how these instances are started. What about other bugs you're talking about?
Regards theNoad
yours, Jouni