On Tue, Aug 12, 2008 at 01:12:17PM -0300, Lucas Nussbaum wrote: > Hi, > > I tried to build ruby1.9 on an hppa box provided by Aurelien Jarno, > running linux-image-2.6.26-1-parisc. > > The build fails with: > compiling continuation > make[2]: Entering directory > `/home/lucas/ruby1.9-1.9.0.2/ext/continuation' > cc -I. -I../../.ext/include/hppa-linux -I../.././include > -I../.././ext/continuation -DRUBY_EXTCONF_H=\"extconf.h\" > -D_FILE_OFFSET_BITS=64 -fPIC -fno-strict-aliasing -g -g -O2 -O2 -g > -Wall -Wno-parentheses -fPIC -o continuation.o -c continuation.c > cc -shared -o ../../.ext/hppa-linux/continuation.so continuation.o -L. > -L../.. -L. -rdynamic -Wl,-export-dynamic -lruby1.9 -lpthread -lrt > -ldl -lcrypt -lm -lc > make[2]: Leaving directory > `/home/lucas/ruby1.9-1.9.0.2/ext/continuation' > compiling curses > make[1]: *** [all] Segmentation fault > make[1]: Leaving directory `/home/lucas/ruby1.9-1.9.0.2' > make: *** [debian/stamp-makefile-build] Error 2 > dpkg-buildpackage: failure: debian/rules build gave error exit status 2 > > dmesg shows: > [17222611.660000] _______________________________ > [17222611.660000] < Your System ate a SPARC! Gah! > > [17222611.660000] ------------------------------- > [17222611.660000] \ ^__^ > [17222611.660000] \ (xx)\_______ > [17222611.660000] (__)\ )\/\ > [17222611.660000] U ||----w | > [17222611.660000] || || > [17222612.092000] miniruby (pid 18080): Protection id trap (code 27) > [17222612.164000] > [17222612.184000] YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI > [17222612.244000] PSW: 00000000000001000000000000001111 Not tainted > [17222612.316000] r00-03 0004000f 1013f000 1018e6b8 00000000 > [17222612.384000] r04-07 15d099a0 00000000 00000000 00000000 > [17222612.448000] r08-11 00000000 15c440c8 0020fd08 15c4415c > [17222612.512000] r12-15 15c4414c 403e73d8 00001000 40007000 > [17222612.580000] r16-19 002120a0 00000010 0020fd90 0020fd0e > [17222612.644000] r20-23 00000000 15c4414c 00000000 00000000 > [17222612.712000] r24-27 00000000 15c44260 15c44278 10386300 > [17222612.776000] r28-31 00000001 00000000 15c44500 00000000 > [17222612.840000] sr00-03 00000000 00000000 00000000 00001541 > [17222612.908000] sr04-07 00000000 00000000 00000000 00000000 > [17222612.976000] > [17222612.996000] IASQ: 00000000 00000000 IAOQ: 1018e6e4 1018e6e8 > [17222613.064000] IIR: 0e74d240 ISR: 00001541 IOR: 0020fd0e > [17222613.136000] CPU: 0 CR30: 15c44000 CR31: f010c010 > [17222613.204000] ORIG_R28: 00000001 > [17222613.244000] IAOQ[0]: do_sys_poll+0x2a8/0x350 > [17222613.300000] IAOQ[1]: do_sys_poll+0x2ac/0x350 > [17222613.356000] RP(r2): do_sys_poll+0x27c/0x350 > [17222613.408000] Backtrace: > [17222613.440000] [<1018e7dc>] sys_poll+0x50/0xa0 > [17222613.496000] [<1010f078>] syscall_exit+0x0/0x14 > [17222613.552000] > [17222613.572000] Backtrace: > [17222613.604000] [<1010b150>] die_if_kernel+0x130/0x1a0 > [17222613.668000] [<1010b638>] handle_interruption+0x478/0x648 > [17222613.736000] [<1010e078>] intr_check_sig+0x0/0x34 > [17222613.796000] > [17222619.948000] _______________________________ > [17222619.948000] < Your System ate a SPARC! Gah! > > [17222619.948000] ------------------------------- > [17222619.948000] \ ^__^ > [17222619.948000] \ (xx)\_______ > [17222619.948000] (__)\ )\/\ > [17222619.948000] U ||----w | > [17222619.948000] || || > [17222620.380000] miniruby (pid 18079): Protection id trap (code 27) > [17222620.452000] > [17222620.472000] YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI > [17222620.532000] PSW: 00000000000001001111111100001111 Tainted: G D > [17222620.612000] r00-03 0004ff0f 1039da9c 1015f8ac 00000508 > [17222620.680000] r04-07 10c202cc 00002000 104bfd60 00000000 > [17222620.744000] r08-11 00000000 00000508 00000000 00000000 > [17222620.808000] r12-15 ffffffff 15c21c08 00000fff 10c201c8 > [17222620.876000] r16-19 10c20220 00000002 00000000 004e0f10 > [17222620.940000] r20-23 00000508 00000000 00000508 00000508 > [17222621.008000] r24-27 00000000 104bfd60 10c202cc 10386300 > [17222621.072000] r28-31 00000000 00000000 10c20400 104bfd60 > [17222621.136000] sr00-03 00000000 00001417 00000000 00001541 > [17222621.204000] sr04-07 00000000 00000000 00000000 00000000 > [17222621.272000] > [17222621.292000] IASQ: 00000000 00000000 IAOQ: 1015d18c 1015d190 > [17222621.360000] IIR: 0e7cd200 ISR: 00001541 IOR: 004e0f10 > [17222621.432000] CPU: 0 CR30: 10c20000 CR31: f010c010 > [17222621.500000] ORIG_R28: 1740aba0 > [17222621.540000] IAOQ[0]: file_read_actor+0x5c/0x178 > [17222621.600000] IAOQ[1]: file_read_actor+0x60/0x178 > [17222621.656000] RP(r2): generic_file_aio_read+0x2e0/0x598 > [17222621.720000] Backtrace: > [17222621.752000] [<1015f8ac>] generic_file_aio_read+0x2e0/0x598 > [17222621.824000] [<101808ac>] do_sync_read+0xd0/0x134 > [17222621.884000] [<1018130c>] vfs_read+0x84/0x174 > [17222621.940000] [<10181838>] sys_read+0x54/0x9c > [17222621.996000] [<1010f078>] syscall_exit+0x0/0x14 > [17222622.052000] > [17222622.072000] Backtrace: > [17222622.104000] [<1010b150>] die_if_kernel+0x130/0x1a0 > [17222622.164000] [<1010b638>] handle_interruption+0x478/0x648 > [17222622.232000] [<1010e078>] intr_check_sig+0x0/0x34 > [17222622.292000] > > [EMAIL PROTECTED]:~$ ps x > PID TTY STAT TIME COMMAND > 5999 ? Ss 0:00 SCREEN > 6000 pts/1 Ss 0:11 /bin/bash > 6098 pts/1 S+ 0:09 -bash > 18081 pts/1 R 85:44 ./miniruby -I./lib -I.ext/common -I./- > -r./ext/purelib.rb ./ext/extmk.rb --make=/usr/bin/make --dest-dir= > --extout=.ext > 19365 ? S 0:00 sshd: [EMAIL PROTECTED]/0 > 19366 pts/0 Ss 0:11 -bash > 19422 pts/0 R+ 0:00 ps x > > killing the leftover process (18081) works (the process is killed). It doesn't > cause a system crash anymore. > > Rerunning the same command reproduces the segfault.
Do you have a backtrace of the segfault? -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]