Opened 18 years ago

Last modified 13 years ago

#536 new defect

dvb menu not re-show

Reported by: florent.kaisser@… Owned by: reimar
Priority: normal Component: vo
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

the dvb menu show correctly the first time, but no the seconde time (after to
have close with echap or left arrow key)(segmentation fault, list pointer null).

gdb info :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223316704 (LWP 16131)]
0x080c6867 in menu_list_draw (menu=0x8705cc0, mpi=0x86ccbe8) at menu_list.c:83
83 for(i = 0 ; m->next && i < start ; i++)
(gdb) print m
$1 = (list_entry_t *) 0x0
(gdb) backtrace
#0 0x080c6867 in menu_list_draw (menu=0x8705cc0, mpi=0x86ccbe8)

at menu_list.c:83

#1 0x080c42b4 in menu_draw (menu=0x8705cc0, mpi=0x86ccbe8) at menu.c:224
#2 0x080c54e9 in put_image (vf=0x8705c48, mpi=0xc780) at vf_menu.c:217
#3 0x080f8f6d in decode_video (sh_video=0x86c3918, start=0x8806910 "",

in_size=1231, drop_frame=0) at dec_video.c:332

#4 0x0807c93c in main (argc=2, argv=0xbfd54974) at mplayer.c:2340

fichier menu.conf :

<dvbsel title="Liste des chaines" name="liste_chaine" />
<cmdlist name="main" title="MPlayer OSD menu" ptr="<>" >

<e name="DVB" ok="set_menu liste_chaine"/>

</cmdlist>

fichier config :
menu=yes
menu-startup=yes
menu-root=liste_chaine

Change History (5)

comment:1 by reimar, 18 years ago

Summary: Segmentation fault on dvbsel menu opening Segmentation fault on dvbsel menu opening

for(i = 0 ; m->next && i < start ; i++)

That code doesn't exist in my version in menu_list.c, and the last change to
that file was on April 22. So either you are not using pre8 or you have some
unofficial patches in, am I right?
In that case please try a clean compile from SVN first and report again if it
still happens.

comment:2 by florent.kaisser@…, 18 years ago

Summary: Segmentation fault on dvbsel menu openingmenu

comment:3 by florent.kaisser@…, 18 years ago

Severity: majornormal
Summary: menudvb menu not re-show
Version: 1.0pre8unspecified

(In reply to comment #1)

for(i = 0 ; m->next && i < start ; i++)

That code doesn't exist in my version in menu_list.c, and the last change to
that file was on April 22. So either you are not using pre8 or you have some
unofficial patches in, am I right?
In that case please try a clean compile from SVN first and report again if it
still happens.

yes i am the pre7, sorry, but i get the last version with svn. I retry with the
same configuration and i not more the segementation fault, but the menu don't
re-show.

comment:4 by florent.kaisser@…, 18 years ago

after many test, the segementation fault always exist with the last version
(dev-SVN-r19127-3.3.2 ) (ignore the previous post) :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225830240 (LWP 7354)]
0x080db675 in menu_list_draw (menu=0x88a51c0, mpi=0x88b2348) at menu_list.c:51
51 if(mpriv->current->hide) {
(gdb) backtrace
#0 0x080db675 in menu_list_draw (menu=0x88a51c0, mpi=0x88b2348)

at menu_list.c:51

#1 0x080d8d3c in menu_draw (menu=0x88a51c0, mpi=0x88b2348) at menu.c:230
#2 0x080da2df in put_image (vf=0x88a4ee8, mpi=0x13200, pts=27212.568359375)

at vf_menu.c:223

#3 0x0810daa5 in decode_video ()

comment:5 by compn, 13 years ago

Owner: changed from beastd to reimar
Note: See TracTickets for help on using tickets.