[Gambas-user] exception 11

Steven revimmo steven at ...1652...
Wed Feb 9 08:39:32 CET 2011


Hi benoît,

I investigated a bit more on what happened.

For a week, i was still using the version 2.8.
Then the problem occurred.

So, I thought, the first thing to do was install the latest version
(2.22)

I downloaded this version (not the trunk) and did
./configure
make
su
make install

Now, when you told me to remove the binaries from /usr/bin I've put them
in a temp directory
(just to be prudent)
Here is the listing from that directory :
drwxr-xr-x 2 root root    288 févr.  8 18:41 .
drwxr-xr-x 3 root root 111584 févr.  8 18:41 ..
-rwxr-xr-x 1 root root  19612 juil. 10  2008 gba2
-rwxr-xr-x 1 root root  84396 juil. 10  2008 gbc2
-rwxr-xr-x 1 root root  78112 janv. 21  2010 gbf-am-parse
-rwxr-xr-x 1 root root  47018 janv. 21  2010 gbf-mkfile-parse
-rwxr-xr-x 1 root root  23412 juil. 10  2008 gbi2
lrwxrwxrwx 1 root root      4 juil. 11  2008 gbr2 -> gbx2
lrwxrwxrwx 1 root root     11 juil. 11  2008 gbs2 -> gbs2.gambas
-rwxr-xr-x 1 root root  13156 juil. 10  2008 gbs2.gambas
-rwxr-xr-x 1 root root 193872 juil. 10  2008 gbx2


As you can see, not one file was recent.
But, as I launched the programming interface, it told me it was version
2.22

So, I presume that, if you install like that, the binaries are NOT
replaced, and actually you still work with an old version.

If this is correct, i suppose it's a bug. The binaries should have been
replaced by the new ones.

Whatever, you be the judge of that. Only hope this info helps in some
way.

Thanks again, and kindest regards,

Steven








 

Le mardi 08 février 2011 à 18:25 +0100, Benoît Minisini a écrit :

> > After some testing, i found out I had to set the scaled parm to false
> > for all the windows.
> > So, now I succeeded the first part. The output is :
> > 
> > steven at ...40...:~/request_dev> gbx2 -p
> > kbuildsycoca running...
> > QObject::disconnect: Unexpected null parameter
> > steven at ...40...:~/request_dev> gbx2 -p
> > kbuildsycoca running...
> > Erreur de segmentation (core dumped)
> > steven at ...40...:~/request_dev> DCOP Cleaning up dead connections.
> > 
> > steven at ...40...:~/request_dev> gdb /usr/bin/gbx2 core
> > GNU gdb (GDB) SUSE (6.8.91.20090930-2.4)
> > Copyright (C) 2009 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later
> > <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute
> > it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show
> > copying"
> > and "show warranty" for
> > details.
> > This GDB was configured as
> > "i586-suse-linux".
> > For bug reporting instructions, please see:
> > <http://www.gnu.org/software/gdb/bugs/>...
> > Reading symbols from /usr/bin/gbx2...(no debugging symbols
> > found)...done.
> > Missing separate debuginfo for /lib/ld-linux.so.2
> > Try: zypper install -C
> > "debuginfo(build-id)=43b505ea5e193fa5d7c742793989c5aaa0874e0c"
> > Core was generated by `gbx2 -p'.
> > Program terminated with signal 11, Segmentation fault.
> > #0  0xb48f12d7 in ?? ()
> > (gdb) bt
> > #0  0xb48f12d7 in ?? ()
> > #1  0xb48f13fb in ?? ()
> > #2  0xb78a9a6f in ?? ()
> > #3  0xb78a6f8f in ?? ()
> > #4  0x0804e4e0 in getgid ()
> > #5  0x081b0250 in ?? ()
> > #6  0x0804ede4 in getgid ()
> > #7  0xb78a6f01 in ?? ()
> > #8  0x0806aeb0 in getgid ()
> > #9  0x08088d08 in ?? ()
> > #10 0x0804f0e5 in getgid ()
> > #11 0xffffffff in ?? ()
> > #12 0x0804f3bb in getgid ()
> > #13 0xbff34afc in ?? ()
> > #14 0x0805cf10 in getgid ()
> > #15 0x08610f58 in ?? ()
> > #16 0x0805d40e in getgid ()
> > #17 0x00000000 in ?? ()
> > (gdb) quit
> > steven at ...40...:~/request_dev>
> > 
> > I dont know if this helps, do i do that (installing debug info) ?
> > 
> > Steven
> > 
> 
> I should have been more precise:
> 
> - You must first uninstall the old gambas2 binary packages.
> - Then you can compile and install gambas2 from the trunk.
> - When you compile gambas2, dont' do just "make", but the following:
> 
> 	$ make "CFLAGS=-O0 -g" "CXXFLAGS=-O0 -g"
> 
> - Once everything is correctly installed, you can start valgrind again and get 
> more useful details for me.
> 
> P.S. I got your valgrind output post, but it was too big to be sent to the 
> entire mailing-list (a post cannot be heavier than 256 Kb).
> 
> Regards,
> 





More information about the User mailing list