Re: [Boost-bugs] [Boost C++ Libraries] #7093: Building "system" segfaults on AIX 6.1 / vacpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7093: Building "system" segfaults on AIX 6.1 / vacpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-07 14:04:13


#7093: Building "system" segfaults on AIX 6.1 / vacpp
----------------------------------------------------+-----------------------
  Reporter: Martin Baute <solar@…> | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: build
   Version: Boost 1.50.0 | Severity: Regression
Resolution: | Keywords: aix
----------------------------------------------------+-----------------------

Comment (by Martin Baute <solar@…>):

 I couldn't get gdb to produce any sensible output:

 {{{
 (gdb) bt
 #0 0x10008ec0 in ?? ()
 }}}

 Fortunately, '''dbx''' was a ''bit'' more forthcoming. Output from
 commands where it made sense:

 {{{
 Segmentation fault in . at 0x10008ec0
 0x10008ec0 (???) 93830000 stw r28,0x0(r3)
 }}}

 {{{
 (dbx) listi
 0x10008ec0 (???) 93830000 stw r28,0x0(r3)
 0x10008ec4 (???) 7c06292e stwx r0,r6,r5
 0x10008ec8 (???) 408100b8 ble 0x10008f80 (???)
 0x10008ecc (???) 7c8300d0 neg r4,r3
 0x10008ed0 (???) 7c1f00d0 neg r0,r31
 0x10008ed4 (???) 7c652378 or r5,r3,r4
 0x10008ed8 (???) 7fe00378 or r0,r31,r0
 0x10008edc (???) 38830004 addi r4,0x4(r3)
 0x10008ee0 (???) 7ca5fe70 srawi r5,r5,0x1f
 0x10008ee4 (???) 38df0004 addi r6,0x4(r31)
 }}}

 {{{
 (dbx) registers
   $r0:0x00000000 $stkp:0x2ff20310 $toc:0x30003d5c $r3:0x00000001
   $r4:0x00000000 $r5:0x00000000 $r6:0x30004330 $r7:0x00000004
   $r8:0x00000000 $r9:0xf0696f04 $r10:0x00000004 $r11:0x00000000
  $r12:0x1003c318 $r13:0xf0619018 $r14:0x66666667 $r15:0x30004848
  $r16:0x00000000 $r17:0x00000000 $r18:0x00000001 $r19:0x00000000
  $r20:0x30af2ef8 $r21:0x00000000 $r22:0x00000001 $r23:0x30b20d48
  $r24:0x30b19538 $r25:0x304b3e18 $r26:0x30473d8c $r27:0x00000002
  $r28:0x00000001 $r29:0x30b45c78 $r30:0x00000000 $r31:0x30af2ef8
  $iar:0x10008ec0 $msr:0x0000d032 $cr:0x44200284 $link:0x1003c338
  $ctr:0xd013fc20 $xer:0x2000001a
           Condition status = 0:g 1:g 2:e 5:e 6:l 7:g
         [unset $noflregs to view floating point registers]
         [unset $novregs to view vector registers]
         [unset $novsregs to view vector scalar registers]
 in . at 0x10008ec0
 0x10008ec0 (???) 93830000 stw r28,0x0(r3)
 }}}

 {{{
 (dbx) corefile
  Process Name: ./b2
  Version: 430
  Flags: CORE_VERSION_1 | UBLOCK_VALID | USTACK_VALID | LE_VALID
  Signal: SEGV
  Process Mode: 32 bit
 }}}

 {{{
 (dbx) coremap
 Mapping: Stack (size=0x3000)
    from (address): 0x2ff20000 - 0x2ff23000
    to (offset) : 0xb10 - 0x3b10
    in file : core

 Mapping: Loaded Module Text (size=0x59e44)
    from (address): 0x10000000 - 0x10059e44
    to (offset) : 0x0 - 0x59e44
    in file : ./b2

 Mapping: Loaded Module Data (size=0x6eff)
    from (address): 0x300005c9 - 0x300074c8
    to : not available

 Mapping: Loaded Module Text (size=0x3d0c3a)
    from (address): 0xd0118500 - 0xd04e913a
    to (offset) : 0x29500 - 0x3fa13a
    in file : /usr/lib/libc.a

 Mapping: Loaded Module Text (size=0x93e)
    from (address): 0xd0529100 - 0xd0529a3e
    to (offset) : 0x100 - 0xa3e
    in file : /usr/lib/libcrypt.a

 Mapping: Loaded Module Data (size=0xce938)
    from (address): 0xf0616290 - 0xf06e4bc8
    to : not available

 Mapping: Loaded Module Data (size=0x128)
    from (address): 0xf06e5608 - 0xf06e5730
    to : not available
 }}}

 {{{
 (dbx) where
 list_copy(??) at 0x10008ec0
 cmd_new(??, ??, ??, ??) at 0x1003c334
 make1cmds(??) at 0x10038960
 make1b(??) at 0x100377b4
 make1(??) at 0x100371a0
 make(??, ??) at 0x10034bc0
 builtin_update_now(??, ??) at 0x10025f3c
 function_run(??, ??, ??) at 0x1001efbc
 evaluate_rule(??, ??) at 0x10031cb8
 function_call_rule(??, ??, ??, ??, ??, ??, ??) at 0x1000fe24
 function_run(??, ??, ??) at 0x10020428
 parse_file(??, ??) at 0x1003eb78
 function_run(??, ??, ??) at 0x1002135c
 evaluate_rule(??, ??) at 0x10031cb8
 function_call_rule(??, ??, ??, ??, ??, ??, ??) at 0x1000fe24
 function_run(??, ??, ??) at 0x10020428
 evaluate_rule(??, ??) at 0x10031cb8
 function_call_rule(??, ??, ??, ??, ??, ??, ??) at 0x1000fe24
 function_run(??, ??, ??) at 0x10020428
 parse_file(??, ??) at 0x1003eb78
 function_run(??, ??, ??) at 0x1002135c
 parse_file(??, ??) at 0x1003eb78
 function_run(??, ??, ??) at 0x1002135c
 evaluate_rule(??, ??) at 0x10031cb8
 function_call_rule(??, ??, ??, ??, ??, ??, ??) at 0x1000fe24
 function_run(??, ??, ??) at 0x10020428
 parse_file(??, ??) at 0x1003eb78
 function_run(??, ??, ??) at 0x1002135c
 parse_file(??, ??) at 0x1003eb78
 main(??, ??, ??) at 0x10000d68
 }}}

 {{{
 (dbx) proc
 {
 -Identification/Authentication Info---------------------------
  pi_pid: 10092636 pi_sid: 23658612
  pi_ppid: 25297130 pi_pgrp: 6907
  pi_uid: 6907 pi_suid: 6907

 ---------------Controlling TTY Info---------------------------
  pi_ttyp: 10092636 pi_ttyd: 0x0000000000000001
  pi_ttympx: 0x0000000000000000

 -----------------------------Scheduler Information------------
  pi_nice: 0x00000014 pi_state: SACTIVE
  pi_flags: SLOAD | SNOSWAP | STRCME | SEXECED
  pi_flags2: <none>
  pi_thcount: 1 pi_cpu: 0
  pi_pri: 67

 ---------------------------------------------File Management--
  pi_maxofile: 0x00000004 pi_cmask: 0x0002
  pi_cdir: 0x73504020 pi_rdir: 0x00000000
  pi_comm: "b2"

 ----------------------------------Memory----------------------
  pi_adspace: 0x000000007f80f480
  pi_majflt: 0x0000000000000000 pi_minflt: 0x0000000000000f50
  pi_repage: 0x0000000000000000 pi_size: 0x000000000000091b
  pi_utime: N/A pi_stime: N/A

 -------Credentials, Accounting, Profiling & Resource Limits---
  pi_cred: (use proc cred)
  pi_ru: (use proc ru)
  pi_cru: (use proc cru)
  pi_ioch: 0x0000000000104f9e pi_irss: 0x00000000000b75f0
  pi_start: Thu Mar 7 14:43:32 2013
  pi_rlimit: (use proc rlimit)

 -Memory Usage-------------------------------------------------
  pi_drss: 0x00000000000008cc pi_trss: 0x000000000000005a
  pi_dvm: 0x00000000000008cc pi_pi_prm: 0x0000000000000000
  pi_tsize: 0x000000000004e4c9 pi_dsize: 0x0000000010b47c30
  pi_sdsize: 0x0000000000000000

 ------------------Signal Management---------------------------
  pi_signal: (use proc signal) pi_sigflags: (use proc
 sigflags)
  pi_sig: <none>


 ---------------------------------WLM Information--------------
  pi_classname: Unclassified
  pi_tag: <none>
  pi_chk_utime: N/A pi_chk_ctime: N/A
                                                                }
 }}}

 {{{
 (dbx) fd
 0: { fp = 0x0000000000000001, flags = ALLOCATED, count = 0 }
 1: { fp = 0x0000000000000001, flags = ALLOCATED, count = 0 }
 2: { fp = 0x0000000000000001, flags = ALLOCATED, count = 0 }
 3: { fp = 0x0000000000000001, flags = ALLOCATED, count = 0 }
 }}}

 {{{
 (dbx) map
 Entry 1:
    Object name: ./b2
    Text origin: 0x10000000
    Text length: 0x59e44
    Data origin: 0x300005c9
    Data length: 0x6eff
    File descriptor: 0x5

 Entry 2:
    Object name: /usr/lib/libcrypt.a
    Member name: shr.o
    Text origin: 0xd0529100
    Text length: 0x93e
    Data origin: 0xf06e5608
    Data length: 0x128
    File descriptor: 0x7

 Entry 3:
    Object name: /usr/lib/libc.a
    Member name: shr.o
    Text origin: 0xd0118500
    Text length: 0x3d0c3a
    Data origin: 0xf0616290
    Data length: 0xce938
    File descriptor: 0x9
 }}}

 Other commands weren't as helpful:

 {{{
 (dbx) malloc
 libcdebug.a cannot be initialized.
 }}}

 Sorry that you have to talk me through this, but I am not familiar with
 either Boost Jam or AIX-based debugging. I'm developing on Cygwin / Linux
 mostly, then merely compile the application on Visual Studio / AIX. When
 AIX starts throwing problems at me, I feel pretty much lost. ;-)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7093#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC