Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248497 - app-editors/gphpedit crash on 'replace all'
Summary: app-editors/gphpedit crash on 'replace all'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-24 00:48 UTC by Glen Rubin
Modified: 2010-03-12 13:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glen Rubin 2008-11-24 00:48:31 UTC
gphpedit crashes when i try to replace all instances of a string with something else.

Reproducible: Always

Steps to Reproduce:
1. open document 
2. ctrl-R
3. chose terms
4. replace all

Actual Results:  
application is killed.

Expected Results:  
terms should be replaced

Here is the output from gdb:

Starting program: /usr/bin/gphpedit 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6e166d0 (LWP 14067)]
[New Thread 0xb5b8ab90 (LWP 14070)]
[Thread 0xb5b8ab90 (LWP 14070) exited]
[New Thread 0xb5b8ab90 (LWP 14071)]
[Thread 0xb5b8ab90 (LWP 14071) exited]
[New Thread 0xb5b8ab90 (LWP 14072)]
[Thread 0xb5b8ab90 (LWP 14072) exited]
[New Thread 0xb5b8ab90 (LWP 14073)]
[Thread 0xb5b8ab90 (LWP 14073) exited]
[New Thread 0xb5b8ab90 (LWP 14074)]
[Thread 0xb5b8ab90 (LWP 14074) exited]
*** glibc detected *** /usr/bin/gphpedit: double free or corruption (out): 0x08ac2010 ***
======= Backtrace: =========
/lib/libc.so.6[0xb71d3a00]
/lib/libc.so.6(cfree+0x89)[0xb71d56f9]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb75e9cf1]
/usr/bin/gphpedit[0x8057032]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x4b)[0xb7697fdb]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x13b)[0xb768aabb]
/usr/lib/libgobject-2.0.so.0[0xb769b789]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x899)[0xb769cc49]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb769cdf9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x55)[0xb79aeeb5]
/usr/lib/libgtk-x11-2.0.so.0[0xb79b0b1c]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x4b)[0xb7697fdb]
/usr/lib/libgobject-2.0.so.0[0xb7689069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x13b)[0xb768aabb]
/usr/lib/libgobject-2.0.so.0[0xb769bc06]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x899)[0xb769cc49]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb769cdf9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x55)[0xb79aef45]
/usr/lib/libgtk-x11-2.0.so.0[0xb79aefa1]
/usr/lib/libgtk-x11-2.0.so.0[0xb7a87790]
/usr/lib/libgobject-2.0.so.0[0xb7689069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x13b)[0xb768aabb]
/usr/lib/libgobject-2.0.so.0[0xb769bdbd]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x678)[0xb769ca28]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb769cdf9]
/usr/lib/libgtk-x11-2.0.so.0[0xb7ba3674]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x157)[0xb7a80887]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x317)[0xb7a81a87]
/usr/lib/libgdk-x11-2.0.so.0[0xb77e004a]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x17b)[0xb75e1deb]
/usr/lib/libglib-2.0.so.0[0xb75e52ef]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1b7)[0xb75e56a7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xc1)[0xb7a81ee1]
/usr/bin/gphpedit[0x80592fe]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7183fdc]
/usr/bin/gphpedit[0x80532d1]
======= Memory map: ========
08048000-080ff000 r-xp 00000000 03:03 2187595    /usr/bin/gphpedit
080ff000-08100000 r--p 000b7000 03:03 2187595    /usr/bin/gphpedit
08100000-08103000 rw-p 000b8000 03:03 2187595    /usr/bin/gphpedit
08103000-08104000 rw-p 08103000 00:00 0 
0871d000-08b03000 rw-p 0871d000 00:00 0          [heap]
b5100000-b5121000 rw-p b5100000 00:00 0 
b5121000-b5200000 ---p b5121000 00:00 0 
b52b7000-b52c6000 r-xp 00000000 03:03 2155687    /lib/libbz2.so.1.0.5
b52c6000-b52c7000 r--p 0000e000 03:03 2155687    /lib/libbz2.so.1.0.5
b52c7000-b52c8000 rw-p 0000f000 03:03 2155687    /lib/libbz2.so.1.0.5
b52c8000-b52fb000 r-xp 00000000 03:03 2188508    /usr/lib/libcroco-0.6.so.3.0.1
b52fb000-b52fc000 r--p 00032000 03:03 2188508    /usr/lib/libcroco-0.6.so.3.0.1
b52fc000-b52fe000 rw-p 00033000 03:03 2188508    /usr/lib/libcroco-0.6.so.3.0.1
b52fe000-b532d000 r-xp 00000000 03:03 2212266    /usr/lib/libgsf-1.so.114.0.7
b532d000-b532f000 r--p 0002f000 03:03 2212266    /usr/lib/libgsf-1.so.114.0.7
b532f000-b5330000 rw-p 00031000 03:03 2212266    /usr/lib/libgsf-1.so.114.0.7
b5330000-b5331000 rw-p b5330000 00:00 0 
b5331000-b5362000 r-xp 00000000 03:03 2204180    /usr/lib/librsvg-2.so.2.22.2
b5362000-b5363000 r--p 00030000 03:03 2204180    /usr/lib/librsvg-2.so.2.22.2
b5363000-b5364000 rw-p 00031000 03:03 2204180    /usr/lib/librsvg-2.so.2.22.2
b5374000-b5375000 r-xp 00000000 03:03 2204136    /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b5375000-b5376000 r--p 00001000 03:03 2204136    /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b5376000-b5377000 rw-p 00002000 03:03 2204136    /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b5377000-b5378000 r-xp 00000000 03:03 2042562    /usr/lib/gconv/ISO8859-1.so
b5378000-b5379000 r--p 00001000 03:03 2042562    /usr/lib/gconv/ISO8859-1.so
b5379000-b537a000 rw-p 00002000 03:03 2042562    /usr/lib/gconv/ISO8859-1.so
b537a000-b538a000 r--p 00000000 03:03 1958263    /usr/share/fonts/ttf-bitstream-vera/VeraIt.ttf
b538a000-b538b000 ---p b538a000 00:00 0 
b538b000-b5b8b000 rw-p b538b000 00:00 0 
b5b8b000-b5b9c000 r--p 00000000 03:03 1958
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6e166d0 (LWP 14067)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7197101 in raise () from /lib/libc.so.6
#2  0xb71988e8 in abort () from /lib/libc.so.6
#3  0xb71cdcbb in ?? () from /lib/libc.so.6
#4  0x00000011 in ?? ()
#5  0xbfaeb750 in ?? ()
#6  0x00000400 in ?? ()
#7  0xbfaeb688 in ?? ()
#8  0xb768ab5e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9  0xb71d3a00 in ?? () from /lib/libc.so.6
#10 0x00000002 in ?? ()
#11 0xb7282968 in ?? () from /lib/libc.so.6
#12 0xbfaed4a7 in ?? ()
#13 0xb7282a40 in ?? () from /lib/libc.so.6
#14 0xbfaebc87 in ?? ()
---Type <return> to continue, or q <return> to quit---
#15 0xb7282a40 in ?? () from /lib/libc.so.6
#16 0x30000000 in ?? ()
#17 0x32636138 in ?? ()
#18 0x00303130 in ?? ()
#19 0xb7299ff4 in ?? () from /lib/libc.so.6
#20 0xb729b120 in ?? () from /lib/libc.so.6
#21 0x08ac2010 in ?? ()
#22 0xbfaebcb8 in ?? ()
#23 0xb71d56f9 in free () from /lib/libc.so.6
Backtrace stopped: frame did not save the PC
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-27 23:51:29 UTC
wow upstream removed their bugtracker due to spam. This is going to be fun...

First we need to get a better backtrace, please read instructions at http://www.gentoo.org/proj/en/qa/backtraces.xml and try to get something more meaningful. Please reopen with an attached backtrace.
Comment 2 Glen Rubin 2008-11-28 19:52:09 UTC
(In reply to comment #1)
> wow upstream removed their bugtracker due to spam. This is going to be fun...
> 
> First we need to get a better backtrace, please read instructions at
> http://www.gentoo.org/proj/en/qa/backtraces.xml and try to get something more
> meaningful. Please reopen with an attached backtrace.
> 

This is very troubling.  I filed a bug report (Bug#:245149), several weeks ago, about not gettting any debug symbols.  They told me the same thing you told me.  I followed the instructions to a T, but alas i still am missing the symbols.  If I try to report they will just tell me that portage is not screaming at me, so it is not a bug.....AAAARRRRRRRRRGHHHHHHHHHHH!!!!!!!!!

There is a thread on the forums concerning my problem:  http://forums.gentoo.org/viewtopic-t-713083-highlight-.html



I filed a bug report b/c I was not getting the debug symbols: .  It is here.  


I followed the instructions to a T.  I filed a bug report here b/c
Comment 3 Anoop John 2009-02-09 10:13:47 UTC
(In reply to comment #0)
> gphpedit crashes when i try to replace all instances of a string with something
> else.

This bug seems to have been fixed in the latest version. You can download the latest source files using the instructions given here

http://www.gphpedit.org/content/16/how-to-download-the-latest-version-of-gphpedit

(In reply to comment #1)
> wow upstream removed their bugtracker due to spam. This is going to be fun...

Upstream maintenance have restarted. The new bug tracker is at

http://savannah.nongnu.org/support/?func=additem&group=gphpedit

Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-02 11:03:30 UTC
there is still no release since it was taken over so this is going nowhere...
Comment 5 Anoop John 2009-08-02 15:47:08 UTC
The issue has been fixed in the latest dev version of the application. You can please download the latest code from the git repository at 
http://github.com/anoopjohn/gphpedit/tree/master
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-02 17:11:02 UTC
I mean there is no tangible tarballs, that means there is no new release. Once something is released, we can proceed to bumping it in portage's tree.
Comment 7 Pacho Ramos gentoo-dev 2010-03-12 13:08:20 UTC
Fixed in -r1 with debian patch