Search Postgresql Archives

Re: Initdb problem on debian mips cobalt: Bus error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Well, there's part of your problem: the program that is
> crashing is not
> initdb.  Specify the postgres executable, instead.  Note
> the
> 
> > warning: core file may not match specified executable
> file.
> > Core was generated by
> `/usr/pgsql_src/postgresql-8.3.3/src/test/regress/tmp_check/install/usr/local/pg'.
> 

Ok, that helps a bit and the output now looks a little more useful:

Program terminated with signal 10, Bus error.
#0  InitializeGUCOptions () at guc.c:3133
3133                    if (new_limit > 100)
(gdb) bt
#0  InitializeGUCOptions () at guc.c:3133
#1  0x004a1ec8 in AuxiliaryProcessMain (argc=4, argv=<value optimized out>)
    at bootstrap.c:230
#2  0x005979a8 in main (argc=4, argv=<value optimized out>) at main.c:147
(gdb)

So, guc.c:3133 is doing something to try and set stack depth.... And I've no idea what I'm looking for unfortunately.

And, the instruction pointer info:

(gdb) x/i $pc
0x7572d0 <InitializeGUCOptions+648>:
    beqz        v0,0x75748c <InitializeGUCOptions+1092>
(gdb) x/32i $pc-32
0x7572b0 <InitializeGUCOptions+616>:
    blez        v0,0x7572d8 <InitializeGUCOptions+656>
0x7572b4 <InitializeGUCOptions+620>:    move    v1,v0
0x7572b8 <InitializeGUCOptions+624>:    lui     v0,0xfff8
0x7572bc <InitializeGUCOptions+628>:    addu    v0,v1,v0
0x7572c0 <InitializeGUCOptions+632>:
    bltz        v0,0x75753c <InitializeGUCOptions+1268>
0x7572c4 <InitializeGUCOptions+636>:    nop
0x7572c8 <InitializeGUCOptions+640>:    sra     a2,v0,0xa
0x7572cc <InitializeGUCOptions+644>:    slti    v0,a2,101
0x7572d0 <InitializeGUCOptions+648>:
    beqz        v0,0x75748c <InitializeGUCOptions+1092>
0x7572d4 <InitializeGUCOptions+652>:    slti    v0,a2,2049
0x7572d8 <InitializeGUCOptions+656>:    lw      ra,84(sp)
0x7572dc <InitializeGUCOptions+660>:    lw      s8,80(sp)
0x7572e0 <InitializeGUCOptions+664>:    lw      s7,76(sp)
0x7572e4 <InitializeGUCOptions+668>:    lw      s6,72(sp)
0x7572e8 <InitializeGUCOptions+672>:    lw      s5,68(sp)
0x7572ec <InitializeGUCOptions+676>:    lw      s4,64(sp)
0x7572f0 <InitializeGUCOptions+680>:    lw      s3,60(sp)
0x7572f4 <InitializeGUCOptions+684>:    lw      s2,56(sp)
0x7572f8 <InitializeGUCOptions+688>:    lw      s1,52(sp)
0x7572fc <InitializeGUCOptions+692>:    lw      s0,48(sp)
---Type <return> to continue, or q <return> to quit---
0x757300 <InitializeGUCOptions+696>:    jr      ra
0x757304 <InitializeGUCOptions+700>:    addiu   sp,sp,88
0x757308 <InitializeGUCOptions+704>:    lw      t9,60(s0)
0x75730c <InitializeGUCOptions+708>:    nop
0x757310 <InitializeGUCOptions+712>:
    beqz        t9,0x757330 <InitializeGUCOptions+744>
0x757314 <InitializeGUCOptions+716>:    li      a1,1
0x757318 <InitializeGUCOptions+720>:    lw      a0,48(s0)
0x75731c <InitializeGUCOptions+724>:    jalr    t9
0x757320 <InitializeGUCOptions+728>:    move    a2,zero
0x757324 <InitializeGUCOptions+732>:    lw      gp,24(sp)
0x757328 <InitializeGUCOptions+736>:
    beqz        v0,0x757454 <InitializeGUCOptions+1036>
0x75732c <InitializeGUCOptions+740>:    addiu   a0,s6,-8968
(gdb)


> though this is evidently getting confused by the overly
> long path,
> so you might still see the warning even after picking the
> right
> executable.

I thought the same, but was hoping it's just a display problem.



      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux