pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[8.4.4] Strange bus error on Solaris 10/sparc
3+ messages / 2 participants
[nested] [flat]

* [8.4.4] Strange bus error on Solaris 10/sparc
@ 2010-09-16 08:51 BERTRAND Joel <joel.bertrand@systella.fr>
  2010-09-16 13:56 ` Re: [8.4.4] Strange bus error on Solaris 10/sparc Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: BERTRAND Joel @ 2010-09-16 08:51 UTC (permalink / raw)
  To: pgsql-bugs

	Hello,

	A have written a program that randomly crashes on Solaris 10. This 
program has been tested with valgrind without any error and runs fine on 
all other systems I have. I cannot reproduce this bug with a minimal 
program.

Backtrace :
Core was generated by `/usr/local/bin/rpl -csdnp ./serveur.rpl'.
Program terminated with signal 10, Bus error.
#0  0xffffffff0b828854 in __memget () from /lib/sparcv9//libresolv.so.2
(gdb) bt
#0  0xffffffff0b828854 in __memget () from /lib/sparcv9//libresolv.so.2
#1  0xffffffff0b81c090 in __net_data_create () from 
/lib/sparcv9//libresolv.so.2
#2  0xffffffff0b81c018 in __net_data_init () from 
/lib/sparcv9//libresolv.so.2
#3  0xffffffff0b81ee38 in init () from /lib/sparcv9//libresolv.so.2
#4  0xffffffff0b81d864 in res_gethostbyname2 () from 
/lib/sparcv9//libresolv.so.2
#5  0xffffffff0fe012e4 in _nss_dns_gethostbyname2 ()
    from /usr/lib/sparcv9//nss_dns.so.1
#6  0xffffffff0fe01e88 in getbyname () from /usr/lib/sparcv9//nss_dns.so.1
#7  0xffffffff7d8695dc in nss_search () from /lib/sparcv9//libc.so.1
#8  0xffffffff7cf35264 in _switch_getipnodebyname_r ()
    from /lib/sparcv9//libnsl.so.1
#9  0xffffffff7cf33c38 in _get_hostserv_inetnetdir_byname ()
    from /lib/sparcv9//libnsl.so.1
#10 0xffffffff7cf30f08 in getipnodebyname () from /lib/sparcv9//libnsl.so.1
#11 0xffffffff7dc0626c in get_addr () from /lib/sparcv9//libsocket.so.1
#12 0xffffffff7dc060cc in _getaddrinfo () from /lib/sparcv9//libsocket.so.1
#13 0x000000010049c9b4 in pg_getaddrinfo_all ()
#14 0x0000000100486b5c in connectDBStart ()
#15 0x00000001004865a8 in PQsetdbLogin ()
#16 0x000000010016c370 in librpl_parametres_sql (
     s_etat_processus=0xffffffff7cd00010, s_parametres=0xffffffff7a60bac0)
     at sql-conv.c:315
#17 0x000000010013b110 in librpl_instruction_sqlquery (
     s_etat_processus=0xffffffff7cd00010) at instructions_s8-conv.c:914

	I don't understand. All PQsetdblogin() parameters are valid and I have 
no idea to avoid this bug.

	Regards,

	JKB



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [8.4.4] Strange bus error on Solaris 10/sparc
  2010-09-16 08:51 [8.4.4] Strange bus error on Solaris 10/sparc BERTRAND Joel <joel.bertrand@systella.fr>
@ 2010-09-16 13:56 ` Tom Lane <tgl@sss.pgh.pa.us>
  2010-12-15 11:19   ` Re: [8.4.4] Strange bus error on Solaris 10/sparc BERTRAND Joel <joel.bertrand@systella.fr>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2010-09-16 13:56 UTC (permalink / raw)
  To: BERTRAND Joel <joel.bertrand@systella.fr>; +Cc: pgsql-bugs

BERTRAND Joel <joel.bertrand@systella.fr> writes:
> 	A have written a program that randomly crashes on Solaris 10. This 
> program has been tested with valgrind without any error and runs fine on 
> all other systems I have. I cannot reproduce this bug with a minimal 
> program.

Given that the crash is way down inside getaddrinfo(), I'd say this is
a Solaris bug.  You should probably file it with Sun^H^H^HOracle.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [8.4.4] Strange bus error on Solaris 10/sparc
  2010-09-16 08:51 [8.4.4] Strange bus error on Solaris 10/sparc BERTRAND Joel <joel.bertrand@systella.fr>
  2010-09-16 13:56 ` Re: [8.4.4] Strange bus error on Solaris 10/sparc Tom Lane <tgl@sss.pgh.pa.us>
@ 2010-12-15 11:19   ` BERTRAND Joel <joel.bertrand@systella.fr>
  0 siblings, 0 replies; 3+ messages in thread

From: BERTRAND Joel @ 2010-12-15 11:19 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs

Tom Lane a écrit :
> BERTRAND Joel<joel.bertrand@systella.fr>  writes:
>> 	A have written a program that randomly crashes on Solaris 10. This
>> program has been tested with valgrind without any error and runs fine on
>> all other systems I have. I cannot reproduce this bug with a minimal
>> program.
>
> Given that the crash is way down inside getaddrinfo(), I'd say this is
> a Solaris bug.  You should probably file it with Sun^H^H^HOracle.

	I'm trying to debug with mdb. If I have some news, I shall post an new 
comment.

	Regards,

	JKB



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2010-12-15 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-09-16 08:51 [8.4.4] Strange bus error on Solaris 10/sparc BERTRAND Joel <joel.bertrand@systella.fr>
2010-09-16 13:56 ` Tom Lane <tgl@sss.pgh.pa.us>
2010-12-15 11:19   ` BERTRAND Joel <joel.bertrand@systella.fr>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox