From: joakim v. <jo...@ve...> - 2004-03-31 22:49:36
|
It segfaults, but compiles. Hints as to why it segfaults would be welcome. It doesnt even show the dialog. Cheers, /Joakim |
From: Patrick E. <pa...@pa...> - 2004-04-01 02:26:52
|
It works for me. Try running it under gdb or adding print statements all over the place? Patrick On Wednesday 31 March 2004 15:49, joakim verona wrote: > It segfaults, but compiles. > > Hints as to why it segfaults would be welcome. > > It doesnt even show the dialog. > > Cheers, > /Joakim > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO > of GenToo technologies. Learn everything from fundamentals to > system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >ck _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel |
From: joakim v. <jo...@ve...> - 2004-04-01 06:35:16
|
Odd, for me it crashes within the jppResourceDialog destructor, on the showModal call. I experienced the same behaviour previously when I hadn't named the xrc resource properly. This leads me to believe that there is some slight difference between our system finding dialog resources. How are the resources located actually? /Joakim Patrick Earl wrote: >It works for me. Try running it under gdb or adding print statements >all over the place? > > Patrick > >On Wednesday 31 March 2004 15:49, joakim verona wrote: > > >>It segfaults, but compiles. >> >>Hints as to why it segfaults would be welcome. >> >>It doesnt even show the dialog. >> >>Cheers, >>/Joakim >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IBM Linux Tutorials >>Free Linux tutorial presented by Daniel Robbins, President and CEO >>of GenToo technologies. Learn everything from fundamentals to >>system >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >>ck _______________________________________________ >>jazzplusplus-devel mailing list >>jaz...@li... >>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >jazzplusplus-devel mailing list >jaz...@li... >https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > |
From: joakim v. <jo...@ve...> - 2004-04-01 07:37:55
|
Hmm. When I changed the initialization code for the listbox it worked: from Mode=8; to Mode=modes[0]; which is odd because it should be exacctly the same thing. My guess is some strange c++ type conversion magic that I've forgotten about. /Joakim joakim verona wrote: > Odd, for me it crashes within the jppResourceDialog destructor, > on the showModal call. > > I experienced the same behaviour previously when I hadn't named > the xrc resource properly. > > This leads me to believe that there is some slight difference between > our system > finding dialog resources. > > How are the resources located actually? > > /Joakim > > Patrick Earl wrote: > >> It works for me. Try running it under gdb or adding print statements >> all over the place? >> >> Patrick >> >> On Wednesday 31 March 2004 15:49, joakim verona wrote: >> >> >>> It segfaults, but compiles. >>> >>> Hints as to why it segfaults would be welcome. >>> >>> It doesnt even show the dialog. >>> >>> Cheers, >>> /Joakim >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: IBM Linux Tutorials >>> Free Linux tutorial presented by Daniel Robbins, President and CEO >>> of GenToo technologies. Learn everything from fundamentals to >>> system >>> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >>> ck _______________________________________________ >>> jazzplusplus-devel mailing list >>> jaz...@li... >>> https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >>> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >> _______________________________________________ >> jazzplusplus-devel mailing list >> jaz...@li... >> https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel |
From: Patrick E. <pa...@pa...> - 2004-04-01 08:18:46
|
I don't think that had anything to do with the problem. If it were me, I'd try and reproduce the problem and do some valgrind work on it. Patrick On Thursday 01 April 2004 00:37, joakim verona wrote: > Hmm. > > When I changed the initialization code for the listbox it worked: > > from > Mode=8; > to > Mode=modes[0]; > > which is odd because it should be exacctly the same thing. > > My guess is some strange c++ type conversion magic that I've > forgotten about. > > /Joakim > > joakim verona wrote: > > Odd, for me it crashes within the jppResourceDialog destructor, > > on the showModal call. > > > > I experienced the same behaviour previously when I hadn't named > > the xrc resource properly. > > > > This leads me to believe that there is some slight difference > > between our system > > finding dialog resources. > > > > How are the resources located actually? > > > > /Joakim > > > > Patrick Earl wrote: > >> It works for me. Try running it under gdb or adding print > >> statements all over the place? > >> > >> Patrick > >> > >> On Wednesday 31 March 2004 15:49, joakim verona wrote: > >>> It segfaults, but compiles. > >>> > >>> Hints as to why it segfaults would be welcome. > >>> > >>> It doesnt even show the dialog. > >>> > >>> Cheers, > >>> /Joakim > >>> > >>> > >>> ------------------------------------------------------- > >>> This SF.Net email is sponsored by: IBM Linux Tutorials > >>> Free Linux tutorial presented by Daniel Robbins, President and > >>> CEO of GenToo technologies. Learn everything from fundamentals > >>> to system > >>> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op > >>>=cli ck _______________________________________________ > >>> jazzplusplus-devel mailing list > >>> jaz...@li... > >>> https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: IBM Linux Tutorials > >> Free Linux tutorial presented by Daniel Robbins, President and > >> CEO of GenToo technologies. Learn everything from fundamentals > >> to system > >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op= > >>click _______________________________________________ > >> jazzplusplus-devel mailing list > >> jaz...@li... > >> https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and > > CEO of GenToo technologies. Learn everything from fundamentals to > > system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=c > >lick _______________________________________________ > > jazzplusplus-devel mailing list > > jaz...@li... > > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO > of GenToo technologies. Learn everything from fundamentals to > system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >ck _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel |
From: Joakim V. <jo...@ve...> - 2004-04-01 08:37:31
|
Patrick Earl wrote: >I don't think that had anything to do with the problem. If it were >me, I'd try and reproduce the problem and do some valgrind work on >it. > > Well, the problem is gone now, so we'll see how it turns out. > Patrick > >On Thursday 01 April 2004 00:37, joakim verona wrote: > > >>Hmm. >> >>When I changed the initialization code for the listbox it worked: >> >>from >>Mode=8; >>to >>Mode=modes[0]; >> >>which is odd because it should be exacctly the same thing. >> >>My guess is some strange c++ type conversion magic that I've >>forgotten about. >> >>/Joakim >> >>joakim verona wrote: >> >> >>>Odd, for me it crashes within the jppResourceDialog destructor, >>>on the showModal call. >>> >>>I experienced the same behaviour previously when I hadn't named >>>the xrc resource properly. >>> >>>This leads me to believe that there is some slight difference >>>between our system >>>finding dialog resources. >>> >>>How are the resources located actually? >>> >>>/Joakim >>> >>>Patrick Earl wrote: >>> >>> >>>>It works for me. Try running it under gdb or adding print >>>>statements all over the place? >>>> >>>> Patrick >>>> >>>>On Wednesday 31 March 2004 15:49, joakim verona wrote: >>>> >>>> >>>>>It segfaults, but compiles. >>>>> >>>>>Hints as to why it segfaults would be welcome. >>>>> >>>>>It doesnt even show the dialog. >>>>> >>>>>Cheers, >>>>>/Joakim >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>>>Free Linux tutorial presented by Daniel Robbins, President and >>>>>CEO of GenToo technologies. Learn everything from fundamentals >>>>>to system >>>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op >>>>>=cli ck _______________________________________________ >>>>>jazzplusplus-devel mailing list >>>>>jaz...@li... >>>>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >>>>> >>>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>>Free Linux tutorial presented by Daniel Robbins, President and >>>>CEO of GenToo technologies. Learn everything from fundamentals >>>>to system >>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op= >>>>click _______________________________________________ >>>>jazzplusplus-devel mailing list >>>>jaz...@li... >>>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >>>> >>>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>Free Linux tutorial presented by Daniel Robbins, President and >>>CEO of GenToo technologies. Learn everything from fundamentals to >>>system >>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=c >>>lick _______________________________________________ >>>jazzplusplus-devel mailing list >>>jaz...@li... >>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >>> >>> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IBM Linux Tutorials >>Free Linux tutorial presented by Daniel Robbins, President and CEO >>of GenToo technologies. Learn everything from fundamentals to >>system >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >>ck _______________________________________________ >>jazzplusplus-devel mailing list >>jaz...@li... >>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >jazzplusplus-devel mailing list >jaz...@li... >https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > |
From: Patrick E. <pa...@pa...> - 2004-04-01 08:48:20
|
I fixed and commited a memory bug that was in engine/Project.cpp. It may have been causing the wierd crash. The following line is there: if(mRecInfo) delete mRecInfo; However, there was no mRecInfo=0 in the constructor. It was deleting a garbage pointer, which can no doubt lead to all sorts of craziness. This memory fix brought to you by our friendly neighbourhood valgrind. Patrick On Thursday 01 April 2004 00:34, Joakim Verona wrote: > Patrick Earl wrote: > >I don't think that had anything to do with the problem. If it > > were me, I'd try and reproduce the problem and do some valgrind > > work on it. > > Well, the problem is gone now, so we'll see how it turns out. |
From: Joakim V. <jo...@ve...> - 2004-04-01 09:17:29
|
Valgrind rules! There is supposed to be some gui for it now, aleyoop. Have you tested it? /Joakim Patrick Earl wrote: >I fixed and commited a memory bug that was in engine/Project.cpp. It >may have been causing the wierd crash. > >The following line is there: > if(mRecInfo) delete mRecInfo; > >However, there was no mRecInfo=0 in the constructor. It was deleting >a garbage pointer, which can no doubt lead to all sorts of craziness. > >This memory fix brought to you by our friendly neighbourhood valgrind. > > Patrick > >On Thursday 01 April 2004 00:34, Joakim Verona wrote: > > >>Patrick Earl wrote: >> >> >>>I don't think that had anything to do with the problem. If it >>>were me, I'd try and reproduce the problem and do some valgrind >>>work on it. >>> >>> >>Well, the problem is gone now, so we'll see how it turns out. >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >jazzplusplus-devel mailing list >jaz...@li... >https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > |