Open fbi-ranger opened 8 years ago
Florian,
This is all very strange. This is VERY similar to the alignment issue (except it only affected -O3 builds).
Could you try doing a debug build, (--enable-debug during ./configure), allow core files (ulimit -c unlimited) and then use gdb to see where the heck you are getting this SIGSEGV.
Thanks, Ivan
Ivan,
Thanks for that hint. I can only proceed tomorrow. However I setup a system on DEBIAN 8.5. There the same behaviour happened. Same Segmentation Error as under openSUSE.
Florian
Ivan,
Could not stop. Here you have the debug info:
[New Thread 0x7fffded8e700 (LWP 11245)]4DA 64.......Z instcnt 53,362,297; mips 53.28; I/O 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdee8f700 (LWP 11244)]
0x00007ffff588a4e3 in pthread_mutex_trylock () from /lib64/libpthread.so.0
Missing separate debuginfos, use: zypper install libbz2-1-debuginfo-1.0.6-29.4.1.x86_64 libz1-debuginfo-1.2.8-5.1.2.x86_64
(gdb) quit
A debugging session is active.
Inferior 1 [process 11196] will be killed.
Quit anyway? (y or n) n
Not confirmed.
(gdb) backtrace
#0 0x00007ffff588a4e3 in pthread_mutex_trylock () from /lib64/libpthread.so.0
#1 0x00007ffff6e38b56 in hthread_obtain_lock (plk=plk@entry=0x7ffff72a0040 <cacheblk+64>,
location=location@entry=0x7ffff709230c "cache.c:161") at hthreads.c:333
#2 0x00007ffff705b414 in cache_lock (ix=ix@entry=0) at cache.c:161
#3 0x00007ffff70788d8 in ckddasd_read_track (dev=0x16e7000, trk=-1, unitstat=0x7fffdee7b2ff "")
at ckddasd.c:949
#4 0x00007ffff707288b in ckddasd_end (dev=<optimized out>) at ckddasd.c:1204
#5 0x00007ffff75e00a4 in z900_execute_ccw_chain (arg=arg@entry=0x16e7000) at channel.c:5519
#6 0x00007ffff75dd3f1 in call_execute_ccw_chain (arch_mode=<optimized out>,
pDevBlk=pDevBlk@entry=0x16e7000) at channel.c:6198
#7 0x00007ffff75dd536 in device_thread (arg=arg@entry=0x0) at channel.c:2332
#8 0x00007ffff6e38841 in hthread_func (arg2=0x7ffff00008c0) at hthreads.c:777
#9 0x00007ffff58880a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff55bdcbd in clone () from /lib64/libc.so.6
Known problem !
Before IPLing the INS file, issue a dummy IPL to one of the CCKD file.
It's a bug in the CCKD cache handling code.
Ivan
Hi Ivan, very well. I did as you advised and it is working. But this must be new isn't it? Some weeks ago I didn't had this problem.
Florian
Try to start a first level install of zVM 6.3. The Hercules SYSG console (UA 0000) is active. Hercules crashes with Segmentation fault. Following the Hercules messages on the HMC:
Latest GIT commit compiled with and without -O3.
OS Version is openSUSE 13.2.