I noticed that Debian package builds of both 7.8(.866-7) and 8.0(.358-1) have
recently started failing on the powerpc architecture.

https://buildd.debian.org/status/fetch.php?pkg=pike8.0&arch=powerpc&ver=8.0.358-1&stamp=1479857970

/«PKGBUILDDIR»/build/linux-3.16.0-4-powerpc64-ppc/pike -DNOT_INSTALLED 
-DPRECOMPILED_SEARCH_MORE 
-m/«PKGBUILDDIR»/build/linux-3.16.0-4-powerpc64-ppc/master.pike  
/«PKGBUILDDIR»/src/post_modules/GL/gen.pike 
/«PKGBUILDDIR»/src/post_modules/GL/auto.c.in > auto.c.tmp
Segmentation fault

This doesn't happen when pike is compiled with -O0, and 7.8.866-6
built fine (the only difference is that -7 is built with MariaDB
libraries instead of MySQL), so I assume a compiler bug, but perhaps
someone can help figuring out what's triggering it. The backtrace is
perhaps not terribly helpful (from 8.0.358):

(gdb) bt full
#0  jump_opcode_F_MARK_CALL_LFUN_AND_POP (arg1=272) at 
/home/zino/hack/pike8-rel/pike/src/interpret_functions.h:2418
        addr = <optimized out>
        jumpaddr = <optimized out>
#1  0xf7ceeb4c in ?? ()
No symbol table info available.
#2  0x20462184 in mega_apply_low (args=args@entry=0, 
arg1=arg1@entry=0x206b6370, arg2=<optimized out>) at ./src/interpret.c:2721
        saved_jmpbuf = <optimized out>
        uwp = {previous = 0xfffedc38, frame_pointer = 0x0, func = 0x204516a0 
<restore_catching_eval_jmpbuf>, arg = 0x0}
#3  0x204e4714 in call_pike_initializers (o=0x206b6370, args=args@entry=0) at 
./src/object.c:338
        p = 0x206b6370
#4  0x204e7b9c in get_master () at ./src/object.c:702
        f = <optimized out>
        uwp = {previous = 0x0, frame_pointer = 0x0, func = 0x204e5b50 
<get_master_cleanup>, arg = 0x0}
        inside = 1
#5  0x204e7f04 in debug_master () at ./src/object.c:720
        o = <optimized out>
#6  0x204d55cc in load_pike_master () at ./src/pike_embed.c:397
        m = <optimized out>
#7  0x2044724c in main (argc=6, argv=0xfffef534) at ./src/main.c:676
        m = <optimized out>
        back = {previous = 0x0, recovery = {{__jmpbuf = {-1376152737, 0, 
1917001823, 0 <repeats 13 times>, -134352256, -73784, 4, 543427968, -67736, 
570426500, 0 <repeats 40 times>, -1, 
                0 <repeats 49 times>}, __mask_was_saved = 0, __saved_mask = 
{__val = {0 <repeats 32 times>}}}}, frame_pointer = 0x0, stack_pointer = 0, 
mark_sp = 0, severity = 40, 
          onerror = 0xfffedbdc}
        e = <optimized out>
        num = <optimized out>
        p = 0xfffef767 ""
  • Seg... Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
      • ... Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum
            • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
              • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum
            • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum

Reply via email to