Обсуждение: Segfault on latest snapshot

Поиск
Список
Период
Сортировка

Segfault on latest snapshot

От
Devrim GUNDUZ
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

After rebuilding latest snapshot on FC1, I installed and run pgadmin3. I
get a segfault while trying to add a user by right-clicking "Users/New
Object/New User".

Here is the strace output:

============================================================================
<snip>
open("/usr/share/pixmaps/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/home/devrim/.icons/Bluecurve/cursors/xterm", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/home/devrim/.icons/Bluecurve/index.theme",
O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/icons/Bluecurve/cursors/xterm", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=5020, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xbf26b000
read(7, "Xcur\20\0\0\0\0\0\1\0\3\0\0\0\2\0\375\377\30\0\0\0004\0"...,
4096) = 4096
_llseek(7, 0, [0], SEEK_SET)            = 0
read(7, "Xcur\20\0\0\0\0\0\1\0\3\0\0\0\2\0\375\377\30\0\0\0004\0"...,
4096) = 4096
close(7)                                = 0
munmap(0xbf26b000, 4096)                = 0
open("/home/devrim/.icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/home/devrim/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0755, st_size=32, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xbf26b000
read(7, "[Icon Theme]\nInherits=Bluecurve\n", 4096) = 32
close(7)                                = 0
munmap(0xbf26b000, 4096)                = 0
open("/usr/share/pixmaps/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/home/devrim/.icons/Bluecurve/cursors/xterm", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/home/devrim/.icons/Bluecurve/index.theme", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/icons/Bluecurve/cursors/xterm", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=5020, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xbf26b000
read(7, "Xcur\20\0\0\0\0\0\1\0\3\0\0\0\2\0\375\377\30\0\0\0004\0"...,
4096) = 4096
_llseek(7, 0, [0], SEEK_SET)            = 0
read(7, "Xcur\20\0\0\0\0\0\1\0\3\0\0\0\2\0\375\377\30\0\0\0004\0"...,
4096) = 4096
close(7)                                = 0
munmap(0xbf26b000, 4096)                = 0
writev(5, [{"< \2\0V\10@\0\232\4\5\0W\10@\0U\10@\0.\0\0\0\0\0\0\000"...,
1640},
{"\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0"..., 1152}], 2) =
2792
time(NULL)                              = 1069684943
- --- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
=======================================================================


There is just on file (index.theme) under /usr/share/icons/default/. It's
the same on my RH9.

What should we do?

Regards,

- --
Devrim GUNDUZ
devrim@gunduz.org                devrim.gunduz@linux.org.tr
            http://www.tdmsoft.com
            http://www.gunduz.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/wh6Xtl86P3SPfQ4RAiAYAJ4j7thswKW4NkRPxHGAQoYIo+9hmgCgw8KT
JyMAwEnPf51rrjL60WRhE9o=
=NLJO
-----END PGP SIGNATURE-----


Re: Segfault on latest snapshot

От
Jean-Michel POURE
Дата:
Le Lundi 24 Novembre 2003 16:07, Devrim GUNDUZ a écrit :
> After rebuilding latest snapshot on FC1, I installed and run pgadmin3. I
> get a segfault while trying to add a user by right-clicking "Users/New
> Object/New User".

I have the same problem under Debian.
Cheers, Jean-Michel


Re: Segfault on latest snapshot

От
Andreas Pflug
Дата:
Jean-Michel POURE wrote:

>Le Lundi 24 Novembre 2003 16:07, Devrim GUNDUZ a écrit :
>
>
>>After rebuilding latest snapshot on FC1, I installed and run pgadmin3. I
>>get a segfault while trying to add a user by right-clicking "Users/New
>>Object/New User".
>>
>>
>
>I have the same problem under Debian.
>
>

Hm, don't know of any suspicious changes, and I don't have segv either
from the current cvs under SuSE8.1.

Regards,
Andreas



Re: Segfault on latest snapshot

От
Raphaël Enrici
Дата:
Jean-Michel POURE wrote:

>Le Lundi 24 Novembre 2003 16:07, Devrim GUNDUZ a écrit :
>
>
>>After rebuilding latest snapshot on FC1, I installed and run pgadmin3. I
>>get a segfault while trying to add a user by right-clicking "Users/New
>>Object/New User".
>>
>>
>
>I have the same problem under Debian.
>
>
What about RH/MDK/WIN versions ? Shall I correct something in debian
packaging or is it a real code issue ?

Regards,
Raphaël

>Cheers, Jean-Michel
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 9: the planner will ignore your desire to choose an index scan if your
>      joining column's datatypes do not match
>
>
>



Re: Segfault on latest snapshot

От
Jean-Michel POURE
Дата:
Le Lundi 24 Novembre 2003 19:18, Raphaël Enrici a écrit :
> What about RH/MDK/WIN versions ? Shall I correct something in debian
> packaging or is it a real code issue ?

Dear Raphaël, It has probably nothing to do with Debian.


Re: Segfault on latest snapshot

От
Devrim GUNDUZ
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Mon, 24 Nov 2003, Jean-Michel POURE wrote:

> Le Lundi 24 Novembre 2003 19:18, Raphaël Enrici a écrit :
> > What about RH/MDK/WIN versions ? Shall I correct something in debian
> > packaging or is it a real code issue ?
>
> Dear Raphaël, It has probably nothing to do with Debian.

Yep. I cannot do anything with users. I can neither add nor edit them.

http://archives.postgresql.org/pgadmin-hackers/2003-11/msg00027.php

This is the e-mail that I've sent when I've rebuilt the first FC1 RPM.
Here is a part of that e-mail:

"I've tested them and they work well (except a segfault, I'll trace it
tomorrow and send the report)."

I had no time to send the report at those days; but that segfault was the
one that I've reported today.

So, hackers: Could you please trace back to Nov 15th and earlier?

Regards,
- --
Devrim GUNDUZ
devrim@gunduz.org                devrim.gunduz@linux.org.tr
            http://www.tdmsoft.com
            http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/wlXutl86P3SPfQ4RApTmAJ9SjSIronGYKKeFn5M3f/Tyf//0yACgqf07
1UqTux7qXxw4mEIsvzewSQ4=
=36ev
-----END PGP SIGNATURE-----


Re: Segfault on latest snapshot

От
Andreas Pflug
Дата:
Devrim GUNDUZ wrote:

>>>What about RH/MDK/WIN versions ?
>>>
>
>"I've tested them and they work well (except a segfault, I'll trace it
>tomorrow and send the report)."
>
>I had no time to send the report at those days; but that segfault was the
>one that I've reported today.
>
>So, hackers: Could you please trace back to Nov 15th and earlier?
>
>

dlgUser.cpp:
revision 1.21 (HEAD)
date: 2003/11/11 17:40:56;  author: andreas;  state: Exp;  lines: +28 -27
reengineering: ctlListView methods
Show referencing/referenced objects
----------------------------
revision 1.20
date: 2003/10/26 17:33:00;  author: andreas;  state: Exp;  lines: +3 -1
precompiled headers

I really can't see what should be the problem about that. Could anybody
please have a gdb look at user? Neither win32 nor SuSE8.1 have problems
for me.

Regards,
Andreas