Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Is MT-option broken now?
Is MT-option broken now? [message #5435] Thu, 21 September 2006 15:29 Go to next message
piotr5 is currently offline  piotr5
Messages: 107
Registered: November 2005
Experienced Member
last time I compiled U++ as a GUI MT application it either seg-fault-ed, or locked when I tried to debug it -- even before reaching any possible breakpoint.

Btw, could it be possible to add some functionality for interrupting a debugged program? at least in linux it's always possible to send some signals to every process. what about windows?
Re: Is MT-option broken now? [message #5444 is a reply to message #5435] Thu, 21 September 2006 21:41 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
This is a bit confusing. Have you compiled U++ app or TheIDE? On what platform?
Re: Is MT-option broken now? [message #5509 is a reply to message #5444] Thu, 28 September 2006 15:01 Go to previous message
piotr5 is currently offline  piotr5
Messages: 107
Registered: November 2005
Experienced Member
As I said, linux is my platform. however, now I realized
that the bug might be only affecting me since I have 2 Athlon-MP.

When I now compile for speed with the option "-mcpu=athlon-mp"
instead of mere athlon-optimization, the ide does run alright.
however, when I optimize for size alone (without -mcpu), I get
a segfault between BiVector<Lex::Term>::~BiVector and its call
to BiVector<Lex::Term>::Free(), or something like that. the
debug-version (with -O0) does work without problems. maybe it's
just my old gcc-version, I just where curious if someone else
with a multi-processor system did reproduce my problem. here's
some debugger-output for orientation -- it's the bt just before
the segfault, since afterwards it was extremely short:

disas
info registers
eax 0xbffe7230 -1073843664
ecx 0xbffe70b8 -1073844040
edx 0x9082774 151529332
ebx 0xbffe718c -1073843828
esp 0xbffe70b8 0xbffe70b8
ebp 0xbffe70c0 0xbffe70c0
esi 0xbffe72c4 -1073843516
edi 0x0 0
eip 0x82b343f 0x82b343f
eflags 0x10282 66178
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x0 0

frame 0
#0 0x082b343f in BiVector<Lex::Term>::Free() (this=0xbffe7230) at /home/p/upp/uvs/upp-uvs/Core/Vcont.hpp:660
/home/p/upp/uvs/upp-uvs/Core/Vcont.hpp:660:14187:beg:0x82b34 3f

frame 1
#1 0x08242b97 in Parse(Stream&, Vector<String> const&, CppBase&, String const&, Callback2<int, String const&>) (s
=@0xbffe7230, ignore=@0xbffe7230, base=@0xbffe7230, fn=@0xbffe7230, _err={<Moveable<Callback2<int, const Strin
g&>,EmptyClass>> = {<EmptyClass> = {<No data fields>}, <No data fields>}, action = 0x40531a00}) at /home/p/upp
/uvs/upp-uvs/Core/BiCont.h:56
/home/p/upp/uvs/upp-uvs/Core/BiCont.h:56:2542:beg:0x8242b97

frame 2
#2 0x080dcf89 in UpdateBrowserBase(Progress&) (pi=@0xbffe74dc) at /home/p/upp/uvs/upp-uvs/ide/Browser/Base.cpp:27
6
/home/p/upp/uvs/upp-uvs/ide/Browser/Base.cpp:276:5936:beg:0x 80dcf89

frame 3
#3 0x080dd295 in StartBrowserBase() () at /home/p/upp/uvs/upp-uvs/ide/Browser/Base.cpp:325
/home/p/upp/uvs/upp-uvs/ide/Browser/Base.cpp:325:6929:beg:0x 80dd295

frame 4
#4 0x080939b3 in Ide::OpenMainPackage() (this=0xbffe7828) at /home/p/upp/uvs/upp-uvs/ide/ide.cpp:177
/home/p/upp/uvs/upp-uvs/ide/ide.cpp:177:4062:beg:0x80939b3

frame 5
#5 0x0807d42b in GuiMainFn_() () at /home/p/upp/uvs/upp-uvs/ide/idewin.cpp:824
/home/p/upp/uvs/upp-uvs/ide/idewin.cpp:824:17461:beg:0x807d4 2b

frame 6
#6 0x0807c9ab in main (argc=1, argv=0xbffff754, envptr=0xbffff75c) at /home/p/upp/uvs/upp-uvs/ide/idewin.cpp:568
/home/p/upp/uvs/upp-uvs/ide/idewin.cpp:568:11113:beg:0x807c9 ab

frame 7
#0 0x00000000 in ?? ()

Previous Topic: Bugs 609-dev3
Next Topic: Confusing compile-defaults
Goto Forum:
  


Current Time: Fri Mar 29 15:24:33 CET 2024

Total time taken to generate the page: 0.01877 seconds