status of pytables across architectures
Yaroslav Halchenko
debian at onerussian.com
Wed Feb 15 17:00:32 UTC 2012
> > I guess I would need to take care about those with ports teams and/or
> > rebuilding manually (I recall that previously that helped as a
> > temporary workaround)
> I found that sort of thread[1] or [2] when looking for bus-error and mips
> it is not very clear, but at least there is some ideas in it. In fact
> there is plenty of thoses bus-error messages...
> [1] http://postgresql.1045698.n5.nabble.com/Initdb-problem-on-debian-mips-cobalt-Bus-error-td1904368.html
> [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463808
below are some glory details on the bus error failure (also at
https://gist.github.com/1836685) . It looks like (and thanks to Julien Cristau
for help with answering my silly questions) -- that src needs to be 32bit
aligned for the casting to work correctly. Going through the code for the
history of src origin (defined as uint8_t*) I see no reflection of such,
thus it eventually leads to bus error... I will leave the fix up to you,
experts ;)
Program received signal SIGBUS, Bus error.
blosc_d (blocksize=32768, leftoverblock=<optimized out>, src=0x132f543 "S", dest=0x1421808 "", tmp=0x1429810 "", tmp2=
0x1431830 "") at blosc/blosc.c:330
330 cbytes = sw32(((uint32_t *)(src))[0]); /* amount of compressed bytes */
(gdb) print src
$1 = (uint8_t *) 0x132f543 "S"
(gdb) print ((uint32_t *)(src))[0]
$2 = 1392508928
(gdb) print sw32(((uint32_t *)(src))[0])
$3 = 83
(gdb) print cbytes
$4 = <optimized out>
(gdb) bt
#0 blosc_d (blocksize=32768, leftoverblock=<optimized out>, src=0x132f543 "S", dest=0x1421808 "", tmp=0x1429810 "", tmp2=
0x1431830 "") at blosc/blosc.c:330
#1 0xf5bde754 in serial_blosc () at blosc/blosc.c:422
#2 0xf5be043c in blosc_filter (flags=257, cd_nelmts=6, cd_values=<optimized out>, nbytes=186, buf_size=0xffff84c8, buf=
0xffff84c4) at blosc/blosc_filter.c:229
#3 0xf5b36e04 in H5Z_pipeline () from /usr/lib/libhdf5.so.7
#4 0xf5917ca4 in H5D_chunk_lock () from /usr/lib/libhdf5.so.7
#5 0xf5918d28 in ?? () from /usr/lib/libhdf5.so.7
#6 0xf5918d28 in ?? () from /usr/lib/libhdf5.so.7
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
0xf5bddfd0 <+144>: call 0xf5be0060 <blosclz_decompress>
0xf5bddfd4 <+148>: nop
0xf5bddfd8 <+152>: cmp %l2, %o0
0xf5bddfdc <+156>: bne,pn %icc, 0xf5bde0b0 <blosc_d+368>
0xf5bddfe0 <+160>: inc %l3
0xf5bddfe4 <+164>: add %i2, %i1, %i2
0xf5bddfe8 <+168>: add %l1, %o0, %l1
0xf5bddfec <+172>: cmp %l3, %l5
0xf5bddff0 <+176>: bge,pn %icc, 0xf5bde04c <blosc_d+268>
0xf5bddff4 <+180>: add %l4, %o0, %l4
=> 0xf5bddff8 <+184>: ld [ %i2 ], %o0
0xf5bddffc <+188>: call 0xf5bddd40 <sw32>
0xf5bde000 <+192>: add %i2, 4, %i2
0xf5bde004 <+196>: mov %o0, %i1
0xf5bde008 <+200>: mov %l1, %o2
0xf5bde00c <+204>: mov %i2, %o0
0xf5bde010 <+208>: mov %i1, %o1
0xf5bde014 <+212>: cmp %i1, %l2
> See you
> Frederic
--
=------------------------------------------------------------------=
Keep in touch www.onerussian.com
Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic
More information about the debian-science-maintainers
mailing list