Bug#676423: doxygen: new segmentation faults in version 1.8.1-1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Matthias, I see that you have included my patch in an upload together with a lot of other fixes, including a new upstream and I thank you for that. However, that certainly means that your new upload will not reach Wheezy. What is your plan to fix this bug in Wheezy? Is that fine for you if I upload an NMU (1.8.1-1+nmu1) to testing-proposed-updates? Kind regards, Thibaut. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJQCw7xAAoJEJOUU0jg3ChAfUgQAMfELzlnXjcTUKptiYOP3zmn qRKFnw2onlXGSugvRoVpyBIEObecikfvZtocwR0lNpLR8s2fKoZ6NeXxFmkEdPew 9yNX3vkY+v/Ic0YXsS0n75k1usu9GzCYk5XapDsJWE0tPy03I74wDW0eWBg0R4xf iTMGQm8AltqUw29uL8032DPNNOWDbsnP6MQoBCZLIkHadiy+r5hvz7mC8cF25pwR vNfAeZIvGeEmMaKtqYaA45qtLpK2FDhDwrlzJIQ9xjX1+I9AiYZ9klcR02yBDYyJ 9yCGLVM3aGpssdGWbv4t9ixt4tzE7TSYXL3lI3ZGaTd7msVETqSz4jMQd8VfOm3M 9im6ujZCVwAlwulbiU6DrL8kjJIhjaSuOrE2c6oeg0CtZEKx+MDwj1ongWqKStvP 5TLUrn9an0bEuR9kF4dEuEE23wsSBdPOf1nzlfvurtWm+NuA7qRYdhUwE5U9wjp3 iUvBMShvLZg50GFI6HbaUG8T6ZEtfzeDFUiXXUdGMerxphv1yc9cy0peWCDwCFJt iZAdu5vkZ4tiq3GtGGIxh/wGiHmO+8hIi80buDzEum4zScgm9nlFY3iy0hz8wZ3G sqPm6UGTlUp1xu0dpueIpZYZxO+WbDfBbeIc8J//wmmXSQRwh+ExYFXLdKo5GeZj KkCV7QQCNMVqWFakjwX1 =hYrx -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#676423: doxygen: new segmentation faults in version 1.8.1-1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Matthias, unless you object, I intend on NMUing this fix to unstable on Monday, Jul. 16th. Kind regards, Thibaut. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJP++gIAAoJEJOUU0jg3ChA/bYP/jMFnq+5gOykcCBWk3muOuGt HWgrVZx70NWttV6ATFn2g8NpXKUTTlDsQ7VuGK0gpsTiu/H4goir2CqtCTwoiAmf DBHjAR5f3fCA3Of6plcCDUPriyY8IqoiJ5RWO7EsgLW4CF+icrWuibNzI/Vsy8Zd +yoYSpXL/gRKve7Ye636iRelufa2U0N1UuKlZZYUpqPJE0JF06LvXCEXYKrLDZnT jDW3rZPcs2G9+9Fj9jyy+hPg7ICTNDat0drAa8Kr5ZSPbdSWUkL5JMp3Dk0Xax7K T+ODs9wMNMSsuVsCSLY+8i+RCPb1dy/kt5BUS8fseXsF8l6JKBcN/Jk+qTMBTQ57 Qkic/uWftFjblWZ1+Aso7S86yc/Oa8NtKsRacbCOBXoqC/rbnlNuKBoQSdlcDaR5 AIMlWi9+Z+5/ZXu5Xh9MjAaEAXcZf5X/NBczKridMc7mMTA0Z7nh+NXF6J8xrAV8 5qMmJNFbd+bsIQegeR3zYC9idJdCaQBkDR2ojW+v4u/6V25FsGQSLzFNY5gosl41 cfYqlZ++tNSLvboF2ft90AxUhKu1ih3szMmCsHGgoZxiaLHHt2dCr5pZ3SMmPGwP +T4tUULpYU2xkN11N2t15Pd/5PPg+rmnKL1UXdjRPPFYn1I76AWYNfbEVzoVn7Lj NDPDMpFIcC1ReHyPM1yt =v1+a -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#676423: doxygen: new segmentation faults in version 1.8.1-1
package doxygen tags 676423 + patch thanks Hi, removeEmptyLines() segfaults on empty string. Here comes a patch. Regards, Thibaut. Description: fix for 676423: new segmentation faults in version 1.8.1-1 removeEmptyLines() segfaults on empty string Author: Thibaut Paumard paum...@users.sourceforge.net Origin: vendor Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676423 Forwarded: no Last-Update: 2012-07-05 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -936,6 +936,11 @@ static QCString removeEmptyLines(const QCString s) { BufStr out(s.length()+1); + if (s.length()==0) + { +out.addChar('\0'); +return out.data(); + } char *p=s.data(); char c; while ((c=*p++)) signature.asc Description: OpenPGP digital signature
Bug#676423: doxygen: new segmentation faults in version 1.8.1-1
Package: doxygen Version: 1.8.1-1 Severity: important Hi, Previous verison (1.7.6.1-2.1) in Debian works fine (I saved the package). Version 1.8.0 in Gentoo Linux works fine too. Now in Gentoo doxygen also has version 1.8.1 by default, and it fails with the same backtrace. So I believe new bug comes from upstream. How to reproduce: 1) I found this problem when I was trying to rebuild my package with new doxygen: $ export LC_ALL=C $ dget -x http://mentors.debian.net/debian/pool/main/l/leechcraft/leechcraft_0.5.70+dfsg-1.dsc $ cd leechcraft-0.5.70+dfsg/ $ dpkg-buildpackage -rfakeroot -A ... Generating code for file cut/src/interfaces/core/icoreproxy.h... Segmentation fault make[1]: *** [override_dh_auto_build-indep] Error 139 ... 2) More common way to reproduce this problem: $ git clone --depth 1 git://github.com/0xd34df00d/leechcraft.git leechcraft-git $ cd leechcraft-git/doc/doxygen/core/ $ gdb doxygen (gdb) run Doxyfile ... Generating code for file cut/src/interfaces/core/icoreproxy.h... Program received signal SIGSEGV, Segmentation fault. 0x080b41b8 in ?? () (gdb) bt full #0 0x080b41b8 in ?? () No symbol table info available. #1 0x080b5f71 in ?? () No symbol table info available. #2 0x080b6000 in ?? () No symbol table info available. #3 0x081da799 in ?? () No symbol table info available. #4 0x080c1767 in ?? () No symbol table info available. #5 0x080c19be in ?? () No symbol table info available. #6 0x08084b49 in ?? () No symbol table info available. #7 0x08055654 in ?? () No symbol table info available. #8 0x0806f9ed in ?? () No symbol table info available. #9 0x0804b955 in ?? () No symbol table info available. #10 0xb7d1fe46 in __libc_start_main (main=0x804b920, argc=2, ubp_av=0xb104, init=0x8387200, fini=0x83871f0, rtld_fini=0xb7ff1300, stack_end=0xb0fc) at libc-start.c:228 result = optimized out unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1209655308, 0, 0, -1073745704, -1312585419, -304128219}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x2, 0x804f950}, data = {prev = 0x0, cleanup = 0x0, canceltype = 2}}} not_first_call = optimized out #11 0x0804f971 in ?? () No symbol table info available. (gdb) quit $ cd ../azoth/ $ gdb doxygen (gdb) run Doxyfile ... Generating code for file cut/src/plugins/azoth/interfaces/azoth/azothcommon.h... Program received signal SIGSEGV, Segmentation fault. 0x080b41b8 in ?? () (gdb) bt full #0 0x080b41b8 in ?? () No symbol table info available. #1 0x080b5f71 in ?? () No symbol table info available. #2 0x080b6000 in ?? () No symbol table info available. #3 0x081da799 in ?? () No symbol table info available. #4 0x080c1767 in ?? () No symbol table info available. #5 0x080c19be in ?? () No symbol table info available. #6 0x08084b49 in ?? () No symbol table info available. #7 0x08055654 in ?? () No symbol table info available. #8 0x0806f9ed in ?? () No symbol table info available. #9 0x0804b955 in ?? () No symbol table info available. #10 0xb7d1fe46 in __libc_start_main (main=0x804b920, argc=2, ubp_av=0xb104, init=0x8387200, fini=0x83871f0, rtld_fini=0xb7ff1300, stack_end=0xb0fc) at libc-start.c:228 result = optimized out unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1209655308, 0, 0, -1073745704, -358381650, -1228975682}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x2, 0x804f950}, data = {prev = 0x0, cleanup = 0x0, canceltype = 2}}} not_first_call = optimized out #11 0x0804f971 in ?? () No symbol table info available. Do you need any additional information? Best regards, Boris