List Info

Thread: Help with packaging eclipse-3.3, double free exception




Help with packaging eclipse-3.3, double free exception
user name
2007-09-10 02:15:43
Hi,  seeing nichoj is too time constrained to tackle eclipse
anymore.  I
have decided to attempt    to get
3.3 into our tree.  Currently I have
based my ebuild of work done by a gentoo contributor for our
gcj overlay.

I am able to compile easily enough but attempting to run
eclipse results
 in a double free or corruption bug, this occurs after the
splash screen
is displayed. (see backtrace below)

I have compiled swt with the following support.

dev-java/swt-3.3  USE="cairo firefox opengl xulrunner
-gnome -seamonkey"

The ebuild is located here
ht
tps://overlays.gentoo.org/proj/java/browser/java-experimenta
l/dev-util/eclipse-sdk/eclipse-sdk-3.3-r1.ebuild

patches here
https://overlays.g
entoo.org/proj/java/browser/java-experimental/dev-util/eclip
se-sdk/files/3.3

as well as the fedora dir under that.  Ignore the
launcher_double_free2.diff patch, that was just me pulling
my hair out.

and the start script
https://ov
erlays.gentoo.org/proj/java/browser/java-experimental/dev-ut
il/eclipse-sdk/files/eclipse-3.3

So, at the moment I'm looking for some nondescript advice on
any patches
I have missed or the best way to track this bug down.

Thanks

Alistair
Gentoo Linux


ps.   The Backtrace.

*** glibc detected *** /usr/lib64/eclipse-3.3/eclipse:
double free or
corruption (!prev): 0x0000000000635160 ***
======= Backtrace: =========
/lib/libc.so.6[0x2abe32c2d0ec]
/lib/libc.so.6(cfree+0x76)[0x2abe32c2ee06]
/usr/lib64/eclipse-3.3/plugins/org.eclipse.equinox.launcher.
gtk.linux.x86_64_1.0.0.v20070606/eclipse_1017a.so(run+0xbf1)
[0x2aaaaab69951]
/usr/lib64/eclipse-3.3/eclipse[0x401ae5]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2abe32bddb74]
/usr/lib64/eclipse-3.3/eclipse[0x4015d9]
======= Memory map: ========
00400000-00403000 r-xp 00000000 08:03 5508731
 /usr/lib64/eclipse-3.3/eclipse
00603000-00605000 rw-p 00003000 08:03 5508731
 /usr/lib64/eclipse-3.3/eclipse
00605000-006e5000 rw-p 00605000 00:00 0
 [heap]
40000000-40002000 rwxp 00000000 00:0f 3249
 /dev/zero
2aaaaaaab000-2aaaaab1f000 rw-p 2aaaaaaab000 00:00 0
2aaaaab1f000-2aaaaab20000 r--p 00000000 08:03 6130906
 /usr/lib64/locale/en_NZ/LC_IDENTIFICATION
2aaaaab20000-2aaaaab21000 r--p 00000000 08:03 6130905
 /usr/lib64/locale/en_NZ/LC_MEASUREMENT
2aaaaab21000-2aaaaab22000 r--p 00000000 08:03 6130904
 /usr/lib64/locale/en_NZ/LC_TELEPHONE
2aaaaab22000-2aaaaab23000 r--p 00000000 08:03 6130903
 /usr/lib64/locale/en_NZ/LC_ADDRESS
2aaaaab23000-2aaaaab24000 r--p 00000000 08:03 6130902
 /usr/lib64/locale/en_NZ/LC_NAME
2aaaaab24000-2aaaaab25000 r--p 00000000 08:03 6130901
 /usr/lib64/locale/en_NZ/LC_PAPER
2aaaaab25000-2aaaaab26000 r--p 00000000 08:03 6130900
 /usr/lib64/locale/en_NZ/LC_MESSAGES/SYS_LC_MESSAGES
2aaaaab26000-2aaaaab27000 r--p 00000000 08:03 6130898
 /usr/lib64/locale/en_NZ/LC_MONETARY
2aaaaab27000-2aaaaab2c000 r--p 00000000 08:03 6130897
 /usr/lib64/locale/en_NZ/LC_COLLATE
2aaaaab2c000-2aaaaab2d000 r--p 00000000 08:03 6130896
 /usr/lib64/locale/en_NZ/LC_TIME
2aaaaab2d000-2aaaaab2e000 r--p 00000000 08:03 6130895
 /usr/lib64/locale/en_NZ/LC_NUMERIC
2aaaaab2e000-2aaaaab64000 r--p 00000000 08:03 6130894
 /usr/lib64/locale/en_NZ/LC_CTYPE
2aaaaab64000-2aaaaab6f000 r-xp 00000000 08:03 6357109
 /usr/lib64/eclipse-3.3/plugins/org.eclipse.equinox.launcher
.gtk.linux.x86_64_1.0.0.v20070606/eclipse_1017a.so
2aaaaab6f000-2aaaaad6e000 ---p 0000b000 08:03 6357109
 /usr/lib64/eclipse-3.3/plugins/org.eclipse.equinox.launcher
.gtk.linux.x86_64_1.0.0.v20070606/eclipse_1017a.so
2aaaaad6e000-2aaaaad70000 rw-p 0000a000 08:03 6357109
 /usr/lib64/eclipse-3.3/plugins/org.eclipse.equinox.launcher
.gtk.linux.x86_64_1.0.0.v20070606/eclipse_1017a.so
2aaaaad70000-2aaaaad77000 r--s 00000000 08:03 4735992
 /usr/lib64/gconv/gconv-modules.cache
2aaaaad77000-2aaaaad79000 r-xp 00000000 08:03 6144589
 /usr/lib64/gconv/ISO8859-1.so
2aaaaad79000-2aaaaaf78000 ---p 00002000 08:03 6144589
 /usr/lib64/gconv/ISO8859-1.so
2aaaaaf78000-2aaaaaf7a000 rw-p 00001000 08:03 6144589
 /usr/lib64/gconv/ISO8859-1.so
2aaaaaf94000-2aaaaaf9b000 r-xp 00000000 08:03 6014913
 /lib64/libnss_compat-2.6.1.so
2aaaaaf9b000-2aaaab19a000 ---p 00007000 08:03 6014913
 /lib64/libnss_compat-2.6.1.so
2aaaab19a000-2aaaab19c000 rw-p 00006000 08:03 6014913
 /lib64/libnss_compat-2.6.1.so
2aaaab19c000-2aaaab1b0000 r-xp 00000000 08:03 6014909
 /lib64/libnsl-2.6.1.so
2aaaab1b0000-2aaaab3af000 ---p 00014000 08:03 6014909
 /lib64/libnsl-2.6.1.so
2aaaab3af000-2aaaab3b1000 rw-p 00013000 08:03 6014909
 /lib64/libnsl-2.6.1.so
2aaaab3b1000-2aaaab3b3000 rw-p 2aaaab3b1000 00:00 0
2aaaab3b3000-2aaaab3bc000 r-xp 00000000 08:03 6014911
 /lib64/libnss_nis-2.6.1.so
2aaaab3bc000-2aaaab5bc000 ---p 00009000 08:03 6014911
 /lib64/libnss_nis-2.6.1.so
2aaaab5bc000-2aaaab5be000 rw-p 00009000 08:03 6014911
 /lib64/libnss_nis-2.6.1.so
2aaaab5be000-2aaaab5c8000 r-xp 00000000 08:03 6014902
 /lib64/libnss_files-2.6.1.so
2aaaab5c8000-2aaaab7c7000 ---p 0000a000 08:03 6014902
 /lib64/libnss_files-2.6.1.so
2aaaab7c7000-2aaaab7c9000 rw-p 00009000 08:03 6014902
 /lib64/libnss_files-2.6.1.so
2aaaab7c9000-2aaaab7fa000 r--s 00000000 08:03 4490087
 /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86-
64.cache-2
2aaaab7fa000-2aaaab80b000 r--s 00000000 08:03 4490337
 /var/cache/fontconfig/4b5cf4386f1cde02a336ba961b4ac82d-x86-
64.cache-2
2aaaab80b000-2aaaab81c000 r--s 00000000 08:03 4489220
 /var/cache/fontconfig/221fd1126b80b777db535aea535e87ba-x86-
64.cache-2
2aaaab81c000-2aaaab82f000 r--s 00000000 08:03 4489221
 /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-x86-
64.cache-2
2aaaab82f000-2aaaab837000 r--s 00000000 08:03 4491530
 /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86-
64.cache-2
2aaaab837000-2aaaab83a000 r-xp 00000000 08:03 4704633
 /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
2aaaab83a000-2aaaaba39000 ---p 00003000 08:03 4704633
 /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
2aaaaba39000-2aaaaba3b0Aborted


_______________________________________________
linux-distros-dev mailing list
linux-distros-deveclipse.org
https://dev.eclipse.org/mailman/listinfo/linux-distros
-dev

Re: Help with packaging eclipse-3.3, double free exception
user name
2007-09-10 08:22:29
Hi Alistair,

* Alistair Bush <ali_bushgentoo.org> [2007-09-10
03:20]:
> Hi,  seeing nichoj is too time constrained to tackle
eclipse anymore.  I
> have decided to attempt    to get
3.3 into our tree.  Currently I have
> based my ebuild of work done by a gentoo contributor
for our gcj overlay.

Welcome 

> I am able to compile easily enough but attempting to
run eclipse results
>  in a double free or corruption bug, this occurs after
the splash screen
> is displayed. (see backtrace below)

Have you looked at the patches we have in Fedora:

http://cvs.fedoraproject.org/viewcvs/rpms/eclipse/devel/


?

Andrew

_______________________________________________
linux-distros-dev mailing list
linux-distros-deveclipse.org
https://dev.eclipse.org/mailman/listinfo/linux-distros
-dev

Re: Help with packaging eclipse-3.3, double free exception
user name
2007-09-10 11:46:53
On Mon, 2007-09-10 at 19:15 +1200, Alistair Bush wrote:
> Hi,  seeing nichoj is too time constrained to tackle
eclipse anymore.  I
> have decided to attempt    to get
3.3 into our tree.  Currently I have
> based my ebuild of work done by a gentoo contributor
for our gcj overlay.
> 
> I am able to compile easily enough but attempting to
run eclipse results
>  in a double free or corruption bug, this occurs after
the splash screen
> is displayed. (see backtrace below)

Eclipse 3.3.0 has a bug where the binary launcher double
frees when the
eclipse product isn't found. You should try running Eclipse
with the
'-consolelog' option to see if you're hitting this problem
or if it's
something else.

Ben

_______________________________________________
linux-distros-dev mailing list
linux-distros-deveclipse.org
https://dev.eclipse.org/mailman/listinfo/linux-distros
-dev

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )