FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 11-26-2008, 01:37 AM
Ichthyostega
 
Default Problems with Qtractor - Debugging of Qsynth failed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Mardorf schrieb:
> I opened Shell No. 2 for Konsole and went on.
>
> spinymouse@suse11:~> ulimit -c 10240
> spinymouse@suse11:~> ulimit -c 10240

> Qsynth1

> Audio were fine, but before I could take care of this,
> QSynth crashed and jackd was killed.

> I opened Konqueror file browser. In the users home there is a file qtractor.log,
> but it includes no messages for today and there also is no core file. Without a
> core file, I can't go on with gdb,

maybe the limit for core files was still to small? Core files can be really
huge. Remember it's an image of the program's memory (+registers etc).
Maybe you should try the setting "ulimit -c unlimited"

hope that helps,
Hermann



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJLKhxZbZrB6HelLIRAmraAJ9XIi6cOHjkPbQh+AbKwI mHjOSscACfSnex
aqAA7AYtg1pSsQPNCwtQEcQ=
=whCH
-----END PGP SIGNATURE-----
_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 11-26-2008, 02:08 AM
Ralf Mardorf
 
Default Problems with Qtractor - Debugging of Qsynth failed

Ichthyostega wrote:
> Ralf Mardorf schrieb:
> > I opened Shell No. 2 for Konsole and went on.
>
> > spinymouse@suse11:~> ulimit -c 10240
> > spinymouse@suse11:~> ulimit -c 10240
>
> > Qsynth1
>
> > Audio were fine, but before I could take care of this,
> > QSynth crashed and jackd was killed.
>
> > I opened Konqueror file browser. In the users home there is a file
> qtractor.log,
> > but it includes no messages for today and there also is no core
> file. Without a
> > core file, I can't go on with gdb,
>
> maybe the limit for core files was still to small? Core files can be
> really
> huge. Remember it's an image of the program's memory (+registers etc).
> Maybe you should try the setting "ulimit -c unlimited"
>
> hope that helps,
> Hermann
Thank you

I'll try it again with the value "unlimted", depending to the web page I
read a value of "1" should be 1024 bytes = 1 KB, so a value of "1024"
would be for 1 MB and a value of 10240 for 1 GB, another side said, a
value of "1024" is for 1 GB, so a value of "10240" would be for 10 GB.
As far as I remember you wrote, that a value of "1" is for 1 byte, than
"10240" would be for 1 MB.

Okay, 1 MB and 1 GB might be not enough, but I hope 10 GB will be
enough. If I'll use the partition with the most free space, "unlimited"
would mean less than 54.73 GB, "unlimited" shouldn't be more than around
50 GB. I hope this will be enough.

Cheers,
Ralf

_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 11-26-2008, 04:51 AM
Ichthyostega
 
Default Problems with Qtractor - Debugging of Qsynth failed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Mardorf schrieb:
> I'll try it again with the value "unlimted", depending to the web page I
> read a value of "1" should be 1024 bytes = 1 KB,

I just tried it out ... you are right, the value seems to be something in kB,
and obviously it gets rounded to even page numbers. But anyway, even if the
size is too small, you should at least see a core file, albeit truncated.
At least that's how my system behaves.

Let's just try it out in a dry run!

Enter the following in a text file called "broken.c"

int
main (int argc, char* argv[])
{
int * weh = 0;
int oh = *weh;

return 0;
}

This should segfault, right? :-P
Now compile it with

gcc broken.c -o broken

...giving you an executable called "broken" in the current directory.
Run it with

./broken

and you should get an segfault (but no core dump).
Then re-try it after issuing "ulimit -c unlimited"
Note, when creating a core, the program also says on stderr:

"Speicherzugriffsfehler (core dumped)"

or similar in english.
Does this test "work" for you?

Cheers
Hermann



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJLNW1ZbZrB6HelLIRAsLeAKD/VO3SGSznlP+0+7Cj0PwVJIO1uwCeNMmu
aBpas9P3TIevYvDnb3lLf9s=
=kUfT
-----END PGP SIGNATURE-----
_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 

Thread Tools




All times are GMT. The time now is 11:31 PM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org