Bugzilla – Bug 465291
Kompozer crash - only openSUSE 11.1 x86 - x86_64
Last modified: 2009-07-16 13:45:56 UTC
Hi, for example, when I choose in Kompozer: Menu -> table -> insert, Kompozer falls and console write this message: djs_core@djscoreNB:~> kompozer /usr/lib/kompozer/run-mozilla.sh: line 159: 4024 Unauthorized access to memory (SIGSEGV) "$prog" ${1+"$@"} This is happening in each drop-down menu. In openSUSE 11.0 this problem was not. I tryied package from repositories and also binary file from Kompozer homepage. I tested it on two computer and the same result ...
I am able to reproduce.
nsMenuFrame::Notify (this=0x131f808, aTimer=0x7e27c0) at nsMenuFrame.cpp:1331 1331 mOpenTimer->Cancel(); (gdb) bt #0 nsMenuFrame::Notify (this=0x131f808, aTimer=0x7e27c0) at nsMenuFrame.cpp:1331 #1 0x00007f7a38bc301a in nsTimerImpl::Fire (this=0xf63fc0) at nsTimerImpl.cpp:385 #2 0x00007f7a38bc31c8 in handleTimerEvent (event=<value optimized out>) at nsTimerImpl.cpp:447 #3 0x00007f7a38bbef89 in PL_HandleEvent (self=0x12b8c70) at plevent.c:673 #4 0x00007f7a38bbf275 in PL_ProcessPendingEvents (self=0x711640) at plevent.c:608 #5 0x00007f7a38bc0fd1 in nsEventQueueImpl::ProcessPendingEvents (this=0x6f9370) at nsEventQueue.cpp:391 #6 0x00007f7a2d2a6e82 in event_processor_callback (source=<value optimized out>, condition=8267712, data=0x7f7a38e11a30) at nsAppShell.cpp:67 #7 0x00007f7a35aec0db in IA__g_main_context_dispatch (context=0x6742a0) at gmain.c:2144 #8 0x00007f7a35aef8ad in g_main_context_iterate (context=0x6742a0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778 #9 0x00007f7a35aefddd in IA__g_main_loop_run (loop=0x8d39f0) at gmain.c:2986 #10 0x00007f7a37c0b477 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0 #11 0x00007f7a2d2a7430 in nsAppShell::Run (this=0x743aa0) at nsAppShell.cpp:142 #12 0x0000000000408f13 in xre_main (argc=<value optimized out>, argv=<value optimized out>, aAppData=0x6122a0) at nsAppRunner.cpp:1907 #13 0x00007f7a34cc0586 in __libc_start_main () from /lib64/libc.so.6 #14 0x0000000000404ac9 in _start () at ../sysdeps/x86_64/elf/start.S:113
Upstream reference: https://sourceforge.net/tracker/index.php?func=detail&aid=2339056&group_id=170132&atid=853122
I can confirm this bug with recently chnged menu item
*** Bug 505445 has been marked as a duplicate of this bug. ***
Created attachment 294308 [details] gdb trace for kompozer segfault
A possible solution to this problem has been found by Ubuntu devs, with fix available here: https://bugs.launchpad.net/ubuntu/+source/kompozer/+bug/263441
Working on update to the version 0.8 alpha. But this version crashes in openSUSE immediately as well - it contain buffer overflow. In Ubuntu it remains undiscovered, in openSUSE it aborts. (openSUSE compiles all packages with FORTIFY_SOURCE)
I have incorporated all fixes from the latest OBS mozilla firefox2 and finally was able to build komposer 0.8a4. New build will appear soon in the OBS repository home:sbrabec:Factory. Please test.
Will check that. BTW, why does this install of Kompozer show Nvu icon in menu, instead of Kompozer's? (Not Factory, I'm referring to the one currently in official OSS repository.)
Kompozer (and ever nvu) never provided official desktop menu icon. Looking at the graphics, a globe with a feather may be a better choice. I'll update it.
I sent all patches from my build to upstream: https://sourceforge.net/tracker/?func=detail&atid=853124&aid=2799501&group_id=170132
The SWAMPID for this issue is 25030. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/25030)
I just created a new build. It is based on the "official" version 0.8a4 and is equal to the svn20090526-trunk-r163 build. I updated home:sbrabec:Factory, http://pack.suse.cz/sbrabec/kompozer/ and submitted to 11.1 and SLE11 (distros with broken combination of gtk2 and kompozer/nvu). Submitted to Factory as request id 11359. Patchinfos submitted.
Update released for: fontconfig, fontconfig-debuginfo, fontconfig-debuginfo-32bit, fontconfig-debuginfo-x86, fontconfig-debugsource, fontconfig-devel, libnotify1, libnsssharedhelper0, startup-notification, startup-notification-debuginfo, startup-notification-debugsource, startup-notification-devel Products: openSUSE 11.1 (debug, i586, ppc, ppc64, x86_64)
Update released for: kompozer, kompozer-debuginfo, kompozer-debugsource Products: openSUSE 11.1 (debug, i586, ppc, x86_64)
Update released for: gconf2, gconf2-devel, gconf2-doc, jpackage-utils Products: openSUSE 11.0 (debug, i386, ppc, ppc64, x86_64)
Update released for: kompozer, kompozer-debuginfo, kompozer-debugsource Products: SLE-DEBUGINFO 11 (i386, x86_64) SLE-DESKTOP 11 (i386, x86_64) SLE-SDK 11 (i386, x86_64)