On Wed, 6 Mar 2002, Vimol wrote:
> The C program here is giving out "Hello world" while running in Rethat Linux
> 7.2 . It is compiled with ''gcc".
>
> WHY NO CORE DUMP??? I have malloc only one byte.
> Please explain me.
We've seen quite a few bug reports from newbies about "core" files filli
Hi !
malloc() never allocates just one byte, it depends on the implementation,
but you get at least 4 bytes to use maybe 8 or more so there is room for
that number of bytes.
And even if you do overwrite the end, you may not get a core dump, a normal
C app runs in a single segment and writing out
You are confusing 'segmentation fault' with 'accessing memory not
(yet) allocated'. A program has certain space allocated to it by
the OS. To use this memory in an organized manner, you use (m)alloc.
So in your program you are accessing your memory only, and that is
why no seg-fault(and hence no c
The C program here is giving out "Hello world" while running in Rethat Linux
7.2 . It is compiled with ''gcc".
WHY NO CORE DUMP??? I have malloc only one byte.
Please explain me.
Kvimol
#include
#include
void
my_strcat(char *dest, const char *src)
{
while( *dest++ );
dest--
> kdebase-3.0.0-0.cvs20020218.1
>
> As soon as I type the first '/' character of "http://..."; in the
> "Location" field, konqueror crashes with a segmentation fault.
> 100% reproducible.
>
> Is anyone else seeing this?
Doesn't look like a development issue to me.
--
Cheers
John Summerfield
On 2002-03-05, Bernhard Rosenkraenzer wrote:
:> As soon as I type the first '/' character of "http://..."; in the
:> "Location" field, konqueror crashes with a segmentation fault.
:> 100% reproducible.
:>
:> Is anyone else seeing this?
:
:No, and Konqueror is the only graphical browser I'm using
On 2002-03-05, Hetz Ben Hamo wrote:
:If you're planning to use KDE on RH 8.0 - then I would recommend you to
:either compile KDE from CVS or wait for the binaries that bero provides from
:time to time (bero, any time frame for releasing binaries or you'll release
:the 3.0 final version only?)
On Tue, 5 Mar 2002, Michael Schwendt wrote:
> As soon as I type the first '/' character of "http://..."; in the
> "Location" field, konqueror crashes with a segmentation fault.
> 100% reproducible.
>
> Is anyone else seeing this?
No, and Konqueror is the only graphical browser I'm using.
Did yo
kdebase-3.0.0-0.cvs20020218.1
As soon as I type the first '/' character of "http://..."; in the
"Location" field, konqueror crashes with a segmentation fault.
100% reproducible.
Is anyone else seeing this?
___
Redhat-devel-list mailing list
[EMAIL P