Re: mplayer with dxr3 segfaults

Luca Olivetti <[email protected]>
Newsgroups gmane.linux.mandrake.plf.general
Message-ID <[email protected]>
En/na Luca Olivetti ha escrit:


>> If possible, I'd appreciate if you installed gdb and mplayer-debug (with 
>> the same version as your mplayer pkg) and run it with "gdb --args 
>> mplayer -vo dxr3 etc etc etc", and in gdb commandline enter "r" to run 
>> mplayer, and after it segfaults use "bt f" to output the backtrace. Then 
>> quit using "q".
> 
> Ok, I'll do that. Thank you

Done. Surprisingly (to me,  because on another box, but without 
dxr3,I've no such problem) the segmentation fauls occurs in fontconfig 
libraries, in fact if I set "fontconfig=no" in /etc/mplayer/mplayer.conf 
  it plays ok (albeit with a single dot as osd).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1237141808 (LWP 2294)]
0xb712512b in IA__FcFontSetMatch (config=0x8ae7388, sets=0xbfd880f4, 
nsets=1, p=0x8a432a8, result=0x0) at fcmatch.c:536
536             *result = FcResultNoMatch;
(gdb) bt f
#0  0xb712512b in IA__FcFontSetMatch (config=0x8ae7388, sets=0xbfd880f4, 
nsets=1, p=0x8a432a8, result=0x0) at fcmatch.c:536
         score = {8.3877128750259849e-315, 8.6397339052590389e-313, 
-2.0763844598713202e-43, 3.4023561601086517e-313, 6.3659873733898826e-314,
   2.1219958107278981e-314, -2.0777311652867299e-43, 
3.4023561601086517e-313, 6.3659873733898826e-314, 2.1219958107278981e-314,
   -1.9174867331096255e-43, 7.8836487614457089e-314, 
-5.8315204391853665e-39, -5.8377665751833398e-39, -5.6917009143576232e-39,
   1.5251774748342192e-314}
         bestscore = {0 <repeats 16 times>}
         f = -1228693160
         s = (FcFontSet *) 0x89d7b50
         best = (FcPattern *) 0x0
         set = 1
#1  0xb712518c in IA__FcFontMatch (config=0x1, p=0x8a432a8, result=0x0) 
at fcmatch.c:561
         sets = {0x89d7b50, 0x1600}
         nsets = 0
#2  0x081237b2 in load_font_ft (width=295, height=288) at 
font_load_ft.c:1163
         fc_pattern = (FcPattern *) 0x8a432a8
         s = <value optimized out>
         scalable = <value optimized out>
#3  0x080e38af in vo_update_osd (dxs=295, dys=288) at sub.c:808
         obj = (mp_osd_obj_t *) 0x89b1b98
         chg = <value optimized out>
         defer_counter = 0
         prev_dxs = 295
         prev_dys = 288
#4  0x08117ff2 in draw_osd () at vo_dxr3.c:712
         obj = (mp_osd_obj_t *) 0x89b1b98
         cleared = 0
#5  0x0819c846 in control (vf=0x89bab70, request=7, data=0x1) at vf_vo.c:90
         res = {w = 0, h = 0, mt = 0, mb = 0, ml = 16843009, mr = 1}
         settings = <value optimized out>
#6  0x08194a0b in control (vf=0x89d78e8, request=7, data=0x0) at 
vf_scale.c:414
         table = (int *) 0x0
---Type <return> to continue, or q <return> to quit---
         inv_table = (int *) 0x1e0
         r = <value optimized out>
         brightness = 640
         contrast = 0
         saturation = 0
         srcRange = 145650456
         dstRange = 145650488
#7  0x08163e1b in decode_video (sh_video=0x89b6638, start=0x89ff590 
"����", in_size=24576, drop_frame=0, pts=0) at dec_video.c:387
         vf = (vf_instance_t *) 0x89d78e8
         mpi = <value optimized out>
         t = 971073927
         t2 = 972083722
         ret = 1
#8  0x080be680 in main (argc=-1076320620, argv=0x89b6638) at mplayer.c:4171
         start = (unsigned char *) 0x3c <Address 0x3c out of bounds>
         in_size = 24576
         mem_ptr = <value optimized out>
         file_format = 1023969417
         rtc_fd = -1076321728
         opt_exit = <value optimized out>
         i = <value optimized out>
         tmp = <value optimized out>
         gui_no_filename = <value optimized out>
         vf_vo_data = {pts = -9.2233720368547758e+18, vo = 0x882fee0}
         drop_message = 0
(gdb)

Bye
-- 
Luca


_______________________________________________
PLF-discuss mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.