I just built Varkon version 1.19D in a plain Ubuntu 10.10 live session. Just had to imports the missing header files, everything went fine to me so far. Only the varkon/man/index.htm was empty. But a copy of varkon/sources/man/index.htm worked as expected.
Now to the major problem:
When starting varkon/com/english/varkon , which starts varkon/bin/xvarkon as -GLOBAL , and choosing to create a foo.RES, xvarkon terminates with a buffer overflow and does a coredump, which reads:
Hi folks,
I just built Varkon version 1.19D in a plain Ubuntu 10.10 live session. Just had to imports the missing header files, everything went fine to me so far. Only the varkon/man/index.htm was empty. But a copy of varkon/sources/man/index.htm worked as expected.
Now to the major problem:
When starting varkon/com/english/varkon , which starts varkon/bin/xvarkon as -GLOBAL , and choosing to create a foo.RES, xvarkon terminates with a buffer overflow and does a coredump, which reads:
ubuntu@ubuntu:~/Desktop/varkon/com/english$ ./varkon
*** buffer overflow detected ***: /home/ubuntu/Desktop/varkon/bin/xvarkon terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x50)
/lib/libc.so.6(+0xe487a)
/lib/libc.so.6(+0xe3e7a)
/home/ubuntu/Desktop/varkon/bin/xvarkon
/home/ubuntu/Desktop/varkon/bin/xvarkon
/home/ubuntu/Desktop/varkon/bin/xvarkon
/home/ubuntu/Desktop/varkon/bin/xvarkon
/home/ubuntu/Desktop/varkon/bin/xvarkon
/lib/libc.so.6(__libc_start_main+0xe7)
/home/ubuntu/Desktop/varkon/bin/xvarkon
======= Memory map: ========
00110000-00267000 r-xp 00000000 00:11 25 /lib/libc-2.12.1.so
00267000-00268000 --p 00157000 00:11 25 /lib/libc-2.12.1.so
00268000-0026a000 r-p 00157000 00:11 25 /lib/libc-2.12.1.so
0026a000-0026b000 rw-p 00159000 00:11 25 /lib/libc-2.12.1.so
0026b000-0026e000 rw-p 00000000 00:00 0
0026e000-00272000 r-xp 00000000 00:11 4590 /usr/lib/libXxf86vm.so.1.0.0
00272000-00273000 r-p 00003000 00:11 4590 /usr/lib/libXxf86vm.so.1.0.0
00273000-00274000 rw-p 00004000 00:11 4590 /usr/lib/libXxf86vm.so.1.0.0
00274000-0027c000 r-xp 00000000 00:11 2860 /lib/libdrm.so.2.4.0
0027c000-0027d000 r-p 00008000 00:11 2860 /lib/libdrm.so.2.4.0
0027d000-0027e000 rw-p 00009000 00:11 2860 /lib/libdrm.so.2.4.0
0027e000-00293000 r-xp 00000000 00:11 27 /lib/libpthread-2.12.1.so
00293000-00294000 --p 00015000 00:11 27 /lib/libpthread-2.12.1.so
00294000-00295000 r-p 00015000 00:11 27 /lib/libpthread-2.12.1.so
00295000-00296000 rw-p 00016000 00:11 27 /lib/libpthread-2.12.1.so
00296000-00298000 rw-p 00000000 00:00 0
00298000-002b2000 r-xp 00000000 00:11 1741 /lib/libgcc_s.so.1
002b2000-002b3000 r-p 00019000 00:11 1741 /lib/libgcc_s.so.1
002b3000-002b4000 rw-p 0001a000 00:11 1741 /lib/libgcc_s.so.1
002b4000-002b8000 r-xp 00000000 00:11 2308 /usr/lib/libXdmcp.so.6.0.0
002b8000-002b9000 r-p 00003000 00:11 2308 /usr/lib/libXdmcp.so.6.0.0
002b9000-002ba000 rw-p 00004000 00:11 2308 /usr/lib/libXdmcp.so.6.0.0
002bb000-00301000 r-xp 00000000 00:11 4632 /usr/lib/mesa/libGL.so.1.2
00301000-00302000 --p 00046000 00:11 4632 /usr/lib/mesa/libGL.so.1.2
00302000-00307000 r-p 00046000 00:11 4632 /usr/lib/mesa/libGL.so.1.2
00307000-0030c000 rwxp 0004b000 00:11 4632 /usr/lib/mesa/libGL.so.1.2
0030c000-0030e000 rwxp 00000000 00:00 0
0033f000-0034e000 r-xp 00000000 00:11 19693 /usr/lib/libXpm.so.4.11.0
0034e000-0034f000 r-p 0000e000 00:11 19693 /usr/lib/libXpm.so.4.11.0
0034f000-00350000 rw-p 0000f000 00:11 19693 /usr/lib/libXpm.so.4.11.0
0037b000-003d2000 r-xp 00000000 00:11 19695 /usr/lib/libtiff.so.4.3.3
003d2000-003d3000 --p 00057000 00:11 19695 /usr/lib/libtiff.so.4.3.3
003d3000-003d5000 r-p 00057000 00:11 19695 /usr/lib/libtiff.so.4.3.3
003d5000-003d6000 rw-p 00059000 00:11 19695 /usr/lib/libtiff.so.4.3.3
00416000-004f5000 r-xp 00000000 00:11 1740 /usr/lib/libstdc++.so.6.0.14
004f5000-004f9000 r-p 000de000 00:11 1740 /usr/lib/libstdc++.so.6.0.14
004f9000-004fa000 rw-p 000e2000 00:11 1740 /usr/lib/libstdc++.so.6.0.14
004fa000-00501000 rw-p 00000000 00:00 0
005a3000-005c2000 r-xp 00000000 00:11 5898 /usr/lib/libjpeg.so.62.0.0
005c2000-005c3000 r-p 0001e000 00:11 5898 /usr/lib/libjpeg.so.62.0.0
005c3000-005c4000 rw-p 0001f000 00:11 5898 /usr/lib/libjpeg.so.62.0.0
005fd000-00619000 r-xp 00000000 00:11 19 /lib/ld-2.12.1.so
00619000-0061a000 r-p 0001b000 00:11 19 /lib/ld-2.12.1.so
0061a000-0061b000 rw-p 0001c000 00:11 19 /lib/ld-2.12.1.so
00654000-00658000 r-xp 00000000 00:11 3533 /usr/lib/libXfixes.so.3.1.0
00658000-00659000 r-p 00003000 00:11 3533 /usr/lib/libXfixes.so.3.1.0
00659000-0065a000 rw-p 00004000 00:11 3533 /usr/lib/libXfixes.so.3.1.0
00672000-0067a000 r-xp 00000000 00:11 3511 /usr/lib/libXrender.so.1.3.0
0067a000-0067b000 r-p 00007000 00:11 3511 /usr/lib/libXrender.so.1.3.0
0067b000-0067c000 rw-p 00008000 00:11 3511 /usr/lib/libXrender.so.1.3.0
006a6000-00713000 r-xp 00000000 00:11 7306 /usr/lib/libGLU.so.1.3.070900
00713000-00714000 --p 0006d000 00:11 7306 /usr/lib/libGLU.so.1.3.070900
00714000-00715000 r-p 0006d000 00:11 7306 /usr/lib/libGLU.so.1.3.070900
00715000-00716000 rw-p 0006e000 00:11 7306 /usr/lib/libGLU.so.1.3.070900
00745000-00769000 r-xp 00000000 00:11 48 /lib/libm-2.12.1.so
00769000-0076a000 r-p 00023000 00:11 48 /lib/libm-2.12.1.so
0076a000-0076b000 rw-p 00024000 00:11 48 /lib/libm-2.12.1.so
0089e000-008a0000 r-xp 00000000 00:11 2270 /usr/lib/libXau.so.6.0.0
008a0000-008a1000 r-p 00001000 00:11 2270 /usr/lib/libXau.so.6.0.0
008a1000-008a2000 rw-p 00002000 00:11 2270 /usr/lib/libXau.so.6.0.0
008cb000-008cd000 r-xp 00000000 00:11 3531 /usr/lib/libXdamage.so.1.1.0
008cd000-008ce000 r-p 00001000 00:11 3531 /usr/lib/libXdamage.so.1.1.0
008ce000-008cf000 rw-p 00002000 00:11 3531 /usr/lib/libXdamage.so.1.1.0
00911000-00a2a000 r-xp 00000000 00:11 2252 /usr/lib/libX11.so.6.3.0
00a2a000-00a2b000 r-p 00118000 00:11 2252 /usr/lib/libX11.so.6.3.0
00a2b000-00a2d000 rw-p 00119000 00:11 2252 /usr/lib/libX11.so.6.3.0
00a2d000-00a2e000 rw-p 00000000 00:00 0
00a8c000-00a8e000 r-xp 00000000 00:11 46 /lib/libdl-2.12.1.so
00a8e000-00a8f000 r-p 00001000 00:11 46 /lib/libdl-2.12.1.so
00a8f000-00a90000 rw-p 00002000 00:11 46 /lib/libdl-2.12.1.so
00acb000-00ad3000 r-xp 00000000 00:11 3525 /usr/lib/libXcursor.so.1.0.2
00ad3000-00ad4000 r-p 00007000 00:11 3525 /usr/lib/libXcursor.so.1.0.2
00ad4000-00ad5000 rw-p 00008000 00:11 3525 /usr/lib/libXcursor.so.1.0.2
00af5000-00af6000 r-xp 00000000 00:00 0
00ba9000-00bb0000 r-xp 00000000 00:11 23 /lib/librt-2.12.1.so
00bb0000-00bb1000 r-p 00006000 00:11 23 /lib/librt-2.12.1.so
00bb1000-00bb2000 rw-p 00007000 00:11 23 /lib/librt-2.12.1.so
00cc7000-00cd5000 r-xp 00000000 00:11 2470 /usr/lib/libXext.so.6.4.0
00cd5000-00cd6000 r-p 0000d000 00:11 2470 /usr/lib/libXext.so.6.4.0
00cd6000-00cd7000 rw-p 0000e000 00:11 2470 /usr/lib/libXext.so.6.4.0
00dbf000-00dd2000 r-xp 00000000 00:11 321 /lib/libz.so.1.2.3.4
00dd2000-00dd3000 r-p 00012000 00:11 321 /lib/libz.so.1.2.3.4
00dd3000-00dd4000 rw-p 00013000 00:11 321 /lib/libz.so.1.2.3.4
00e0d000-00e25000 r-xp 00000000 00:11 2331 /usr/lib/libxcb.so.1.1.0
00e25000-00e26000 r-p 00017000 00:11 2331 /usr/lib/libxcb.so.1.1.0
00e26000-00e27000 rw-p 00018000 00:11 2331 /usr/lib/libxcb.so.1.1.0
08048000-08272000 r-xp 00000000 00:11 7941 /home/ubuntu/Desktop/varkon/bin/xvarkon
08272000-08273000 r-p 00229000 00:11 7941 /home/ubuntu/Desktop/varkon/bin/xvarkon
08273000-08277000 rw-p 0022a000 00:11 7941 /home/ubuntu/Desktop/varkon/bin/xvarkonAborted (core dumped)
Anyone an idea???
Unfortunately I am no C or Unix/Linux guru, so I have probs t read the innards… :-(
Best regards