[Bug 573792] New: xpdf crashes on nonexistent files
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c0 Summary: xpdf crashes on nonexistent files Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: pgajdos@novell.com ReportedBy: puzel@novell.com QAContact: qa@suse.de Found By: Development Blocker: --- xpdf crashes with double free or corruption when trying to open nonexistent file:
xpdf BADFILE Error: Couldn't open file 'BADFILE': Adresář nebo soubor neexistuje. *** glibc detected *** xpdf: double free or corruption (out): 0x0000000000679dd0 *** ======= Backtrace: ========= /lib64/libc.so.6[0x7f0ea8a0bc76] /lib64/libc.so.6(cfree+0x6c)[0x7f0ea8a1096c] /usr/lib64/libpoppler.so.5(_Z21freeBuiltinFontTablesv+0x30)[0x7f0ea99ed880] /usr/lib64/libpoppler.so.5(_ZN12GlobalParamsD1Ev+0x16)[0x7f0ea9a3c4d6] xpdf[0x42b344] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f0ea89b7a7d] xpdf[0x40bc19] ======= Memory map: ======== 00400000-0043d000 r-xp 00000000 08:03 22000 /usr/bin/xpdf 0063d000-0063e000 r--p 0003d000 08:03 22000 /usr/bin/xpdf 0063e000-00643000 rw-p 0003e000 08:03 22000 /usr/bin/xpdf 00643000-0079b000 rw-p 00000000 00:00 0 [heap] 7f0ea0000000-7f0ea0021000 rw-p 00000000 00:00 0 7f0ea0021000-7f0ea4000000 ---p 00000000 00:00 0 7f0ea561c000-7f0ea5677000 r--p 00000000 08:03 131362 /var/cache/libx11/compose/l4_030_313cb605_00280cc0 7f0ea5677000-7f0ea567c000 r-xp 00000000 08:03 1286 /usr/lib64/libXfixes.so.3.1.0 7f0ea567c000-7f0ea587b000 ---p 00005000 08:03 1286 /usr/lib64/libXfixes.so.3.1.0 7f0ea587b000-7f0ea587c000 r--p 00004000 08:03 1286 /usr/lib64/libXfixes.so.3.1.0 7f0ea587c000-7f0ea587d000 rw-p 00005000 08:03 1286 /usr/lib64/libXfixes.so.3.1.0 7f0ea587d000-7f0ea5886000 r-xp 00000000 08:03 1301 /usr/lib64/libXcursor.so.1.0.2 7f0ea5886000-7f0ea5a86000 ---p 00009000 08:03 1301 /usr/lib64/libXcursor.so.1.0.2 7f0ea5a86000-7f0ea5a87000 r--p 00009000 08:03 1301 /usr/lib64/libXcursor.so.1.0.2 7f0ea5a87000-7f0ea5a88000 rw-p 0000a000 08:03 1301 /usr/lib64/libXcursor.so.1.0.2 7f0ea5a88000-7f0ea5a8b000 r-xp 00000000 08:03 132017 /lib64/libuuid.so.1.3.0 7f0ea5a8b000-7f0ea5c8b000 ---p 00003000 08:03 132017 /lib64/libuuid.so.1.3.0 7f0ea5c8b000-7f0ea5c8c000 r--p 00003000 08:03 132017 /lib64/libuuid.so.1.3.0 7f0ea5c8c000-7f0ea5c8d000 rw-p 00004000 08:03 132017 /lib64/libuuid.so.1.3.0 7f0ea5c8d000-7f0ea5c96000 r-xp 00000000 08:03 1504 /usr/lib64/libXrender.so.1.3.0 7f0ea5c96000-7f0ea5e95000 ---p 00009000 08:03 1504 /usr/lib64/libXrender.so.1.3.0 7f0ea5e95000-7f0ea5e96000 r--p 00008000 08:03 1504 /usr/lib64/libXrender.so.1.3.0 7f0ea5e96000-7f0ea5e97000 rw-p 00009000 08:03 1504 /usr/lib64/libXrender.so.1.3.0 7f0ea5e97000-7f0ea5e99000 r-xp 00000000 08:03 3636 /usr/lib64/libXau.so.6.0.0 7f0ea5e99000-7f0ea6099000 ---p 00002000 08:03 3636 /usr/lib64/libXau.so.6.0.0 7f0ea6099000-7f0ea609a000 r--p 00002000 08:03 3636 /usr/lib64/libXau.so.6.0.0 7f0ea609a000-7f0ea609b000 rw-p 00003000 08:03 3636 /usr/lib64/libXau.so.6.0.0 7f0ea609b000-7f0ea609d000 r-xp 00000000 08:03 132021 /lib64/libdl-2.10.1.so 7f0ea609d000-7f0ea629d000 ---p 00002000 08:03 132021 /lib64/libdl-2.10.1.so 7f0ea629d000-7f0ea629e000 r--p 00002000 08:03 132021 /lib64/libdl-2.10.1.so 7f0ea629e000-7f0ea629f000 rw-p 00003000 08:03 132021 /lib64/libdl-2.10.1.so 7f0ea629f000-7f0ea62ba000 r-xp 00000000 08:03 3690 /usr/lib64/libxcb.so.1.1.0 7f0ea62ba000-7f0ea64ba000 ---p 0001b000 08:03 3690 /usr/lib64/libxcb.so.1.1.0 7f0ea64ba000-7f0ea64bb000 r--p 0001b000 08:03 3690 /usr/lib64/libxcb.so.1.1.0 7f0ea64bb000-7f0ea64bc000 rw-p 0001c000 08:03 3690 /usr/lib64/libxcb.so.1.1.0 7f0ea64bc000-7f0ea64d4000 r-xp 00000000 08:03 3629 /usr/lib64/libICE.so.6.3.0 7f0ea64d4000-7f0ea66d3000 ---p 00018000 08:03 3629 /usr/lib64/libICE.so.6.3.0 7f0ea66d3000-7f0ea66d4000 r--p 00017000 08:03 3629 /usr/lib64/libICE.so.6.3.0 7f0ea66d4000-7f0ea66d5000 rw-p 00018000 08:03 3629 /usr/lib64/libICE.so.6.3.0 7f0ea66d5000-7f0ea66d9000 rw-p 00000000 00:00 0 7f0ea66d9000-7f0ea66e1000 r-xp 00000000 08:03 3585 /usr/lib64/libSM.so.6.0.1 7f0ea66e1000-7f0ea68e0000 ---p 00008000 08:03 3585 /usr/lib64/libSM.so.6.0.1 7f0ea68e0000-7f0ea68e1000 r--p 00007000 08:03 3585 /usr/lib64/libSM.so.6.0.1 7f0ea68e1000-7f0ea68e2000 rw-p 00008000 08:03 3585 /usr/lib64/libSM.so.6.0.1 7f0ea68e2000-7f0ea6908000 r-xp 00000000 08:03 132029 /lib64/libexpat.so.1.5.2 7f0ea6908000-7f0ea6b08000 ---p 00026000 08:03 132029 /lib64/libexpat.so.1.5.2 7f0ea6b08000-7f0ea6b0a000 r--p 00026000 08:03 132029 /lib64/libexpat.so.1.5.2 7f0ea6b0a000-7f0ea6b0b000 rw-p 00028000 08:03 132029 /lib64/libexpat.so.1.5.2 7f0ea6b0b000-7f0ea6b1f000 r-xp 00000000 08:03 1530 /usr/lib64/libXft.so.2.1.13 7f0ea6b1f000-7f0ea6d1e000 ---p 00014000 08:03 1530 /usr/lib64/libXft.so.2.1.13 7f0ea6d1e000-7f0ea6d1f000 r--p 00013000 08:03 1530 /usr/lib64/libXft.so.2.1.13 7f0ea6d1f000-7f0ea6d20000 rw-p 00014000 08:03 1530 /usr/lib64/libXft.so.2.1.13 7f0ea6d20000-7f0ea6d28000 r-xp 00000000 08:03 1519 /usr/lib64/libXp.so.6.2.0 7f0ea6d28000-7f0ea6f27000 ---p 00008000 08:03 1519 /usr/lib64/libXp.so.6.2.0 7f0ea6f27000-7f0ea6f28000 r--p 00007000 08:03 1519 /usr/lib64/libXp.so.6.2.0 7f0ea6f28000-7f0ea6f29000 rw-p 00008000 08:03 1519 /usr/lib64/libXp.so.6.2.0 7f0ea6f29000-7f0ea6f3a000 r-xp 00000000 08:03 3541 /usr/lib64/libXext.so.6.4.0 7f0ea6f3a000-7f0ea7139000 ---p 00011000 08:03 3541 /usr/lib64/libXext.so.6.4.0 7f0ea7139000-7f0ea713a000 r--p 00010000 08:03 3541 /usr/lib64/libXext.so.6.4.0 7f0ea713a000-7f0ea713b000 rw-p 00011000 08:03 3541 /usr/lib64/libXext.so.6.4.0 7f0ea713b000-7f0ea7153000 r-xp 00000000 08:03 1277 /usr/lib64/libXmu.so.6.2.0Neúspěšně ukončen (SIGABRT)
-- rpm -qf $(which xpdf) xpdf-poppler-3.02-4.3.x86_64 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c1 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED --- Comment #1 from Petr Gajdos <pgajdos@novell.com> 2010-01-26 08:16:12 UTC --- Confirmed for factory. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c2 --- Comment #2 from Petr Gajdos <pgajdos@novell.com> 2010-01-26 10:01:05 UTC --- There was calling initBuiltinFontTables() and freeBuiltinFontTables() in both GlobalParams and GlobalParamsGUI, which appeared to be wrong. Following should do the job: Index: xpdf-poppler-autohinting-as-option.patch =================================================================== --- xpdf-poppler-autohinting-as-option.patch (revision f58652092693cdf1c0ea2e4b36868260) +++ xpdf-poppler-autohinting-as-option.patch (working copy) @@ -2,7 +2,7 @@ =================================================================== --- /dev/null +++ GlobalParamsGUI.cc -@@ -0,0 +1,3247 @@ +@@ -0,0 +1,3242 @@ +//======================================================================== +// +// GlobalParamsGUI.cc @@ -42,7 +42,6 @@ +#include "CharCodeToUnicode.h" +#include "UnicodeMap.h" +#include "CMap.h" -+#include "BuiltinFontTables.h" +#include "FontEncodingTables.h" +#include <langinfo.h> +#include <locale.h> @@ -628,8 +627,6 @@ + gInitMutex(&unicodeMapCacheMutex); + gInitMutex(&cMapCacheMutex); +#endif -+ -+ initBuiltinFontTables(); + + // scan the encoding in reverse because we want the lowest-numbered + // index for each char name ('space' is encoded twice) @@ -1836,8 +1833,6 @@ + GooHashIter *iter; + GooString *key; + GooList *list; -+ -+ freeBuiltinFontTables(); + + delete macRomanReverseMap; + -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c3 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |maintenance@opensuse.org --- Comment #3 from Petr Gajdos <pgajdos@novell.com> 2010-01-26 10:14:24 UTC --- Fixed for Factory. Will we do update for 11.2? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c4 --- Comment #4 from Petr Gajdos <pgajdos@novell.com> 2010-01-26 14:00:22 UTC --- Package is prepared in home:pgajdos:branches:openSUSE:11.2 feel free to test. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c5 --- Comment #5 from Marcus Meissner <meissner@novell.com> 2010-01-26 16:50:38 UTC --- we need to respin poppler anyway, should roll it into that update. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c6 --- Comment #6 from Petr Uzel <puzel@novell.com> 2010-01-28 08:07:29 UTC --- (In reply to comment #4)
Package is prepared in home:pgajdos:branches:openSUSE:11.2
I can confirm this fixes the issue for me (11.2 x86_64). Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c7 --- Comment #7 from Petr Gajdos <pgajdos@novell.com> 2010-01-28 08:50:06 UTC ---
I can confirm this fixes the issue for me (11.2 x86_64). Thanks
Thanks, Petr -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c8 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdengler@novell.com --- Comment #8 from Christian Dengler <cdengler@novell.com> 2010-01-29 13:25:21 UTC --- (In reply to comment #5)
we need to respin poppler anyway, should roll it into that update.
in this case: +1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c9 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #9 from Marcus Meissner <meissner@novell.com> 2010-02-09 10:29:33 UTC --- is this fulfilled by the poppler version update currently cehcked in? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c10 --- Comment #10 from Petr Gajdos <pgajdos@novell.com> 2010-02-09 13:03:51 UTC --- No, this is bug of xpdf-poppler, independent from poppler. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c11 --- Comment #11 from Petr Gajdos <pgajdos@novell.com> 2010-02-09 13:05:15 UTC --- Should I submit package for 11.2 from home:pgajdos:branches:openSUSE:11.2? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c12 --- Comment #12 from Marcus Meissner <meissner@novell.com> 2010-02-09 14:36:29 UTC --- the package looks acceptable, so lets do the update +1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c13 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:30964 --- Comment #13 from Swamp Workflow Management <swamp@suse.com> 2010-02-09 14:45:54 UTC --- The SWAMPID for this issue is 30964. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/30964) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c14 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|maintenance@opensuse.org | --- Comment #14 from Christian Dengler <cdengler@novell.com> 2010-02-09 14:47:00 UTC --- (In reply to comment #11)
Should I submit package for 11.2 from home:pgajdos:branches:openSUSE:11.2?
Yes. Submit it against update-test and submit a patchinfo. TIA -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c15 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #15 from Petr Gajdos <pgajdos@novell.com> 2010-02-09 15:30:46 UTC --- Submit request number 31929. Patchinfo submitted. Fixed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c16 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |ro@novell.com Resolution|FIXED | --- Comment #16 from Ruediger Oertel <ro@novell.com> 2010-02-15 17:26:11 UTC --- that one does not build against the updated poppler in 11.2, should probably just use the version from factory that has been adapted to the new poppler version. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c17 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |ro@novell.com --- Comment #17 from Petr Gajdos <pgajdos@novell.com> 2010-02-15 18:57:57 UTC --- Ok, I have created Request #32653: submit: home:pgajdos:branches:openSUSE:11.2:Update:Test/xpdf-poppler(r2)(cleanup) -> openSUSE:11.2:Update:Test/xpdf-poppler Message: Build againist updated poppler, bnc#573792, comment #16. State: new 2010-02-15T19:31:37 pgajdos Comment: None Note, that there is xpdf-poppler-set-icon.patch on the top of xpdf-poppler in 11.2 at present. What now? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c18 --- Comment #18 from Petr Gajdos <pgajdos@novell.com> 2010-02-22 09:59:46 UTC --- Rudi? Can I close this bug? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c19 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|ro@novell.com |dmueller@novell.com --- Comment #19 from Petr Gajdos <pgajdos@novell.com> 2010-02-22 12:30:21 UTC --- Dirk, what should be done now? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c20 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|dmueller@novell.com | Resolution| |FIXED --- Comment #20 from Ruediger Oertel <ro@novell.com> 2010-02-22 16:59:32 UTC --- package checked in, patchinfo checked in. closing. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c21 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:30964 |maint:running:30964 | |maint:released:11.2:30965 --- Comment #21 from Swamp Workflow Management <swamp@suse.com> 2010-03-01 13:31:46 UTC --- Update released for: xpdf-poppler, xpdf-poppler-debuginfo, xpdf-poppler-debugsource Products: openSUSE 11.2 (debug, i586, x86_64) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:30964 |. |maint:released:11.2:30965 | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573792 http://bugzilla.novell.com/show_bug.cgi?id=573792#c22 --- Comment #22 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (573792) was mentioned in https://build.opensuse.org/request/show/32653 11.2:Test / xpdf-poppler -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com