Thread: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dhanaraj M
Date:
I am filing a bug here.

Core dumped when I ran the following command.

pgadmin3 -> Query tool -> Execute

Do you want to save-> NO
Segmentation Fault (core dumped)

Platform - Solaris-10 (both sparc/x86)


Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dave Page
Date:
Dhanaraj M wrote:
> I am filing a bug here.
>
> Core dumped when I ran the following command.
>
> pgadmin3 -> Query tool -> Execute
>
> Do you want to save-> NO
> Segmentation Fault (core dumped)
>
> Platform - Solaris-10 (both sparc/x86)
>

What version of wxWidgets? Can you get a backtrace?

Regards, Dave.

Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dhanaraj M
Date:
Hi Dave

I am using wxWidgets-2.7.2 (and the recent release of pgadmin3-1.6.0)
I attach the trace file here.
If you need any other details, let me know.

Thanks
Dhanaraj

Dave Page wrote:
> Dhanaraj M wrote:
>> I am filing a bug here.
>>
>> Core dumped when I ran the following command.
>>
>> pgadmin3 -> Query tool -> Execute
>>
>> Do you want to save-> NO
>> Segmentation Fault (core dumped)
>>
>> Platform - Solaris-10 (both sparc/x86)
>>
>
> What version of wxWidgets? Can you get a backtrace?
>
> Regards, Dave.

read(6, "01029E1B\0\0\0\0\0E8\rE4".., 32)       = 32
write(6, " <02\002\0E8\rF6 ;03\005".., 272)     = 272
read(6, 0xFFBF8868, 32)                         Err#11 EAGAIN
pollsys(0xFFBF85B8, 1, 0x00000000, 0x00000000)  = 1
read(6, "0EBF9E (\0E8\0 $\0\0 >\0".., 32)       = 32
read(6, "01029E )\0\0\0\0\0E8\rE4".., 32)       = 32
write(6, " <02\002\0E8\rF78303\0\n".., 88)      = 88
read(6, 0xFFBF6618, 32)                         Err#11 EAGAIN
pollsys(0xFFBF6358, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E -\0\0\0 Q\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF6598, 2)                         = 324
write(6, " H02\0 W\0E8\rED\0E8\rEF".., 368)     = 368
read(6, 0xFFBF6618, 32)                         Err#11 EAGAIN
pollsys(0xFFBF6358, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E /\0\0\0 b\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF6598, 2)                         = 392
write(6, " H02\0 h\0E8\rED\0E8\rEF".., 544)     = 544
read(6, "0EBF9E 6\0E8\0 $\0\0 >C0".., 32)       = 32
read(6, "01029E 7\0\0\0\0\0E8\rE4".., 32)       = 32
write(6, " <02\002\0E8\rF9 ;03\005".., 128)     = 128
read(6, "0EBF9E =\0E8\0 $\0\0 > D".., 32)       = 32
read(6, "01029E >\0\0\0\0\0E8\rE4".., 32)       = 32
write(6, " <02\002\0E8\rFA8303\0\n".., 88)      = 88
read(6, "01189E B\0\0\0 H\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF6598, 2)                         = 288
write(6, " H02\0 N\0E8\rED\0E8\rEF".., 332)     = 332
read(6, 0xFFBF6618, 32)                         Err#11 EAGAIN
pollsys(0xFFBF6358, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E D\0\0\0 1\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF6598, 2)                         = 196
write(6, " H02\0 7\0E8\rED\0E8\rEF".., 520)     = 520
read(6, 0xFFBFAC28, 32)                         Err#11 EAGAIN
pollsys(0xFFBFA978, 1, 0x00000000, 0x00000000)  = 1
read(6, "0EBF9E U\0E8\0 $\0\0 >\0".., 32)       = 32
read(6, "01029E V\0\0\0\0\0E8\rE4".., 32)       = 32
write(6, " <02\002\0E8\rFD ;03\005".., 140)     = 140
read(6, 0xFFBF7CB0, 32)                         Err#11 EAGAIN
pollsys(0xFFBF7A00, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E ^\0\0\0\0\0\0\0 @".., 32)       = 32
write(6, " I02\005\0E8\rFB\007\007".., 20)      = 20
read(6, 0xFFBF7E00, 32)                         Err#11 EAGAIN
pollsys(0xFFBF7B40, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E _\0\0\0 ?\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF7D80, 2)                         = 252
write(6, " H02\0 E\0E8\rFB\0E8\rFE".., 296)     = 296
read(6, 0xFFBF7E00, 32)                         Err#11 EAGAIN
pollsys(0xFFBF7B40, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E a\0\0\082\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF7D80, 2)                         = 520
write(6, " H02\088\0E8\rFB\0E8\rFE".., 1244)    = 1244
read(6, 0xFFBF7E48, 32)                         Err#11 EAGAIN
pollsys(0xFFBF7B88, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E85\0\002A0\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF7DC8, 2)                         = 2688
write(6, " 802\004\0E8\nD5\0\0\004".., 2748)    = 2748
read(6, 0xFFBF7E48, 32)                         Err#11 EAGAIN
pollsys(0xFFBF7B88, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E88\0\0\0 ?\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF7DC8, 2)                         = 252
write(6, " 802\004\0E8\nD5\0\0\004".., 312)     = 312
read(6, 0xFFBF7E48, 32)                         Err#11 EAGAIN
pollsys(0xFFBF7B88, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E8B\0\001C8\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF7DC8, 2)                         = 1824
write(6, " 802\004\0E8\nD5\0\0\004".., 1884)    = 1884
read(6, 0xFFBF7E48, 32)                         Err#11 EAGAIN
pollsys(0xFFBF7B88, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189E8E\0\0\0 ?\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF7DC8, 2)                         = 252
write(6, " 802\004\0E8\nD5\0\0\004".., 484)     = 484
pollsys(0x00C83E60, 2, 0xFFBFBD38, 0x00000000)  = 1
pollsys(0x00C83E60, 2, 0xFFBFBD38, 0x00000000)  = 1
write(6, "14\0\006\0E8\t Z\0\001 O".., 24)      = 24
read(6, "\b029E9A 1C6 1EE\0\0\0 @".., 32)       = 32
read(6, "07\09E9A 1C6 1EE\0\0\0 @".., 32)       = 32
read(6, 0xFFBFB600, 32)                         Err#11 EAGAIN
pollsys(0xFFBFB350, 1, 0x00000000, 0x00000000)  = 1
read(6, "01  9E9B\0\0\007\0\0\004".., 32)       = 32
read(6, "\0\0\0B1\0\0\0BE\0\0\0B0".., 28)       = 28
write(6, "13\0\003\0E8\t Z\0\001 O".., 20)      = 20
read(6, 0xFFBFC520, 32)                         Err#11 EAGAIN
pollsys(0xFFBFC270, 1, 0x00000000, 0x00000000)  = 1
read(6, "1C\09E9C\0E8\t Z\0\001 O".., 32)       = 32
read(6, "01\09E9D\0\0\0\0\0B8 WA6".., 32)       = 32
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
write(6, "18\0\006\0E8\t Z\0\0\0B9".., 24)      = 24
ioctl(6, FIONREAD, 0xFFBFC2AC)                  = 0
ioctl(6, FIONREAD, 0xFFBFC3CC)                  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
write(6, " 518\004\0E80E01\0E8\rE3".., 240)     = 240
read(6, 0xFFBFA030, 32)                         Err#11 EAGAIN
pollsys(0xFFBF9D80, 1, 0x00000000, 0x00000000)  = 1
read(6, "0EBF9EAA\0E8\0 $\0\0 >\0".., 32)       = 32
read(6, "01029EAB\0\0\0\0\0E8\rE4".., 32)       = 32
write(6, " <18\002\0E80E03 ;03\005".., 168)     = 168
read(6, "1C\09EAB\0E8\t Z\0\001 O".., 32)       = 32
read(6, "9F029EAB\0\0\0\0\0E8\t Z".., 32)       = 32
read(6, "04019EAB 1C6 6BE\0\0\0 @".., 32)       = 32
read(6, 0xFFBFA030, 32)                         Err#11 EAGAIN
pollsys(0xFFBF9D80, 1, 0x00000000, 0x00000000)  = 1
read(6, "0EBF9EB3\0E8\0 $\0\0 > D".., 32)       = 32
read(6, "01029EB4\0\0\0\0\0E8\rE4".., 32)       = 32
write(6, " <18\002\0E80E05 ;03\005".., 148)     = 148
read(6, "05019EB4 1C6 7 &\0\0\0 @".., 32)       = 32
read(6, "0EBF9EBB\0E8\0 $\0\0 > D".., 32)       = 32
read(6, "01029EBC\0\0\0\0\0E8\rE4".., 32)       = 32
write(6, " <18\002\0E80E06 803\007".., 120)     = 120
read(6, 0xFFBF6BC0, 32)                         Err#11 EAGAIN
pollsys(0xFFBF6910, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189EC2\0\0\0\0\0\0\0 @".., 32)       = 32
write(6, " I02\005\0E80E01\0 -\0\f".., 20)      = 20
read(6, 0xFFBF6D10, 32)                         Err#11 EAGAIN
pollsys(0xFFBF6A50, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189EC3\0\0\0 H\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF6C90, 2)                         = 288
write(6, " 802\004\0E80E07\0\0\004".., 348)     = 348
read(6, 0xFFBF6D10, 32)                         Err#11 EAGAIN
pollsys(0xFFBF6A50, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189EC6\0\0\0 1\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF6C90, 2)                         = 196
write(6, " H02\0 7\0E80E01\0E80E07".., 712)     = 712
read(6, 0xFFBF8540, 32)                         Err#11 EAGAIN
pollsys(0xFFBF8280, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189EE0\0\002A0\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF84C0, 2)                         = 2688
write(6, " 802\004\0E8\nD5\0\0\004".., 2748)    = 2748
read(6, 0xFFBF8540, 32)                         Err#11 EAGAIN
pollsys(0xFFBF8280, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189EE3\0\0\0 ?\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF84C0, 2)                         = 252
write(6, " 802\004\0E8\nD5\0\0\004".., 312)     = 312
read(6, 0xFFBF8540, 32)                         Err#11 EAGAIN
pollsys(0xFFBF8280, 1, 0x00000000, 0x00000000)  = 1
read(6, "01189EE6\0\001C8\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF84C0, 2)                         = 1824
write(6, " 802\004\0E8\nD5\0\0\004".., 1884)    = 1884
read(6, "01189EE9\0\0\0 ?\0\0\0\0".., 32)       = 32
readv(6, 0xFFBF84C0, 2)                         = 252
write(6, " 802\004\0E8\nD5\0\0\004".., 520)     = 520
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFC430, 0x00000000)  = 0
write(6, "14\0\006\0E8\t Z\0\001 O".., 24)      = 24
read(6, 0xFFBFBCF8, 32)                         Err#11 EAGAIN
pollsys(0xFFBFBA48, 1, 0x00000000, 0x00000000)  = 1
read(6, "01  9EF8\0\0\007\0\0\004".., 32)       = 32
read(6, "\0\0\0B1\0\0\0BE\0\0\0B0".., 28)       = 28
pollsys(0x00C83E60, 2, 0xFFBFD188, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFD188, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFD188, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFE908, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFE908, 0x00000000)  = 0
pollsys(0x00C83E60, 2, 0xFFBFE908, 0x00000000)  = 0
write(6, "13\0\003\0E8\t Z\0\001 O".., 200)     = 200
ioctl(6, FIONREAD, 0xFFBFE8A4)                  = 0
pollsys(0x00C83E60, 2, 0xFFBFE908, 0x00000000)  = 0
ioctl(6, FIONREAD, 0xFFBFE8A4)                  = 0
pollsys(0x00C83E60, 2, 0xFFBFE908, 0x00000000)  = 0
time()                                          = 1164771212
time()                                          = 1164771212
time()                                          = 1164771212
lwp_sigmask(SIG_SETMASK, 0x00001000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
send(9, " X\0\0\004", 5, 0)                     = 5
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(9)                                        = 0
time()                                          = 1164771213
stat64("/usr/pgadmin3/share/ui/dlgAddFavourite.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgAddFavourite.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgAddFavourite.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgAggregate.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgAggregate.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgAggregate.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgCast.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgCast.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgCast.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgCheck.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgCheck.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgCheck.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgColumn.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgColumn.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgColumn.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgConnect.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgConnect.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgConnect.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgConversion.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgConversion.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgConversion.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgDatabase.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgDatabase.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgDatabase.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgDomain.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgDomain.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgDomain.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgEditGridOptions.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgEditGridOptions.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgEditGridOptions.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgFindReplace.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgFindReplace.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgFindReplace.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgForeignKey.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgForeignKey.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgForeignKey.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgFunction.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgFunction.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgFunction.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgGroup.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgGroup.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgGroup.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgHbaConfig.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgHbaConfig.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgHbaConfig.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgIndex.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgIndex.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgIndex.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgIndexConstraint.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgIndexConstraint.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgIndexConstraint.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgJob.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgJob.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgJob.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgLanguage.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgLanguage.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgLanguage.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgMainConfig.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgMainConfig.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgMainConfig.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgManageFavourites.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgManageFavourites.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgManageFavourites.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgOperator.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgOperator.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgOperator.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgPgpassConfig.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgPgpassConfig.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgPgpassConfig.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepCluster.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepCluster.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepCluster.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepClusterUpgrade.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepClusterUpgrade.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepClusterUpgrade.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepListen.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepListen.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepListen.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepNode.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepNode.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepNode.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepPath.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepPath.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepPath.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepSequence.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepSequence.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepSequence.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepSet.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepSet.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepSet.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepSetMerge.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepSetMerge.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepSetMerge.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepSetMove.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepSetMove.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepSetMove.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepSubscription.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepSubscription.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepSubscription.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRepTable.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRepTable.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRepTable.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRole.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRole.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRole.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgRule.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgRule.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgRule.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgSchedule.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgSchedule.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgSchedule.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgSchema.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgSchema.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgSchema.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgSelectConnection.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgSelectConnection.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgSelectConnection.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgSequence.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgSequence.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgSequence.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgServer.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgServer.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgServer.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgStep.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgStep.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgStep.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgTable.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgTable.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgTable.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgTablespace.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgTablespace.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgTablespace.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgTrigger.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgTrigger.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgTrigger.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgType.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgType.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgType.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgUser.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgUser.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgUser.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/dlgView.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/dlgView.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/dlgView.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmAddTableView.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmAddTableView.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmAddTableView.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmBackup.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmBackup.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmBackup.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmExport.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmExport.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmExport.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmGrantWizard.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmGrantWizard.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmGrantWizard.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmHint.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmHint.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmHint.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmIndexcheck.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmIndexcheck.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmIndexcheck.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmMaintenance.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmMaintenance.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmMaintenance.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmOptions.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmOptions.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmOptions.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmPassword.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmPassword.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmPassword.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmReport.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmReport.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmReport.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmRestore.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmRestore.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmRestore.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmStatus.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmStatus.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmStatus.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
stat64("/usr/pgadmin3/share/ui/frmUpdate.xrc", 0xFFBFD0D0) = 0
open64("/usr/pgadmin3/share/ui/frmUpdate.xrc", O_RDONLY) = 9
stat64("/usr/pgadmin3/share/ui/frmUpdate.xrc", 0xFFBFD030) = 0
close(9)                                        = 0
open64("/usr/share/icons/blueprint/stock/24x24/stock_help_24.png", O_RDONLY) = 9
fstat64(9, 0xFFBFB7E8)                          = 0
fstat64(9, 0xFFBFB690)                          = 0
ioctl(9, TCGETA, 0xFFBFB774)                    Err#25 ENOTTY
read(9, "89 P N G\r\n1A\n\0\0\0\r".., 8192)     = 1294
lseek(9, 0, SEEK_SET)                           = 0
read(9, "89 P N G\r\n1A\n\0\0\0\r".., 8192)     = 1294
llseek(9, 0, SEEK_CUR)                          = 1294
close(9)                                        = 0
open64("/usr/share/icons/blueprint/stock/20x20/stock_ok_20.png", O_RDONLY) = 9
fstat64(9, 0xFFBFB7E8)                          = 0
fstat64(9, 0xFFBFB690)                          = 0
ioctl(9, TCGETA, 0xFFBFB774)                    Err#25 ENOTTY
read(9, "89 P N G\r\n1A\n\0\0\0\r".., 8192)     = 1105
lseek(9, 0, SEEK_SET)                           = 0
read(9, "89 P N G\r\n1A\n\0\0\0\r".., 8192)     = 1105
llseek(9, 0, SEEK_CUR)                          = 1105
close(9)                                        = 0
write(6, "02\0\004\0E802 *\0\0 @\0".., 948)     = 948
read(6, "1C\09EF9\0E8\t Z\0\001 O".., 32)       = 32
read(6, "1C L9EFA\0E8\rE3\0\0\0E9".., 32)       = 32
read(6, "12C69EFB\0E8\rE3\0E8\rE3".., 32)       = 32
read(6, "\n\09EFB\0E8\rE4\0\0\0\0".., 32)       = 32
read(6, "\n019EFB\0E8\rE3\0\0\0\0".., 32)       = 32
read(6, "\t059EFB\0E8\rE3\0 @  \0".., 32)       = 32
read(6, "\b\09EFB 1C6 >12\0\0\0 @".., 32)       = 32
read(6, "\b019EFB 1C6 >12\0\0\0 @".., 32)       = 32
read(6, "12C69EFD\0E8\rE9\0E8\rE9".., 32)       = 32
read(6, "11B19EFD\0E8\rE9\0E8\rE9".., 32)       = 32
read(6, "12039EFE\0E8\rEA\0E8\rEA".., 32)       = 32
read(6, "11B19EFE\0E8\rEA\0E8\rEA".., 32)       = 32
read(6, "12039EFF\0E8\rEB\0E8\rEB".., 32)       = 32
read(6, "11B19EFF\0E8\rEB\0E8\rEB".., 32)       = 32
read(6, "12039F\0\0E8\rEC\0E8\rEC".., 32)       = 32
read(6, "11B19F\0\0E8\rEC\0E8\rEC".., 32)       = 32
read(6, "11\09F03\0E8\rE3\0E8\rE3".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\001 C".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0E0".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0 c".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\001 -".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0E2".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0 #".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0E1".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0E7".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0 D".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0E9".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\099".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0DF".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0 $".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0 (".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\09D".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0 C".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0 %".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0DC".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0 '".., 32)       = 32
read(6, "1C1F9F03\0E8\rE3\0\0\0DA".., 32)       = 32
read(6, "12049F04\0E8\t _\0E8\t _".., 32)       = 32
read(6, "A1  9F05\0E8\t _\0\0\09D".., 32)       = 32
read(6, "15\09F05\0E8\t _\0E8\t _".., 32)       = 32
read(6, "1C179F05\0E8\t _\0\0\0E0".., 32)       = 32
read(6, "1C179F05\0E8\t _\0\0\0E2".., 32)       = 32
read(6, "1C L9F05\0E8\t _\0\0\0 c".., 32)       = 32
read(6, "1C -9F05\0E8021F\0\0011D".., 32)       = 32
read(6, "1C -9F05\0E8021F\0\0011D".., 32)       = 32
read(6, "0EBF9F >\0E8\0 $\0\0 >\0".., 32)       = 32
read(6, "01029F ?\0\0\0\0\0DB871A".., 32)       = 32
write(6, " <\0\002\0E80E\v8303\0\n".., 404)     = 404
read(6, "01029F G\0\0\0\0\0DB871A".., 32)       = 32
write(6, " 7\0\005\0E80E\r\0E80E\n".., 52)      = 52
read(6, 0xFFBFD088, 32)                         Err#11 EAGAIN
pollsys(0xFFBFCDD8, 1, 0x00000000, 0x00000000)  = 1
read(6, "0EBF9F I\0E8\0 $\0\0 >\0".., 32)       = 32
read(6, "01029F J\0\0\0\0\0DB871A".., 32)       = 32
write(6, " <\0\002\0E80E\r 7E8\005".., 60)      = 60
read(6, "0EBF9F M\0E8\0 -\0\0 >\0".., 32)       = 32
read(6, "01029F N\0\0\0\0\0DB871A".., 32)       = 32
    Incurred fault #6, FLTBOUNDS  %pc = 0x0022F514
      siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFF8
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFF8
bash-3.00$


Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dave Page
Date:
Dhanaraj M wrote:
> Hi Dave
>
> I am using wxWidgets-2.7.2 (and the recent release of pgadmin3-1.6.0)

Please try with wxWidgets-2.8.0rc1

> I attach the trace file here.

I meant a backtrace of the call stack please :-)

Regards Dave

Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dhanaraj M
Date:
Dave Page wrote:

> Dhanaraj M wrote:
>
>> Hi Dave
>>
>> I am using wxWidgets-2.7.2 (and the recent release of pgadmin3-1.6.0)
>
>
> Please try with wxWidgets-2.8.0rc1
>
>> I attach the trace file here.
>
>
> I meant a backtrace of the call stack please :-)
>
> Regards Dave


I tried wxwidget2.8, but still it fails. Iattach the pstack.
Let me know if you need anything..
bash-3.00$ pstack core
core 'core' of 23537:   pgadmin3
-----------------  lwp# 1 / thread# 1  --------------------
0022f514 __1cTdlgSelectConnectionCGo6MpnGpgConn_pnOctlComboBoxFix__i_
(ffbfd6c8, 148cba8, 10d3f80, 142f598, ffbfd63c, ffbfd640) + 100
002b0814 __1cIfrmQdDuerySOnChangeConnection6MrnOwxCommandEvent__v_
(13ff6d8, ffbfdab0, ffbfd918, ffbfdab0, 0, ffbfd6c8) + 60
00778458
__1cMwxEvtHandlerVProcessEventIfMatches6FrknVwxEventTableEntryBase_p0rnHwxEvent__b_
(0, 13ff6d8, ffbfdab0, 14fffa8, 7f, 14fe3a8) + a0
00777a00
__1cQwxEventHashTableLHandleEvent6MrnHwxEvent_pnMwxEvtHandler__b_ (0,
ffbfdab0, 13ff6d8, 14fffa8, 4f, b4) + c4
007785c0 __1cMwxEvtHandlerMProcessEvent6MrnHwxEvent__b_ (13ff6d8,
ffbfdab0, 14d8910, 14e1650, 4f, c85440) + b8
0068c9a8 __1cMwxWindowBaseJTryParent6MrnHwxEvent__b_ (7fffffff,
ffbfdab0, 7fffffff, 68c944, b869e4, c85440) + 64
005ea298 gtkcombobox_changed_callback (14da4a0, 14d8910, ffbfdab0,
ffbfdd78, 14e09f8, 0) + d8
fecbdcd8 g_closure_invoke (ffbfdd78, ffbfdc0c, 1, 10000, 0, 14e09f8) + 174
fecd59f4 signal_emit_unlocked_R (0, fecfeaf8, fec3ed64, fec3ed50,
fecfeae4, 14d92c8) + 109c
fecd442c g_signal_emit_valist (14da4a0, 14e0658, 14d92c8, ffbfdfac,
fecfeaf8, fec3ed5c) + 7f8
fecd48d8 g_signal_emit_by_name (14da4a0, ff2242c4, fec3ec00, 0, 14dff48,
fecfeaf8) + 190
fecbdcd8 g_closure_invoke (ffbfe1f0, ffbfe084, 2, 10000, 0, 14ddad8) + 174
fecd54c8 signal_emit_unlocked_R (c4ba24, fecfeaf8, fec3ed64, fec3ed50,
fecfeae4, 103beb8) + b70
fecd442c g_signal_emit_valist (14d87b0, 10392e9, 103beb8, ffbfe424,
fecfeaf8, fec3ed5c) + 7f8
fecd4738 g_signal_emit (14d87b0, 88, 0, 13e5798, f03f8, ff0a66a8) + 1c
ff0a6798 gtk_list_store_remove (14d87b0, ffbfe490, 13e5798, 1b8610,
ff0a5934, ff25ecd0) + e0
ff026ba8 gtk_combo_box_remove_text (14da4a0, 0, 14d87b0, 238268, b7eadc,
14da4f0) + 148
005eb9ac __1cKwxComboBoxGDelete6MI_v_ (14d8910, 0, ffffffff, ffffffff,
c37c7c, 14da4a0) + 68
002af160 __1cIfrmQdDuery2T6M_v_ (13ff6d8, 14d8910, 3, 13ff90c, 0, 3) + 334
002b980c __SLIP.DELETER__P (13ff6d8, 1, fd268bc0, feaa2000, 13ff6d8,
1615bb8) + 4
0061fff8 __1cJwxAppBaseUDeletePendingObjects6M_v_ (ba61b8, c38534, 1,
ffffffff, 1615bb8, c1a6d4) + 5c
006201f4 __1cJwxAppBaseGOnIdle6MrnLwxIdleEvent__v_ (c85440, ffbfe870,
ffbfe740, ffbfe870, c37000, 70cc68) + 18
00778458
__1cMwxEvtHandlerVProcessEventIfMatches6FrknVwxEventTableEntryBase_p0rnHwxEvent__b_
(0, c85440, ffbfe870, c7cbc8, 1f, d3f7e8) + a0
00777a00
__1cQwxEventHashTableLHandleEvent6MrnHwxEvent_pnMwxEvtHandler__b_ (0,
ffbfe870, c85440, c7cbc8, 14a, 60) + c4
007785c0 __1cMwxEvtHandlerMProcessEvent6MrnHwxEvent__b_ (c85440,
ffbfe870, ffbfe870, 14f7b98, 0, c85440) + b8
006200d0 __1cJwxAppBaseLProcessIdle6M_b_ (c85440, c0c800, 1000,
ffbfe870, c38400, 0) + ac
005949fc wxapp_idle_callback (0, 5949c8, 0, feaa2000, c342ac, c85440) + 34
febd5a40 g_main_dispatch (c854e8, c4b800, 0, 0, fffffffd, ffffffef) + 19c
febd6f74 g_main_context_dispatch (c854e8, 12c, 0, 1, c4b800, c854e8) + 9c
febd7440 g_main_context_iterate (1, 1, 1, c854e8, c854f0, 2) + 454
febd7bbc g_main_loop_run (d2b4c8, c4b800, fd235de0, c4c3f0, fec2a800,
fec2a800) + 348
ff0aa5b4 gtk_main (0, 0, d2b4c8, ceb680, ff272620, 4cdc) + d0
006d6fc8 __1cLwxEventLoopDRun6M_i_ (0, 1, 0, c1fc00, fd65a818, d04b90) + 40
0061fd3c __1cJwxAppBaseIMainLoop6M_i_ (c85440, c0e800, c308ec, 1,
61fce8, c30800) + 54
00742b64 __1cHwxEntry6Frippw_i_ (61fe84, b83998, c38800, 1, c38800,
c36c00) + 88
0017a1bc main     (1, ffbfecf4, ffbfecfc, b82400, feaa0740, feaa0780) + c
00179fd0 _start   (0, 0, 0, 0, 0, 0) + 108
-----------------  lwp# 2 / thread# 2  --------------------
007757ac wxPthreadStart(), exit value = 0x00000000
       ** zombie (exited, not detached, not yet joined) **

Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dave Page
Date:
Dhanaraj M wrote:
> Dave Page wrote:
>
>> Dhanaraj M wrote:
>>
>>> Hi Dave
>>>
>>> I am using wxWidgets-2.7.2 (and the recent release of pgadmin3-1.6.0)
>>
>>
>> Please try with wxWidgets-2.8.0rc1
>>
>>> I attach the trace file here.

Hmm, I managed to reproduce the crash, though the trace is somewhat
different... however the problem could have manifested itself in
different ways I think.

Can you try a build from SVN trunk or the 1.6 stable branch please
(svn://svn.pgadmin.org/branches/REL-1_6_0_PATCHES/pgadmin3) and see how
that looks? I hope to build 1.6.1 tomorrow morning, so if you can test
before then, that'd be a great help.

Thanks, Dave

Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dhanaraj M
Date:
> Hmm, I managed to reproduce the crash, though the trace is somewhat
> different... however the problem could have manifested itself in
> different ways I think.
>
> Can you try a build from SVN trunk or the 1.6 stable branch please
> (svn://svn.pgadmin.org/branches/REL-1_6_0_PATCHES/pgadmin3) and see
> how that looks? I hope to build 1.6.1 tomorrow morning, so if you can
> test before then, that'd be a great help.
>
> Thanks, Dave

I built the svn code that you mentioned. The observations are 1 & 2.

1. The same problem still exists. I ran the test in x86 machine (gcc
compiler) and attach the  stack trace here


bash-3.00# pstack core
core 'core' of 16270:   /usr/local/pgadmin3/bin/pgadmin3
-----------------  lwp# 1 / thread# 1  --------------------
 08159938 _ZN19dlgSelectConnection2GoEP6pgConnP14ctlComboBoxFix
(80462a0, 8d76098, 8f35dc8, 8eac160) + 100
 081d284b _ZN8frmQuery18OnChangeConnectionER14wxCommandEvent (8eac160,
80465f0, fe8bcc80, fe7649e3) + 147
 fe5029a5
_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_
(857b488, 8eac160, 81d2704, 0, 80465f0, 8046520) + 29
 fe57febd
_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
(85551d0, 8eac160, 80465f0, 8f557dc) + 6d
 fe580155 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
(85555d8, 80465f0, 8eac160, 0) + 89
 fe580ce0 _ZN12wxEvtHandler12ProcessEventER7wxEvent (8eac160, 80465f0,
0, fe80698f, 80465f0, fe6e5e98) + d0
 fe8069e3 _ZN12wxWindowBase9TryParentER7wxEvent (8f35dc8, 80465f0,
8f35dc8, 0) + 67
 fe580c89 _ZN12wxEvtHandler12ProcessEventER7wxEvent (8f35dc8, 80465f0,
1068, fdb84bb0, 1, fcbc2000) + 79
 fe764336 gtkcombobox_changed_callback (8f36a70, 8f35dc8, 8568560) + c2
 fdb84c01 g_cclosure_marshal_VOID__VOID () + 51
-----------------  lwp# 2 / thread# 2  --------------------
 fe57e6f4 wxPthreadStart(), exit value = 0x00000000
        ** zombie (exited, not detached, not yet joined) **


2. When I right click on a table and select view data, it aborts. The
stack trace is here.

bash-3.00# pstack core
core 'core' of 16283:   /usr/local/pgadmin3/bin/pgadmin3
-----------------  lwp# 1 / thread# 1  --------------------
 feac6275 _ZN6wxGridD2Ev (8d9d0f0, fe59e788, 0, fe8bcc80, 8d95020,
fe8bcc80) + 39d
 08308a30 _ZN14ctlSQLEditGridD0Ev (8d9d0f0, fe5c0cbc, 8046d08, fe8bcc80)
+ 20
 fe8022b7 _ZN12wxWindowBase15DestroyChildrenEv (8d94ff0, 8d95140,
8046d28, fe7c1631, 8d95140, 8a2c190) + 23
 fe726a6f _ZN8wxWindowD2Ev (8d94ff0, 8d94ff0, fe1a64d0, fe7fd505) + 5f
 fe7fd59c _ZN20wxTopLevelWindowBaseD2Ev (8d94ff0, 0, fe8bcc80, fe7203ce)
+ a8
 fe720452 _ZN19wxTopLevelWindowGTKD2Ev (8d94ff0, 0, 8046e50, fe7b9112) + c6
 fe7b9154 _ZN11wxFrameBaseD2Ev (8d94ff0, fe177629, fe1a64d0, fe543f46) + 4c
 fe76e060 _ZN7wxFrameD2Ev (8d94ff0, 8f4abd0, fe1a64dc, 8d93e88) + 38
 0820c1f6 _ZN7pgFrameD2Ev (8d94ff0, 8046e60, 8046e20, ffffffff, 8f325b0,
ffffff21) + da
 0818a58f _ZN11frmEditGridD0Ev (8d94ff0, 8f325b0, 8046ee8, fe78dc6e) + 27f
 fe78dc99 _ZN9wxAppBase20DeletePendingObjectsEv (857b488, 0, 1, 0,
fe5c0cbc, fe78e3cc) + 39
 fe78e3f1 _ZN9wxAppBase6OnIdleER11wxIdleEvent (857b488, 8046fc0,
8046f18, fe71fb24) + 25
 fe5029a5
_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_
(857b488, 857b488, fe78e3cc, 0, 8046fc0, 8046fc0) + 29
 fe57febd
_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
(fe968c80, 857b488, 8046fc0, 862eb8c) + 6d
 fe580155 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
(fe968cb0, 8046fc0, 857b488, 0) + 89
 fe580ce0 _ZN12wxEvtHandler12ProcessEventER7wxEvent (857b488, 8046fc0,
8046fc0, 8a2c190) + d0
 fe78e2a3 _ZN9wxAppBase11ProcessIdleEv (857b488, 8047028, fe8bcc80,
fe70084c) + 87
 fe70085e wxapp_idle_callback (0, fcbc2000, 8f45280) + 3a
 fd194af1 g_idle_dispatch (fd1ef518, 2, 857b6e0, 12c, 3, 1d6) + 11
 fd1ef508 g_source_callback_funcs (0, 0, 10, 0, 8f31dd8, 0)
 fe700824 wxapp_idle_callback ()
-----------------  lwp# 2 / thread# 2  --------------------
 fe57e6f4 wxPthreadStart(), exit value = 0x00000000
        ** zombie (exited, not detached, not yet joined) **

Thanks
Dhanaraj

Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dave Page
Date:
Dhanaraj M wrote:
> 1. The same problem still exists. I ran the test in x86 machine (gcc
> compiler) and attach the  stack trace here
 >
> bash-3.00# pstack core
> core 'core' of 16270:   /usr/local/pgadmin3/bin/pgadmin3
> -----------------  lwp# 1 / thread# 1  --------------------
> 08159938 _ZN19dlgSelectConnection2GoEP6pgConnP14ctlComboBoxFix (80462a0,
> 8d76098, 8f35dc8, 8eac160) + 100
> 081d284b _ZN8frmQuery18OnChangeConnectionER14wxCommandEvent (8eac160,
> 80465f0, fe8bcc80, fe7649e3) + 147

I'm confused - you said this happens when you close the query window,
but the stack trace shows frmQuery::OnChangeConnection(wxCommandEvent)

 >> Do you want to save-> NO
 >> Segmentation Fault (core dumped)

Is that the right core file? If so, can you detail the exact steps you
take to get to the crash, because I can't provoke a crash even playing
with the connection select dialogue (though I am running on wxGTK/Linux
rather than wxGTK/Solaris).

One other thing - are you building with --enable-debug? That might help
get more meaningful debug output.

> 2. When I right click on a table and select view data, it aborts. The
> stack trace is here.

I cannot reproduce this either. Do you have permission to view that
particular table? Does it only occur with specific tables?

Regards, Dave.

Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dave Page
Date:
Dhanaraj M wrote:
>
>> I'm confused - you said this happens when you close the query window,
>> but the stack trace shows frmQuery::OnChangeConnection(wxCommandEvent)
>>
>> >> Do you want to save-> NO
>> >> Segmentation Fault (core dumped)
>>
>> Is that the right core file? If so, can you detail the exact steps you
>> take to get to the crash, because I can't provoke a crash even playing
>> with the connection select dialogue (though I am running on
>> wxGTK/Linux rather than wxGTK/Solaris).
>
> Yes. I re-checked. I sent the right file.
>
> STEPS: I open pgadmin. Connect to my local machine. Select the DB. Goto
> query tool. close the tool. Pgadmin aborts.
>
> Whenever I close the query tool,  I see the core dump. (Same problem -
> even when I open the query tool and close or execute quries and close)
> This is there both in 1.6.0 and 1.6.1.

No, certainly can't reproduce this. I just tried installing Solaris 10
on VMware so I could test this, but unfortunately it's having some
serious stability issues so I'm not sure there's much debugging I can do
easily :-(

>> One other thing - are you building with --enable-debug? That might
>> help get more meaningful debug output.
>
>
> I am currently working on this. I will send them ASAP.

Thanks. I really don't understand the traces you've sent so far - they
all include functions in dlgSelectConnection which would never be called
following the steps you give above unless there is something *very*
wrong with your build.

>>> 2. When I right click on a table and select view data, it aborts. The
>>> stack trace is here.
>>
>>
>> I cannot reproduce this either. Do you have permission to view that
>> particular table? Does it only occur with specific tables?
>
> This behaviour is not consistent. It is not related to the table. This
> problem may occur only certain times (not always) for the same set of
> steps.
> This problem is only with 1.6. 1 and not in 1.6.0.
>
> +++++++++++++++++++++++++++++++++++++++++
> -
> I noticed one more in-consistent problem in the query tool. Sometimes
> there is no results displayed after executing the query.

Is your libpq built with --enable-thread-safety?

Regards, Dave.

Re: pgadmin3-1.6.0 - Segmentation Fault (core dumped)

From
Dhanaraj M
Date:
> I'm confused - you said this happens when you close the query window,
> but the stack trace shows frmQuery::OnChangeConnection(wxCommandEvent)
>
> >> Do you want to save-> NO
> >> Segmentation Fault (core dumped)
>
> Is that the right core file? If so, can you detail the exact steps you
> take to get to the crash, because I can't provoke a crash even playing
> with the connection select dialogue (though I am running on
> wxGTK/Linux rather than wxGTK/Solaris).

Yes. I re-checked. I sent the right file.

STEPS: I open pgadmin. Connect to my local machine. Select the DB. Goto
query tool. close the tool. Pgadmin aborts.

Whenever I close the query tool,  I see the core dump. (Same problem -
even when I open the query tool and close or execute quries and close)
This is there both in 1.6.0 and 1.6.1.

> One other thing - are you building with --enable-debug? That might
> help get more meaningful debug output.


I am currently working on this. I will send them ASAP.

>
>> 2. When I right click on a table and select view data, it aborts. The
>> stack trace is here.
>
>
> I cannot reproduce this either. Do you have permission to view that
> particular table? Does it only occur with specific tables?

This behaviour is not consistent. It is not related to the table. This
problem may occur only certain times (not always) for the same set of steps.
This problem is only with 1.6. 1 and not in 1.6.0.

+++++++++++++++++++++++++++++++++++++++++
-
I noticed one more in-consistent problem in the query tool. Sometimes
there is no results displayed after executing the query.

The warning msg that I got was

/usr/local/include/wx-2.7/wx/string.h(363): assert
"stringSrc.GetStringData()->IsValid()" failed in wxStringBase(): did you
forget to call UngetWriteBuf()?
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.

bash-3.00# pstack core
core 'core' of 10206:   /usr/local/pgadmin3/bin/pgadmin3
-----------------  lwp# 1 / thread# 1  --------------------
 082e89cc _ZNK12wxStringData7IsValidEv (fffffff4, 0, 8a54680, fe5e2920) + 6
 082e3084 _ZN12wxStringBaseC2ERKS_ (80461e0, 8e31c88, 8a54680, 8106247) + 1a
 082e22fc _ZN8wxStringC1ERKS_ (80461e0, 8e31c88, 8a54680, fe341aa4) + 14
 0832cfe8 _ZNK10pgConnBase7GetHostEv (80461e0) + 1a
 0816c3fc _ZN19dlgSelectConnection2GoEP6pgConnP14ctlComboBoxFix
(8046260, 8e31c40, 91c1e88, 0) + 12a
 081e7a16 _ZN8frmQuery18OnChangeConnectionER14wxCommandEvent (8e59f68,
80465e0, 8046488, 832d766) + 9e
 fe2225ba
_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_
(863a450, 8e59f68, 81e7978, 0, 80465e0, 0) + 3e
 fe2ad330
_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
(8613010, 8e59f68, 80465e0, fe2ac165) + ca
 fe2ac238 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
(8612fc0, 80465e0, 8e59f68, fe2ad43c) + e0
 fe2ad53c _ZN12wxEvtHandler12ProcessEventER7wxEvent (8e59f68, 80465e0,
8046578, fe655861) + 118
 fe6558f5 _ZN12wxWindowBase9TryParentER7wxEvent (91c1e88, 80465e0,
91c1e88, fe2ad43c) + a1
 fe2ad5a1 _ZN12wxEvtHandler12ProcessEventER7wxEvent (91c1e88, 80465e0,
1068, fe59e4a1) + 17d
 fe59e5be gtkcombobox_changed_callback (919be00, 91c1e88, 8e524e0) + 12a
 fdab4c01 g_cclosure_marshal_VOID__VOID () + 51
-----------------  lwp# 2 / thread# 2  --------------------
 fe2a8946 wxPthreadStart(), exit value = 0x00000000
        ** zombie (exited, not detached, not yet joined) **
-----------------  lwp# 3 / thread# 3  --------------------
 fe2a8946 wxPthreadStart(), exit value = 0x00000000
        ** zombie (exited, not detached, not yet joined) **

-++++++++++++++++++++++++++++++++++++++++++++++

Anyway I attach the stack trace again.
Problem -1

bash-3.00# pstack core
core 'core' of 9963:    /usr/local/pgadmin3/bin/pgadmin3
-----------------  lwp# 1 / thread# 1  --------------------
 082e89cc _ZNK12wxStringData7IsValidEv (68, 0, 8a54680, fe5e2920) + 6
 082e3084 _ZN12wxStringBaseC2ERKS_ (80461e0, 8def7b8, 8a54680, 8106247) + 1a
 082e22fc _ZN8wxStringC1ERKS_ (80461e0, 8def7b8, 8a54680, fe341aa4) + 14
 0832cfe8 _ZNK10pgConnBase7GetHostEv (80461e0) + 1a
 0816c3fc _ZN19dlgSelectConnection2GoEP6pgConnP14ctlComboBoxFix
(8046260, 8def770, 9000b90, 0) + 12a
 081e7a16 _ZN8frmQuery18OnChangeConnectionER14wxCommandEvent (8e49108,
80465e0, 8046488, 832d766) + 9e
 fe2225ba
_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_
(863a450, 8e49108, 81e7978, 0, 80465e0, 0) + 3e
 fe2ad330
_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
(8613010, 8e49108, 80465e0, fe2ac165) + ca
 fe2ac238 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
(8612fc0, 80465e0, 8e49108, fe2ad43c) + e0
 fe2ad53c _ZN12wxEvtHandler12ProcessEventER7wxEvent (8e49108, 80465e0,
8046578, fe655861) + 118
 fe6558f5 _ZN12wxWindowBase9TryParentER7wxEvent (9000b90, 80465e0,
9000b90, fe2ad43c) + a1
 fe2ad5a1 _ZN12wxEvtHandler12ProcessEventER7wxEvent (9000b90, 80465e0,
1068, fe59e4a1) + 17d
 fe59e5be gtkcombobox_changed_callback (90021d0, 9000b90, 862d160) + 12a
 fdab4c01 g_cclosure_marshal_VOID__VOID () + 51
-----------------  lwp# 2 / thread# 2  --------------------
 fe2a8946 wxPthreadStart(), exit value = 0x00000000
        ** zombie (exited, not detached, not yet joined) **

++++++++++++++++++++++++++++++++++++++++++++=

problem-2

bash-3.00# pstack core
core 'core' of 9940:    /usr/local/pgadmin3/bin/pgadmin3
-----------------  lwp# 1 / thread# 1  --------------------
 fe9ba149 _ZN6wxGridD2Ev (8e56e20, fecfe79c, 8046c88, 0) + c5
 08336612 _ZN10ctlSQLGridD2Ev (8e56e20, 8ae0910, 8f59290, fea0f516) + 28
 08347400 _ZN14ctlSQLEditGridD0Ev (8e56e20, 8e39ea8, 0, fe6502cc) + 28
 fe65035c _ZN12wxWindowBase15DestroyChildrenEv (8f59290, fe8ecb7c,
8046ce8, fe563f53) + 9c
 fe563fc7 _ZN8wxWindowD2Ev (8f59290, 8f59290, 8046d18, fe6492b3) + 81
 fe64939c _ZN20wxTopLevelWindowBaseD2Ev (8f59290, 0, fe7dea80, fe55b339)
+ 110
 fe55b433 _ZN19wxTopLevelWindowGTKD2Ev (8f59290, 84e0af0, 0, fe5b1da8) + 17d
 082d9b0a _ZN16wxTopLevelWindowD2Ev (8f59290, 80c889c, feffc03c,
fe5fba0c) + 1a
 fe5fba40 _ZN11wxFrameBaseD2Ev (8f59290, fefdd044, feffc794, fe5aa83d) + 40
 fe5aa899 _ZN7wxFrameD2Ev (8f59290, fefdd044, feffc794, fecc0c59) + 69
 0820e74c _ZN7pgFrameD2Ev (8f59290, 8046e30, 900521c, fe2681d5) + 1ce
 081a37f8 _ZN11frmEditGridD0Ev (8f59290, 8dfc7d0, 8998228, fe5cf2be) + 2e0
 fe5cf36c _ZN9wxAppBase20DeletePendingObjectsEv (863a450, 86436b8, 1,
fe5cf64a) + ba
 fe5cf671 _ZN9wxAppBase6OnIdleER11wxIdleEvent (863a450, 8046fb0,
8046ed8, 832d766) + 33
 fe2225ba
_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_
(863a450, 863a450, fe5cf63e, 0, 8046fb0, 0) + 3e
 fe2ad330
_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
(fe8ecba0, 863a450, 8046fb0, fe2ac165) + ca
 fe2ac238 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
(fe8ecb7c, 8046fb0, 863a450, fe2ad43c) + e0
 fe2ad53c _ZN12wxEvtHandler12ProcessEventER7wxEvent (863a450, 8046fb0,
8046fb0, fe5cf3af) + 118
 fe5cf49b _ZN9wxAppBase11ProcessIdleEv (863a450, 0, fe7dea80, fe53775d) + f9
 fe537778 wxapp_idle_callback (0, fc862000, 8fdea50) + 70
 fd744af1 g_idle_dispatch (fd79f518, 2, 863a6a8, 12c, 3, 1f1) + 11
 fd79f508 g_source_callback_funcs (0, 0, 10, fffcfcfc, 8ffa400, 0)
 fe537708 wxapp_idle_callback ()
-----------------  lwp# 2 / thread# 2  --------------------
 fe2a8946 wxPthreadStart(), exit value = 0x00000000
        ** zombie (exited, not detached, not yet joined) **