Greetings, development people,
I'm trying to debug the problem I'm having where rosegarden crashes on loading
my autoload.rg.
I decided it was time to finally learn how to use gdb and its front-ends.
Well, I've been having problems, and for now, to simplify things, I cut out
the GUI front-ends and have been just trying to get debugging working with
gdb.
I seem to be getting different results running rosegarden directly (it
segfaults after setting up all the graphics and loading the autoload.rg),
then when running it under gdb, where it exits -1 much earlier, sometime
during the call to RosegardenApplication::start() in main().
So, classically, this is a symptom of some kind of memory corruption; however,
I'm so new at trying to use gdb that I think it is possible that instead, I'm
doing something wrong.
Thanks in advance for any hints about how my gdb setup could be wrong.
Regards
Larry Troxler
gdb session:
[EMAIL PROTECTED] ~/rosegarden]$ gdb /usr/bin/rosegarden
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) bre main
Breakpoint 1 at 0x8136e34: file main.cpp, line 433.
(gdb) run
Starting program: /usr/bin/rosegarden
[New Thread 8192 (LWP 2791)]
[Switching to Thread 8192 (LWP 2791)]
Breakpoint 1, main (argc=1, argv=0xbffffa54) at main.cpp:433
433 "[EMAIL PROTECTED]");
(gdb) next
434 aboutData.addAuthor("Guillaume Laurent, Chris Cannam, Richard
Bown",0,
(gdb) next
436 KCmdLineArgs::init( argc, argv, &aboutData );
(gdb) next
437 KCmdLineArgs::addCmdLineOptions( options ); // Add our own
options.
(gdb) next
438 KUniqueApplication::addCmdLineOptions(); // Add KUniqueApplication
options.
(gdb) next
440 std::cout << "starting rosegarden app" << std::endl;
(gdb) next
starting rosegarden app
442 if (!RosegardenApplication::start()) return 0;
(gdb) step
Program exited with code 0377.
(gdb)
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel