Hi Alex, I can replicate this with a manual build, and the manual has the cflags option as you asked.
Lance On Wed, 29 Oct 2008 21:42:53 +0000, Alex Hudson <[EMAIL PROTECTED]> wrote: > Hey -devel > > I don't remember if I said anything here, but a while ago I turned on > stack-smashing protection in Bongo's build system - basically, on modern > systems, the compiler puts extra checks in to catch buffer overruns and > that kind of thing. > > Lance has found one; I'm sending it here so that I don't forget or for > someone to look at fixing BongoJsonJPath() for me :) > > Cheers, > > Alex. > > IP address to run on [127.0.0.1]: > DNS name to use as main hostname: [localhost]: > Mail Domains (enter "" to end adding domains): []: haigmail.co.uk > Mail Domains (enter "" to end adding domains): []: > Complete. > *** stack smashing detected ***: bongo-config terminated > ======= Backtrace: ========= > /lib/libc.so.6(__fortify_fail+0x48)[0xb7e704c8] > /lib/libc.so.6(__fortify_fail+0x0)[0xb7e70480] > /usr/lib/libbongo-json.so.0[0xb7d6b894] > /usr/lib/libbongo-json.so.0(BongoJsonJPath+0x273)[0xb7d68ebb] > /usr/lib/libbongo-json.so.0(BongoJsonJPath+0x1bb)[0xb7d68e03] > bongo-config[0x804a0e4] > bongo-config[0x804a6ce] > bongo-config[0x804a4a7] > bongo-config[0x804b834] > /lib/libc.so.6(__libc_start_main+0xe5)[0xb7da35f5] > bongo-config[0x8049e21] > ======= Memory map: ======== > 08048000-0804e000 r-xp 00000000 08:02 572355 /usr/sbin/bongo-config > 0804e000-0804f000 r--p 00005000 08:02 572355 /usr/sbin/bongo-config > 0804f000-08050000 rw-p 00006000 08:02 572355 /usr/sbin/bongo-config > 08050000-083eb000 rw-p 08050000 00:00 0 [heap] > b66e4000-b66f0000 r-xp 00000000 08:02 457962 /lib/libgcc_s.so.1 > b66f0000-b66f1000 r--p 0000b000 08:02 457962 /lib/libgcc_s.so.1 > b66f1000-b66f2000 rw-p 0000c000 08:02 457962 /lib/libgcc_s.so.1 > b66f2000-b6796000 rw-p b66f2000 00:00 0 > b6796000-b6797000 ---p b6796000 00:00 0 > b6797000-b6f97000 rw-p b6797000 00:00 0 > b6f97000-b6f98000 ---p b6f97000 00:00 0 > b6f98000-b7798000 rw-p b6f98000 00:00 0 > b7798000-b77a1000 r-xp 00000000 08:02 457886 /lib/libnss_files-2.8.so > b77a1000-b77a2000 r--p 00008000 08:02 457886 /lib/libnss_files-2.8.so > b77a2000-b77a3000 rw-p 00009000 08:02 457886 /lib/libnss_files-2.8.so > b77a3000-b77ab000 r-xp 00000000 08:02 457890 /lib/libnss_nis-2.8.so > b77ab000-b77ac000 r--p 00007000 08:02 457890 /lib/libnss_nis-2.8.so > b77ac000-b77ad000 rw-p 00008000 08:02 457890 /lib/libnss_nis-2.8.so > b77ad000-b77c0000 r-xp 00000000 08:02 457880 /lib/libnsl-2.8.so > b77c0000-b77c1000 r--p 00012000 08:02 457880 /lib/libnsl-2.8.so > b77c1000-b77c2000 rw-p 00013000 08:02 457880 /lib/libnsl-2.8.so > b77c2000-b77c4000 rw-p b77c2000 00:00 0 > b77c4000-b77cb000 r-xp 00000000 08:02 457882 /lib/libnss_compat-2.8.so > b77cb000-b77cc000 r--p 00006000 08:02 457882 /lib/libnss_compat-2.8.so > b77cc000-b77cd000 rw-p 00007000 08:02 457882 /lib/libnss_compat-2.8.so > b77dd000-b781c000 r--p 00000000 08:02 1087651 > /usr/lib/locale/en_GB.utf8/LC_CTYPE > b781c000-b781e000 rw-p b781c000 00:00 0 > b781e000-b7825000 r-xp 00000000 08:02 982898 > /usr/lib/libkrb5support.so.0.1 > b7825000-b7826000 r--p 00006000 08:02 982898 > /usr/lib/libkrb5support.so.0.1 > b7826000-b7827000 rw-p 00007000 08:02 982898 > /usr/lib/libkrb5support.so.0.1 > b7827000-b7828000 rw-p b7827000 00:00 0 > b7828000-b783f000 r-xp 00000000 08:02 982932 > /usr/lib/libsasl2.so.2.0.22 > b783f000-b7840000 r--p 00016000 08:02 982932 > /usr/lib/libsasl2.so.2.0.22 > b7840000-b7841000 rw-p 00017000 08:02 982932 > /usr/lib/libsasl2.so.2.0.22 > b7841000-b784e000 r-xp 00000000 08:02 982973 > /usr/lib/liblber-2.4.so.2.0.5 > b784e000-b784f000 r--p 0000c000 08:02 982973 > /usr/lib/liblber-2.4.so.2.0.5 > b784f000-b7850000 rw-p 0000d000 08:02 982973 > /usr/lib/liblber-2.4.so.2.0.5 > b7850000-b7852000 r-xp 00000000 08:02 457942 /lib/libkeyutils-1.2.so > b7852000-b7853000 r--p 00001000 08:02 457942 /lib/libkeyutils-1.2.so > b7853000-b7854000 rw-p 00002000 08:02 457942 /lib/libkeyutils-1.2.so > b7854000-b7856000 r-xp 00000000 08:02 457968 /lib/libcom_err.so.2.1 > b7856000-b7857000 r--p 00001000 08:02 457968 /lib/libcom_err.so.2.1 > b7857000-b7858000 rw-p 00002000 08:02 457968 /lib/libcom_err.so.2.1 > b7858000-b787b000 r-xp 00000000 08:02 982886 > /usr/lib/libk5crypto.so.3.1 > b787b000-b787c000 r--p 00022000 08:02 982886 > /usr/lib/libk5crypto.so.3.1 > b787c000-b787d000 rw-p 00023000 08:02 982886 > /usr/lib/libk5crypto.so.3.1 > b787d000-b787e000 rw-p b787d000 00:00 0 > b787e000-b790f000 r-xp 00000000 08:02 982896 /usr/lib/libkrb5.so.3.3 > b790f000-b7911000 r--p 00090000 08:02 982896 /usr/lib/libkrb5.so.3.3 > b7911000-b7912000 rw-p 00092000 08:02 982896 /usr/lib/libkrb5.so.3.3 > b7912000-b793b000 r-xp 00000000 08:02 982882 > /usr/lib/libgssapi_krb5.so.2.2 > b793b000-b793c0Aborted > > > > _______________________________________________ > Bongo-devel mailing list > [email protected] > https://mail.gna.org/listinfo/bongo-devel _______________________________________________ Bongo-devel mailing list [email protected] https://mail.gna.org/listinfo/bongo-devel
