Ronan Arraes Jardim Chagas
2016-06-01 15:48:59 UTC
Hi!
I'm trying to submit latex2rtf package to openSUSE Leap 42.2, but I am having a
very strange behavior.
If I try to convert the following .tex file into an .rtf with the option to
transform the equations to bitmaps (-M12), then I get a segmentation fault just
before the conversion.
----------
\documentclass{article}
\begin{document}
\begin{equation}
\int_{0}^{t} dx
\end{equation}
\end{document}
----------
However, if I remove two spaces before the integral sign, then everything is
fine:
----------
\documentclass{article}
\begin{document}
\begin{equation}
\int_{0}^{t} dx
\end{equation}
\end{document}
----------
Notice that this problem does not happen in openSUSE Tumbleweed, which is
rolling release and the packages are much more updated. Thus, I think it is
related to some old package, but I cannot figure out what is causing the
problem.
Here is the backtrace of the segmentation fault:
----------
latex2rtf -M12 teste.tex
teste.tex:2 Rendering '\begin{equation} \i ... ^{t} dx \end{equation}'***
Error in `latex2rtf': free(): invalid pointer: 0x00000000011f40c0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7275f)[0x7f972622075f]
/lib64/libc.so.6(+0x77fce)[0x7f9726225fce]
latex2rtf[0x42809d]
latex2rtf[0x42ce14]
latex2rtf[0x41e534]
latex2rtf[0x41e7c1]
latex2rtf[0x404a01]
latex2rtf[0x405ade]
latex2rtf[0x4048ec]
latex2rtf[0x42189a]
latex2rtf[0x42074e]
latex2rtf[0x42046a]
latex2rtf[0x412ca3]
latex2rtf[0x412b53]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f97261cfb05]
latex2rtf[0x401979]
======= Memory map: ========
00400000-0044c000 r-xp 00000000 00:25
223826 /usr/bin/latex2rtf
0064b000-0064c000 r--p 0004b000 00:25
223826 /usr/bin/latex2rtf
0064c000-00656000 rw-p 0004c000 00:25
223826 /usr/bin/latex2rtf
00656000-0067c000 rw-p 00000000 00:00 0
011d7000-011f8000 rw-p 00000000 00:00 0 [heap]
7f9725f97000-7f9725fad000 r-xp 00000000 00:25
13002 /lib64/libgcc_s.so.1
7f9725fad000-7f97261ac000 ---p 00016000 00:25
13002 /lib64/libgcc_s.so.1
7f97261ac000-7f97261ad000 r--p 00015000 00:25
13002 /lib64/libgcc_s.so.1
7f97261ad000-7f97261ae000 rw-p 00016000 00:25
13002 /lib64/libgcc_s.so.1
7f97261ae000-7f972634c000 r-xp 00000000 00:25
13001 /lib64/libc-2.19.so
7f972634c000-7f972654c000 ---p 0019e000 00:25
13001 /lib64/libc-2.19.so
7f972654c000-7f9726550000 r--p 0019e000 00:25
13001 /lib64/libc-2.19.so
7f9726550000-7f9726552000 rw-p 001a2000 00:25
13001 /lib64/libc-2.19.so
7f9726552000-7f9726556000 rw-p 00000000 00:00 0
7f9726556000-7f9726656000 r-xp 00000000 00:25
13112 /lib64/libm-2.19.so
7f9726656000-7f9726855000 ---p 00100000 00:25
13112 /lib64/libm-2.19.so
7f9726855000-7f9726856000 r--p 000ff000 00:25
13112 /lib64/libm-2.19.so
7f9726856000-7f9726857000 rw-p 00100000 00:25
13112 /lib64/libm-2.19.so
7f9726857000-7f9726878000 r-xp 00000000 00:25
13020 /lib64/ld-2.19.so
7f9726a5b000-7f9726a5e000 rw-p 00000000 00:00 0
7f9726a73000-7f9726a77000 rw-p 00000000 00:00 0
7f9726a77000-7f9726a78000 r--p 00020000 00:25
13020 /lib64/ld-2.19.so
7f9726a78000-7f9726a79000 rw-p 00021000 00:25
13020 /lib64/ld-2.19.so
7f9726a79000-7f9726a7a000 rw-p 00000000 00:00 0
7ffedb8a9000-7ffedb8de000 rw-p 00000000 00:00 0 [stack]
7ffedb9d6000-7ffedb9d9000 r--p 00000000 00:00 0 [vvar]
7ffedb9d9000-7ffedb9db000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00
0 [vsyscall]
Abortado
----------
The full output of the command with -d6 flag can be found here:
http://pastebin.com/fH3KPKAq
Does anyone have any idea why this is happening?
Regards,
Ronan Arraes
I'm trying to submit latex2rtf package to openSUSE Leap 42.2, but I am having a
very strange behavior.
If I try to convert the following .tex file into an .rtf with the option to
transform the equations to bitmaps (-M12), then I get a segmentation fault just
before the conversion.
----------
\documentclass{article}
\begin{document}
\begin{equation}
\int_{0}^{t} dx
\end{equation}
\end{document}
----------
However, if I remove two spaces before the integral sign, then everything is
fine:
----------
\documentclass{article}
\begin{document}
\begin{equation}
\int_{0}^{t} dx
\end{equation}
\end{document}
----------
Notice that this problem does not happen in openSUSE Tumbleweed, which is
rolling release and the packages are much more updated. Thus, I think it is
related to some old package, but I cannot figure out what is causing the
problem.
Here is the backtrace of the segmentation fault:
----------
latex2rtf -M12 teste.tex
teste.tex:2 Rendering '\begin{equation} \i ... ^{t} dx \end{equation}'***
Error in `latex2rtf': free(): invalid pointer: 0x00000000011f40c0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7275f)[0x7f972622075f]
/lib64/libc.so.6(+0x77fce)[0x7f9726225fce]
latex2rtf[0x42809d]
latex2rtf[0x42ce14]
latex2rtf[0x41e534]
latex2rtf[0x41e7c1]
latex2rtf[0x404a01]
latex2rtf[0x405ade]
latex2rtf[0x4048ec]
latex2rtf[0x42189a]
latex2rtf[0x42074e]
latex2rtf[0x42046a]
latex2rtf[0x412ca3]
latex2rtf[0x412b53]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f97261cfb05]
latex2rtf[0x401979]
======= Memory map: ========
00400000-0044c000 r-xp 00000000 00:25
223826 /usr/bin/latex2rtf
0064b000-0064c000 r--p 0004b000 00:25
223826 /usr/bin/latex2rtf
0064c000-00656000 rw-p 0004c000 00:25
223826 /usr/bin/latex2rtf
00656000-0067c000 rw-p 00000000 00:00 0
011d7000-011f8000 rw-p 00000000 00:00 0 [heap]
7f9725f97000-7f9725fad000 r-xp 00000000 00:25
13002 /lib64/libgcc_s.so.1
7f9725fad000-7f97261ac000 ---p 00016000 00:25
13002 /lib64/libgcc_s.so.1
7f97261ac000-7f97261ad000 r--p 00015000 00:25
13002 /lib64/libgcc_s.so.1
7f97261ad000-7f97261ae000 rw-p 00016000 00:25
13002 /lib64/libgcc_s.so.1
7f97261ae000-7f972634c000 r-xp 00000000 00:25
13001 /lib64/libc-2.19.so
7f972634c000-7f972654c000 ---p 0019e000 00:25
13001 /lib64/libc-2.19.so
7f972654c000-7f9726550000 r--p 0019e000 00:25
13001 /lib64/libc-2.19.so
7f9726550000-7f9726552000 rw-p 001a2000 00:25
13001 /lib64/libc-2.19.so
7f9726552000-7f9726556000 rw-p 00000000 00:00 0
7f9726556000-7f9726656000 r-xp 00000000 00:25
13112 /lib64/libm-2.19.so
7f9726656000-7f9726855000 ---p 00100000 00:25
13112 /lib64/libm-2.19.so
7f9726855000-7f9726856000 r--p 000ff000 00:25
13112 /lib64/libm-2.19.so
7f9726856000-7f9726857000 rw-p 00100000 00:25
13112 /lib64/libm-2.19.so
7f9726857000-7f9726878000 r-xp 00000000 00:25
13020 /lib64/ld-2.19.so
7f9726a5b000-7f9726a5e000 rw-p 00000000 00:00 0
7f9726a73000-7f9726a77000 rw-p 00000000 00:00 0
7f9726a77000-7f9726a78000 r--p 00020000 00:25
13020 /lib64/ld-2.19.so
7f9726a78000-7f9726a79000 rw-p 00021000 00:25
13020 /lib64/ld-2.19.so
7f9726a79000-7f9726a7a000 rw-p 00000000 00:00 0
7ffedb8a9000-7ffedb8de000 rw-p 00000000 00:00 0 [stack]
7ffedb9d6000-7ffedb9d9000 r--p 00000000 00:00 0 [vvar]
7ffedb9d9000-7ffedb9db000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00
0 [vsyscall]
Abortado
----------
The full output of the command with -d6 flag can be found here:
http://pastebin.com/fH3KPKAq
Does anyone have any idea why this is happening?
Regards,
Ronan Arraes