Re: [bug fix] ECPG app crashes due to SIGBUS on SPARC Solaris

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [bug fix] ECPG app crashes due to SIGBUS on SPARC Solaris
Дата
Msg-id 20131227120109.GB21708@feivel.credativ.lan
обсуждение исходный текст
Ответ на [bug fix] ECPG app crashes due to SIGBUS on SPARC Solaris  ("MauMau" <maumau307@gmail.com>)
Ответы Re: [bug fix] ECPG app crashes due to SIGBUS on SPARC Solaris
Список pgsql-hackers
On Tue, Dec 24, 2013 at 09:55:45PM +0900, MauMau wrote:
> The attached ECPG app crashes and dumps core with SIGBUS on Solaris
> for SPARC.  I used Solaris 10, and Oracle Studio to compile the app
> for 64-bit build.  The same app completes successfully on Linux and
> Windows for x86/x564.

What happens to the regression test suite on your system? There are test cases
that access a descriptor in a similar way I think.

> Because desc1 is a char array, else block should be executed instead
> of the above path.

> Therefore, make ecpg pass SQL descriptor host variables to ECPGdo()
> with non-zero lengths.

How did you decide which values to put in? I fail to see a reason for choosing
exactly these values.

Mkichael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [bug fix] connection service file doesn't take effect with ECPG apps
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Happy new year from viva64