pgadmin3 - Crash on renaming

From: Thangalin <thangalin(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, Dave Page <dpage(at)pgadmin(dot)org>, pgadmin-support(at)postgresql(dot)org
Subject: pgadmin3 - Crash on renaming
Date: 2012-12-24 00:13:59
Message-ID: CAANrE7oTj59VTB2Do4547cRq8ys3N5QP57TwAhRyTfm3q+13Ww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

Note that pgadmin3 -v or pgadmin3 --version should show the version number;
double clicking on the About dialog should allow selection of the text. ;-)

Using:

- pgadmin3 1.16.1 (built Dec 16, 2012, rev: REL-1_16_1)
- Linux jaguar 2.6.35-30-generic #54-Ubuntu SMP Tue Jun 7 18:41:54 UTC
2011 x86_64 GNU/Linux
- Kubuntu 10.10 \n \l

*Replicate*
To reproduce the bug:

1. pgadmin3
2. Expand Server Groups >> Servers >> server_name >> Databases >>
database_name >> Schemas >> schema_name >> Tables
3. Right-click a table (e.g., *old_table*) that has a primary key with a
sequence (e.g., bigserial)
4. Select Properties
5. Set the name to: *new_table*
6. Press Enter (do not click OK) to accept the new name
7. Expand Sequences
8. Right-click on the old table's sequence (e.g., *old_table_id_seq*)
9. Select Properties
10. Set the name to: *new_table_id_seq*
11. Press Enter (do not click OK) to accept the new name

*Expected Results*
pgadmin3 merrily continues allowing database changes, and the rename
succeeds.

*Actual Results*
pgadmin3 disappears, but the rename succeeds.

*** glibc detected *** pgadmin3: malloc(): smallbin double linked list
corrupted: 0x0000000002d64fb0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7f1883c084b6]
/lib/libc.so.6(+0x7b781)[0x7f1883c0c781]
/lib/libc.so.6(__libc_malloc+0x6e)[0x7f1883c0d38e]
/usr/lib/libxcb.so.1(+0xb412)[0x7f187c7d5412]
/usr/lib/libxcb.so.1(+0x936d)[0x7f187c7d336d]
/usr/lib/libxcb.so.1(+0x9837)[0x7f187c7d3837]
/usr/lib/libxcb.so.1(xcb_writev+0x55)[0x7f187c7d3ae5]
/usr/lib/libX11.so.6(_XSend+0x17a)[0x7f187e2327ba]
/usr/lib/libX11.so.6(_XSetClipRectangles+0x16e)[0x7f187e223d9e]
/usr/lib/libX11.so.6(XSetClipRectangles+0x53)[0x7f187e223e93]
/usr/lib/libgdk-x11-2.0.so.0(+0x5dde2)[0x7f18828d3de2]
/usr/lib/libgdk-x11-2.0.so.0(+0x59216)[0x7f18828cf216]
/usr/lib/libgdk-x11-2.0.so.0(gdk_draw_rectangle+0x125)[0x7f1882899495]
/usr/lib/libgdk-x11-2.0.so.0(+0x3cec9)[0x7f18828b2ec9]
/usr/lib/libgdk-x11-2.0.so.0(gdk_draw_rectangle+0x125)[0x7f1882899495]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN10wxWindowDC15DoDrawRectangleEiiii+0x59a)[0x7f18859d596a]
/usr/lib/libwx_gtk2u_aui-2.8.so.0(_ZN12wxAuiManager8OnRenderER17wxAuiManagerEvent+0x128)[0x7f188665c858]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x50)[0x7f1885166310]
/usr/lib/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0xa4)[0x7f18851672d4]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc7)[0x7f18851673b7]
/usr/lib/libwx_gtk2u_aui-2.8.so.0(_ZN12wxAuiManager6RenderEP4wxDC+0x6b)[0x7f188665de3b]
/usr/lib/libwx_gtk2u_aui-2.8.so.0(_ZN12wxAuiManager7RepaintEP4wxDC+0x60)[0x7f188665dee0]
/usr/lib/libwx_gtk2u_aui-2.8.so.0(_ZN12wxAuiManager7OnPaintER12wxPaintEvent+0x2b)[0x7f188665e0ab]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x50)[0x7f1885166310]
/usr/lib/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0xa4)[0x7f18851672d4]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc7)[0x7f18851673b7]

/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN8wxWindow18GtkSendPaintEventsEv+0x1c5)[0x7f18859f0f05]
/usr/lib/libwx_gtk2u_core-2.8.so.0(+0x1e5408)[0x7f18859f1408]
/usr/lib/libgtk-x11-2.0.so.0(+0x13a9d8)[0x7f1882c5f9d8]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f188139ea6e]
/usr/lib/libgobject-2.0.so.0(+0x24de7)[0x7f18813b4de7]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x62b)[0x7f18813b60eb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f18813b6863]
/usr/lib/libgtk-x11-2.0.so.0(+0x2536df)[0x7f1882d786df]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x556)[0x7f1882c591b6]
/usr/lib/libgdk-x11-2.0.so.0(+0x439da)[0x7f18828b99da]
/usr/lib/libgdk-x11-2.0.so.0(+0x43987)[0x7f18828b9987]
======= Memory map: ========
00400000-00c2d000 r-xp 00000000 08:12 131531
/usr/local/bin/pgadmin3
00e2d000-00e2f000 r--p 0082d000 08:12 131531
/usr/local/bin/pgadmin3
00e2f000-00efa000 rw-p 0082f000 08:12 131531
/usr/local/bin/pgadmin3
00efa000-00f4b000 rw-p 00000000 00:00 0
02054000-03047000 rw-p 00000000 00:00 0
[heap]
7f1854000000-7f1854021000 rw-p 00000000 00:00 0
7f1854021000-7f1858000000 ---p 00000000 00:00 0
7f185a6bd000-7f185a6da000 r--s 00000000 08:12 261921
/usr/share/mime/mime.cache
7f185a6da000-7f185a6dc000 r-xp 00000000 08:12 1305977
/lib/libutil-2.12.1.so
7f185a6dc000-7f185a8db000 ---p 00002000 08:12 1305977
/lib/libutil-2.12.1.so
7f185a8db000-7f185a8dc000 r--p 00001000 08:12 1305977
/lib/libutil-2.12.1.so
7f185a8dc000-7f185a8dd000 rw-p 00002000 08:12 1305977
/lib/libutil-2.12.1.so
7f185a8dd000-7f185a8e8000 r-xp 00000000 08:12 1305747
/lib/libudev.so.0.9.1
7f185a8e8000-7f185aae8000 ---p 0000b000 08:12 1305747
/lib/libudev.so.0.9.1
7f185aae8000-7f185aae9000 r--p 0000b000 08:12 1305747
/lib/libudev.so.0.9.1
7f185aae9000-7f185aaea000 rw-p 0000c000 08:12 1305747
/lib/libudev.so.0.9.1
7f185aaea000-7f185ab2a000 r-xp 00000000 08:12 1305751
/lib/libdbus-1.so.3.5.2
7f185ab2a000-7f185ad2a000 ---p 00040000 08:12 1305751
/lib/libdbus-1.so.3.5.2
7f185ad2a000-7f185ad2b000 r--p 00040000 08:12 1305751
/lib/libdbus-1.so.3.5.2
7f185ad2b000-7f185ad2c000 rw-p 00041000 08:12 1305751
/lib/libdbus-1.so.3.5.2
7f185ad2c000-7f185ad42000 r-xp 00000000 08:12 7486
/usr/lib/libgvfscommon.so.0.0.0
7f185ad42000-7f185af42000 ---p 00016000 08:12 7486
/usr/lib/libgvfscommon.so.0.0.0
7f185af42000-7f185af43000 r--p 00016000 08:12 7486
/usr/lib/libgvfscommon.so.0.0.0
7f185af43000-7f185af44000 rw-p 00017000 08:12 7486
/usr/lib/libgvfscommon.so.0.0.0
7f185af44000-7f185af6c000 r-xp 00000000 08:12 7498
/usr/lib/gio/modules/libgvfsdbus.so
7f185af6c000-7f185b16c000 ---p 00028000 08:12 7498
/usr/lib/gio/modules/libgvfsdbus.so
7f185b16c000-7f185b16d000 r--p 00028000 08:12 7498
/usr/lib/gio/modules/libgvfsdbus.so
7f185b16d000-7f185b16e000 rw-p 00029000 08:12 7498
/usr/lib/gio/modules/libgvfsdbus.so
7f185b16e000-7f185b6e1000 r--p 00000000 08:12 262522
/usr/local/share/icons/hicolor/icon-theme.cache
7f185b6e1000-7f185c84d000 r--p 00000000 08:12 790579
/usr/share/icons/hicolor/icon-theme.cache
7f185c84d000-7f185d9b9000 r--p 00000000 08:12 790579
/usr/share/icons/hicolor/icon-theme.cache
7f185d9b9000-7f18646d4000 r--p 00000000 08:12 832575
/usr/share/icons/oxygen/icon-theme.cache
7f18646d4000-7f186b3ef000 r--p 00000000 08:12 832575
/usr/share/icons/oxygen/icon-theme.cache
7f186b3ef000-7f187210a000 r--p 00000000 08:12 832575
/usr/share/icons/oxygen/icon-theme.cache
7f187210a000-7f1878e25000 r--p 00000000 08:12 832575
/usr/share/icons/oxygen/icon-theme.cache
7f1878e25000-7f1878ec0000 r--p 00000000 08:12 401431
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
7f1878ec0000-7f1878f0f000 r--p 00000000 08:12 401439
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
7f1878f0f000-7f1878f61000 r--p 00000000 08:12 525096
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
7f1878f61000-7f1878fc1000 rw-s 00000000 00:04 669483012
/SYSV00000000 (deleted)
7f1878fc1000-7f1878fc7000 r-xp 00000000 08:12 3981
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
7f1878fc7000-7f18791c6000 ---p 00006000 08:12 3981
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.soAborted

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2012-12-24 08:59:35 Re: pgadmin3 - Crash on renaming
Previous Message Josh Berkus 2012-12-23 00:58:21 Re: DATA TRANSFER SPEED