Bug #13711 Server crash on IRIX 6.5

Submitted: 3 Oct 2005 11:50 Modified: 11 May 2006 9:53
Reporter: Kent Boortz Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.14-pre OS:Other (IRIX 6.5)
Assigned to: Magnus Blåudd CPU Architecture:Any

[3 Oct 2005 11:50] Kent Boortz
Description:
Basically the server isn't working on IRIX 6.5, all tests fail.
The crashes all share the same backtrace (using gdb, 32 bit build):

#0  0x0fa4aaa8 in _prctl ()
     at /xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s:15
15      /xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s: No
such file or directory.
         in /xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s
(gdb) #0  0x0fa4aaa8 in _prctl ()
     at /xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/proc/prctl.s:15
#1  0x0c05ff84 in pthread_kill () at sig.c:149
#2  0x1044528c in write_core ()
#3  0x10205b20 in handle_segfault ()
#4  0x0c060870 in _SGIPT_libc_sigaction () from /usr/lib32/libpthread.so

Evaluating the same core files with "dbx", I get (again, on all crashes
checked):
Thread 0x10000
 >  0 __select(0x11, 0x7fff2ce0, 0x0, 0x0, 0x0, 0x75, 0x61, 0x11d72798)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/sys/select.s":17, 0xfa44ba8]
    1 _select(0x11, 0x7fff2ce0, 0x0, 0x0, 0x0, 0x75, 0x61, 0x11d72798)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_n32_M4/sys/selectSCI.c":30,
0xfa44c7c]
    2 <Unknown>() [< unknown >, 0x10208180]

On a 64 bit build, gdb does not work, and dbx yields this:
Core from signal SIGABRT: Abort (see abort(3c))
Thread 0x10000
 >  0 __select(0x11, 0xffffffabc0, 0x0, 0x0, 0x40000, 0x127260b5,
0xe0a1, 0x0)
["/xlv46/6.5.25m/work/irix/lib/libc/libc_64_M4/sys/select.s":17, 0xd9fcd48]
    1 _select(0x11, 0xffffffabc0, 0x0, 0x0, 0x40000, 0x127260b5, 0xe0a1,
0x0) ["/xlv46/6.5.25m/work/irix/lib/libc/libc_64_M4/sys/selectSCI.c":30,
0xd9fce24]
    2 <Unknown>() [< unknown >, 0x1024d948]

Some system information of the machine:
uname -a:        IRIX64 octane2 6.5 07080050 IP30
Compiler:        MIPSpro Compilers: Version 7.41
Typical flags:   cc -O3 -c99 -OPT:Olimit=0 .....
    for 64 bit:   cc -O3 -c99 -OPT:Olimit=0 -64 .....

How to repeat:
Compile and run test suite on IRIX 6.5
[22 Jul 2006 14:29] Peter O'Gorman
Seeing this on 5.0.22 - irix compiler used to build, works okay with gcc:

   8 _SGIPT_libc_raise(0x0, 0x4, 0xffff, 0x0, 0x131c1200, 0x0, 0x1312dcc4, 0x1319d928) ["/xlv41/6.5.26m/work/eoe/lib/libpthread/libpthread_n32_M3/sig.c":660, 0xc060f90]
More (n if no)?y
   9 _raise(0x15, 0x4, 0xffff, 0x0, 0x131c1200, 0x0, 0x1312dcc4, 0x1319d928) ["/xlv52/patches/5820/work/irix/lib/libc/libc_n32_M4/signal/raise.c":26, 0xfad16ac]
   10 abort(0x15, 0x4, 0xffff, 0x0, 0x131c1200, 0x0, 0x1312dcc4, 0x1319d928) ["/xlv52/patches/5820/work/irix/lib/libc/libc_n32_M4/gen/abort.c":44, 0xfa6ef2c]
   11 ::_array_pointer_not_from_vec_new(0x15, 0x4, 0xffff, 0x0, 0x131c1200, 0x0, 0x1312dcc4, 0x1319d928) ["/j7/mtibuild/v744/workarea/v7.4.4m/libC/lang_support/vec_newdel.cxx":862, 0xace729c]
   12 ::__array_delete_general2(0x131a7c88, 0xffffffff, 0x0, 0x103c4fd0, 0x131c1200, 0x0, 0x1312dcc4, 0x1319d928) ["/j7/mtibuild/v744/workarea/v7.4.4m/libC/lang_support/vec_newdel.cxx":342, 0xace6fbc]
   13 ::__array_delete2(0x15, 0x4, 0xffff, 0x0, 0x131c1200, 0x0, 0x1312dcc4, 0x1319d928) ["/j7/mtibuild/v744/workarea/v7.4.4m/libC/lang_support/vec_newdel.cxx":762, 0xace7168]
   14 JOIN::cleanup(bool)(this = 0x131a5bf0, full = true (1)) ["/opt/build/mysql-5.0.22/sql/sql_class.h":1825, 0x103d9484]
   15 JOIN::join_free(void)(this = 0x131a5bf0) ["/opt/build/mysql-5.0.22/sql/sql_select.cc":5932, 0x103d8ce8]
   16 JOIN::exec(void)(this = 0x131a5bf0) ["/opt/build/mysql-5.0.22/sql/sql_select.cc":1545, 0x103d6250]
   17 ::mysql_select(THD*,Item***,st_table_list*,unsigned int,List<Item>&,Item*,unsigned int,st_order*,st_order*,Item*,st_order*,unsigned long,select_result*,st_select_lex_unit*,st_select_lex*)
[18 May 2007 16:39] Magnus Blåudd
This is a duplicate of BUG#25285

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.055 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.