[DVDnav-discuss] Bug report for specific DVD

Michael Russo greatquux at gmail.com
Thu Aug 14 15:01:14 CEST 2014


(Sorry about the reply not looking like a reply, I hadn't subscribed
to the mailing list but I am now)


I tried to define TRACE in vm.h (uncommenting the line) but I get a
message about an undefined constant FP_DOMAIN.  The compilation
succeeds without TRACE enabled.  I also can't find where this constant
is defined inside of libdvdnav.  Perhaps this is a simple oversight
related to all the cleanup work that took place in 5.0.0?


root at ossy:/usr/src/libdvdnav-5.0.0# grep -r FP_DOMAIN .
./src/vm/play.c:  if((vm->state).domain != FP_DOMAIN) {
./src/vm/play.c:  if((vm->state).domain != FP_DOMAIN) {


root at ossy:/usr/src/libdvdnav-5.0.0# make
make  all-am
make[1]: Entering directory `/usr/src/libdvdnav-5.0.0'
  CC       src/dvdnav.lo
  CC       src/read_cache.lo
  CC       src/navigation.lo
src/navigation.c: In function 'dvdnav_part_play_auto_stop':
src/navigation.c:247:66: warning: unused parameter 'parts_to_play'
[-Wunused-parameter]
                                            int32_t part, int32_t
parts_to_play) {
                                                                  ^
src/navigation.c: In function 'dvdnav_time_play':
src/navigation.c:254:58: warning: unused parameter 'title'
[-Wunused-parameter]
 dvdnav_status_t dvdnav_time_play(dvdnav_t *this, int32_t title,
                                                          ^
src/navigation.c:255:43: warning: unused parameter 'time'
[-Wunused-parameter]
                                  uint64_t time) {
                                           ^
  CC       src/highlight.lo
  CC       src/searching.lo
src/searching.c: In function 'dvdnav_scan_admap':
src/searching.c:82:19: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
     while(address < admap_entries) {
                   ^
src/searching.c: In function 'dvdnav_tmap_get':
src/searching.c:756:11: warning: variable 'vts_idx' set but not used
[-Wunused-but-set-variable]
   int32_t vts_idx = 0;
           ^
src/searching.c: In function 'dvdnav_admap_search':
src/searching.c:874:23: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
     else if  (cur_idx >= admap_len)  cur_idx = admap_len - 1;
                       ^
src/searching.c: In function 'dvdnav_tmap_search':
src/searching.c:912:22: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
     else if (cur_idx >= tmap_len) cur_idx = tmap_len - 1;
                      ^
src/searching.c: In function 'dvdnav_admap_interpolate_vobu':
src/searching.c:1042:16: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
   if (vobu_idx >= args->admap_len) {
                ^
  CC       src/settings.lo
  CC       src/vm/decoder.lo
src/vm/decoder.c: In function 'vmEval_CMD':
src/vm/decoder.c:597:3: warning: implicit declaration of function
'vm_print_registers' [-Wimplicit-function-declaration]
   vm_print_registers( registers );
   ^
src/vm/decoder.c: At top level:
src/vm/decoder.c:764:6: warning: conflicting types for 'vm_print_registers'
[enabled by default]
 void vm_print_registers( registers_t *registers ) {
      ^
src/vm/decoder.c:597:3: note: previous implicit declaration of
'vm_print_registers' was here
   vm_print_registers( registers );
   ^
  CC       src/vm/vm.lo
src/vm/vm.c: In function 'vm_position_print':
src/vm/vm.c:78:30: warning: unused parameter 'vm' [-Wunused-parameter]
 void vm_position_print(vm_t *vm, vm_position_t *position) {
                              ^
src/vm/vm.c: In function 'process_command':
src/vm/vm.c:682:5: warning: implicit declaration of function
'vm_print_link' [-Wimplicit-function-declaration]
     vm_print_link(link_values);
     ^
src/vm/vm.c: At top level:
src/vm/vm.c:140:12: warning: 'dvd_read_name' defined but not used
[-Wunused-function]
 static int dvd_read_name(char *name, char *serial, const char *device) {
            ^
  CC       src/vm/play.lo
src/vm/play.c: In function 'play_PGC':
src/vm/play.c:51:28: error: 'FP_DOMAIN' undeclared (first use in this
function)
   if((vm->state).domain != FP_DOMAIN) {
                            ^
src/vm/play.c:51:28: note: each undeclared identifier is reported only once
for each function it appears in
src/vm/play.c: In function 'play_PGC_PG':
src/vm/play.c:91:28: error: 'FP_DOMAIN' undeclared (first use in this
function)
   if((vm->state).domain != FP_DOMAIN) {
                            ^
make[1]: *** [src/vm/play.lo] Error 1
make[1]: Leaving directory `/usr/src/libdvdnav-5.0.0'
make: *** [all] Error 2





On 13 Aug, Michael Russo wrote :
>* Program received signal SIGSEGV, Segmentation fault.
*>* [Switching to Thread 0x7fffeb9f5700 (LWP 1155)]
*>* vmEval_CMD (commands=0x7fffd8001200, num_commands=4,
*>* registers=registers at entry
<https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss>=0x7fffd8056568,
*>*     return_values=return_values at entry
<https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss>=0x7fffeb8f6070)
at
*>* src/vm/decoder.c:590
*>* 590                    registers_t *registers, link_t *return_values) {
*>* (gdb) bt
*>* #0  vmEval_CMD (commands=0x7fffd8001200, num_commands=4,
*>* registers=registers at entry
<https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss>=0x7fffd8056568,
*>*     return_values=return_values at entry
<https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss>=0x7fffeb8f6070)
at
*
SO it crashes on the function call?

Can you define TRACE so we have more logs,please?

With my kindest regards,

-- 
Jean-Baptiste Kempfhttp://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the DVDnav-discuss mailing list