All of lore.kernel.org
 help / color / mirror / Atom feed
* Segmentation fault
@ 2000-08-10  6:52 Li Guangdong
  0 siblings, 0 replies; 32+ messages in thread
From: Li Guangdong @ 2000-08-10  6:52 UTC (permalink / raw)
  To: PPC mail list


Hi All,


When we run a GUI program on Hard Hat Linux(CDK1.0) on RPX-lite, it always
crashes with the message "Segmentation fault" or "Aborted" on the console
after manipulating the GUI windows for some time. It seems that something
wrong with the malloc() and free() functions.

And we found that, if malloc() (or __libc_malloc) is called continuously, it
seems OK. But if malloc() is called after freeing some previously allocated
blocks using free() (or __libc_free), we always get the message
"Segmentation fault".

By the way, this GUI program is built with g++ and "-static" option.

Could you please give your advice on this problem?

Thanks,
Kant


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Segmentation fault
@ 2000-10-06  8:39 H.S. Kim
  2000-10-06 13:57 ` Wolfgang Denk
  0 siblings, 1 reply; 32+ messages in thread
From: H.S. Kim @ 2000-10-06  8:39 UTC (permalink / raw)
  To: linuxppc-embedded


fitst, I week the english.

On the MBX860 board..
and NFS file system.

1.
I compiled the binutil, gcc,  kernel and glibc without errors.
binutil-2.20.0.26
gcc-2.95.2
mpc8xx-2.2.13
glibc-2.1.3

2.
And, I compiled the ash shell.
ash-linux-0.2

3.
And, I compiled the modutils.
modutils-2.3.9

4.
1, 2, 3 -> no error compiled and install.
but, ./modutils-2.3.9/insmod/insmod.c (refer to follow source)
first, segmentation error
==========================================
              if ((p = strrchr(filename, '/')) != NULL){
                      p++;
                      }
              else{
                      p = filename;
              }
*** Result ***
p = strrchr(filename,'/')  -> segmentation fault
================================================
So, i maked strrchr function.
==========================================
                len = strlen(p);

printf("MAIN_04_01\n");
                p=filename;
                for(i=len;i>0;i--)
                        p++;

printf("MAIN_04_02\n");
                for(i=1;i<=len;i++)
                        if(*(--p) == '/' ) {
                                p++;
                                break;
                        }
printf("MAIN_04_03\n");
                if(i<len)
                        p = filename;
***  Result  ****
len = strlen(p)   -> segmentation fault
=======================================
So, I remake strlen function
=======================================
              i=0;
              p=filename;
printf("MAIN_04_011\n");
              while(flag) {
printf("MAIN_04_012\n");
                      if(*(p) == '\0') flag=0;
printf("MAIN_04_013\n");
                      p++;
printf("MAIN_04_014\n");
                      i++;
              }
              len=i;

*** Result ***
MAIN_04_011
MAIN_04_012
Segmentation fault
======================================

But, when I make the simple program, no segmentation fault
==================================================
main(){

char *filename="fissslename";

 char  *p;
 char  *p1;
 char  ch;
 int i;
 int len;

p=filename;
len=strlen(filename);
printf("length=%d\n",len);
i=0;
while(1)
{
        if( *(p) == '\0') {printf("same\n"); break;}
        p++;
        i++;
        printf("%s\n",p);
}
printf("%d\n",i);

p1=(char *)malloc(i);
p1=filename;
printf("%s\n",p1);
}
*** Result ***
length=11
issslename
ssslename
sslename
slename
lename
ename
name
ame
me
e

same
11
fissslename
===============================================

The simple program excuted no segmentation.
but, insmod.c failed.

insmod.c and simple program has the same emvironment compile system and library.

what wrong??

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
  2000-10-06  8:39 Segmentation fault H.S. Kim
@ 2000-10-06 13:57 ` Wolfgang Denk
  0 siblings, 0 replies; 32+ messages in thread
From: Wolfgang Denk @ 2000-10-06 13:57 UTC (permalink / raw)
  To: linuxppc-embedded


Hello H.S. Kim,

first of all: please fix your mail setup!!!

> From: "H.S. Kim" <root@localhost.localdomain>

"root@localhost.localdomain" is NOT a valid email address!

In message <00100618093700.11698@localhost.localdomain> H.S. Kim wrote:
>
> I compiled the binutil, gcc,  kernel and glibc without errors.
> binutil-2.20.0.26
> gcc-2.95.2
> mpc8xx-2.2.13
> glibc-2.1.3
...
> *** Result ***
> p = strrchr(filename,'/')  -> segmentation fault

Building a cross-development environment for the MPC8xx is a
non-trivial task. There is some description in the Embedded PPC
HOWTO, and there are ready to use build scripts and/or images, for
instance from our web page
(http://www.denx.de/solutions-en.html#CDK), from MontaVista, RedHat,
and others.

Most probably you have made a mistake when building GCC and/or glibc.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
A bore is someone who persists in holding his own views after we have
enlightened him with ours.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Segmentation Fault
@ 2001-12-05 13:52 Tom Beer
  0 siblings, 0 replies; 32+ messages in thread
From: Tom Beer @ 2001-12-05 13:52 UTC (permalink / raw)
  To: linux-kernel

Hi,

after installing amanda I get segmentation
faults running updatedb, slocate, ls, find
and every other prog that tries to access the
/usr/src/linux-2.4.4/linux/Documentation/filesystems
As far as I can see only this specific directory
is affected. It is reproduceable. dmesg is below.
First the files that I added:


> Added object name:  /usr/sbin/smrsh
> Added object name:  /usr/sbin/mailstats
> Added object name:  /usr/sbin/makemap
> Added object name:  /usr/sbin/praliases
> Added object name:  /usr/sbin/sendmail
> Added object name:  /usr/lib/sendmail
> Added object name:  /usr/lib/sasl/Sendmail.conf
> Added object name:  /usr/lib/libhistory.so.3.0
> Added object name:  /usr/lib/libreadline.so.3.0
> Added object name:  /usr/lib/libreadline.so.3
> Added object name:  /usr/lib/libhistory.so.3
> Added object name:  /usr/lib/libform.so.4
> Added object name:  /usr/lib/libform.so.4.0
> Added object name:  /usr/lib/libmenu.so.4
> Added object name:  /usr/lib/libmenu.so.4.0
> Added object name:  /usr/lib/libncurses.so.4
> Added object name:  /usr/lib/libncurses.so.4.0
> Added object name:  /usr/lib/libpanel.so.4
> Added object name:  /usr/lib/libpanel.so.4.0
> Added object name:  /usr/lib/libgd.so.1.3
> Added object name:  /usr/lib/libgd.so.1
> Added object name:  /usr/lib/libfl.a
> Added object name:  /usr/lib/libl.a
> Added object name:  /usr/lib/libhistory.a
> Added object name:  /usr/lib/libhistory.so
> Added object name:  /usr/lib/libreadline.a
> Added object name:  /usr/lib/libreadline.so
 Added object name:  /usr/bin/gtar
> Added object name:  /usr/bin/makemap
> Added object name:  /usr/bin/giftogd
> Added object name:  /usr/bin/webgif
> Added object name:  /usr/bin/gnuplot
> Added object name:  /usr/bin/gnuplot_x11
> Added object name:  /usr/bin/flex
> Added object name:  /usr/bin/flex++
> Added object name:  /usr/bin/lex
> Added object name:  /usr/bin/hoststat
> Added object name:  /usr/bin/mailq
> Added object name:  /usr/bin/newaliases
> Added object name:  /usr/bin/purgestat
> Added object name:  /usr/bin/rmail
Added object name:  /usr/local/lib/libamanda.la
> Added object name:  /usr/local/lib/libamanda.a
> Added object name:  /usr/local/lib/libamclient.la
> Added object name:  /usr/local/lib/libamclient.a
> Added object name:  /usr/local/lib/libamtape.la
> Added object name:  /usr/local/lib/libamtape.a
> Added object name:  /usr/local/lib/libamserver.la
> Added object name:  /usr/local/lib/libamserver.a

a dmesg output

Code: 8b 40 34 85 c0 74 0a 52 ff d0 89 c3 83 c4 04 eb 02 31 db 85 
Unable to handle kernel paging request at virtual address 02110034
 printing eip:
c013af90
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c013af90>]
EFLAGS: 00210206
eax: 02110000   ebx: 00000000   ecx: ca3f3000   edx: d37adf40
esi: cb519fa4   edi: bfffe758   ebp: bfffe620   esp: cb519f9c
ds: 0018   es: 0018   ss: 0018
Process mc (pid: 7957, stackpage=cb519000)
Stack: cb518000 080c6ee0 d37adf40 d7e34140 00000005 08112d00 08112ce0
00000008 
       00000001 c0106e03 0810b960 bfffe568 00004000 080c6ee0 bfffe758
bfffe620 
       000000c4 0000002b 0000002b 000000c4 4012d5f3 00000023 00200246
bfffe564 
Call Trace: [<c0106e03>] 

Code: 8b 40 34 85 c0 74 0a 52 ff d0 89 c3 83 c4 04 eb 02 31 db 85 

Additionally the permissions in the whole
/usr/src/linux-2.4.3 & 2.4.4 directory have changed to:


-rw-r--r--    1 1046     101          2940 Mär 22  2001 SAK.txt
-rw-r--r--    1 1046     101          4581 Apr  6  2001
SubmittingDrivers

but even to other uid's and gid's.


I changed them back to root:root with chown (-R). However chown also
exits in the filesystems directory.

free:

          total       used       free     shared    buffers     cached
Mem:        384080     303944      80136          0      39328     
92288
-/+ buffers/cache:     172328     211752
Swap:      2096440       1180    2095260
Total:     2480520     305124    2175396

That's not much. Basically what was running when I issued free -t is:

init-+-automount
     |-bdflush
     |-crond
     |-deskguide_apple
     |-esd
     |-eth1
     |-gmc
     |-gnome-name-serv
     |-gnome-smproxy
     |-gnome-terminal-+-bash---pstree
     |                |-bash
     |                `-gnome-pty-helpe
     |-gpm
     |-httpd---8*[httpd]
     |-identd---identd---3*[identd]
     |-keventd
     |-khubd
     |-klogd
     |-kreclaimd
     |-kswapd
     |-kupdated
     |-lockd
     |-login---bash---startx---xinit-+-X
     |                               `-gnome-session
     |-lpd
     |-magicdev
     |-5*[mingetty]
     |-netscape-commun---netscape-commun
     |-8*[nfsd]
     |-panel
     |-portmap
     |-rpc.mountd
     |-rpc.rquotad
     |-rpciod
     |-sawfish
     |-screenshooter_a
     |-svscan-+-supervise---dnscache
     |        |-2*[supervise---multilog]
     |        `-supervise---tinydns
     |-syslogd
     |-tasklist_applet
     |-xfs
     `-xinetd

If there are informations missing it would be nice if I
can provide them. I tryed some days and running out of 
thoughts what to do.

Thanks Tom

\x18

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
       [not found] <1328439575.20020411104849@kgpa.ru>
@ 2002-04-16 19:29 ` Kurt Kehler
  0 siblings, 0 replies; 32+ messages in thread
From: Kurt Kehler @ 2002-04-16 19:29 UTC (permalink / raw)
  To: linux-c-programming

Oleg,

I'm adding this back in to the list.

On Thu, 11 Apr 2002, Oleg O. Ossovitskii wrote:

> Which hardware do You use? Which system do You use (kernel, glibc)?
> Does Your computer has FPU ? Try specify switch to gcc, that talk
> them use FPU emulate library. Unfortunately I don't remember which
> switch You should use.
> 
> I try use another compiler.
> 
> P.S. sorry for my poor english

My hardware is a 200mhz Pentium MMX running Slackware 4.0 with kernel
2.2.6.  dmesg reports "Intel Pentium with F0 0F bug - workaround
enabled."  I'm not sure that is relevant.  I tried several gcc
switches (-mno-486, -mno-fp-ret-in-387, -msoft-float) which didn't
work.  When I added the -O2 switch to gcc and ran a.out under gdb
I got:

Program received signal SIGSEGV, Segmentation fault.
0x40060607 in ldiv () from /lib/libc.so.5

What did work was booting Slackware 7.1 which uses egcs-2.91.66.
So there must be a problem with Slackware 4.0's libc5?  I realize
it is time to switch to more recent software.

Thanks Oleg,
Kurt Kehler


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
       [not found] <20020411084352.65e693fe.subscript@free.fr>
@ 2002-04-16 19:30 ` Kurt Kehler
  0 siblings, 0 replies; 32+ messages in thread
From: Kurt Kehler @ 2002-04-16 19:30 UTC (permalink / raw)
  To: linux-c-programming

On Thu, 11 Apr 2002, wwp wrote:

> It silently compiles and successfully runs for me (GNU/Linux x86;
> k2.4.18; gcc 2.95.3).

Thanks wwp for taking the time to do this.

Kurt Kehler


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
       [not found] <OF5DFD5B6D.7D47A4C9-ON65256B98.0022D8F5@pune.tcs.co.in>
@ 2002-04-16 19:30 ` Kurt Kehler
  0 siblings, 0 replies; 32+ messages in thread
From: Kurt Kehler @ 2002-04-16 19:30 UTC (permalink / raw)
  To: linux-c-programming

On Thu, 11 Apr 2002, Hemant Mohan wrote:

> I compiled this code with gcc-3.0.3  and ran it.  It displays the output as:
> 
> Easter in 2002 on 3/31
> 
> There was no segmentation fault or any other messages. Attachment easter.c 
> contains the source code with a small modification from yours. I only moved 
> the #include <stdio.h> line before the definition of easter().

Hemant,

Thanks for taking the time to do this.  Moving the #include <stdio.h> did
not prevent the segmentation fault.

Kurt Kehler


^ permalink raw reply	[flat|nested] 32+ messages in thread

* segmentation fault
@ 2003-01-27 17:31 Andrew Langdon-Davies
  0 siblings, 0 replies; 32+ messages in thread
From: Andrew Langdon-Davies @ 2003-01-27 17:31 UTC (permalink / raw)
  To: linux-newbie

The following happens only with Gimp and only as normal user (not as 
root). It started today. I have had no problems until now, BUT: when 
last using Gimp I tried to open too many large files at once and then 
had to do a killall. However it then worked all right. Today was the 
first time I had booted the system since then.

gimp --enable-stack-trace always
gimp: fatal error: Segmentation fault
#0  0x401e32e0 in g_on_error_stack_trace () from /usr/lib/libglib-1.2.so.0
#1  0x080c5f02 in gimp_fatal_error ()

System info:
Pentium 4
500 megas RAM
Mandrake 9.0
gimp 1.2.3.
free space on /home partition 500  megas

Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Segmentation fault
@ 2003-02-24  9:55 Zealous
  0 siblings, 0 replies; 32+ messages in thread
From: Zealous @ 2003-02-24  9:55 UTC (permalink / raw)
  To: netfileter net filter

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

Hello Friends,

I have setup the proxy server with the help of iptables. 
It was working perfectly from last 5 months.
But suddenly today I am giving iptables -nvL then its giving me the error Segmentation fault

What could be the reason of this error.???

Can some one help in this issue.

Thanks in advance..

Joel

[-- Attachment #2: Type: text/html, Size: 1258 bytes --]

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Segmentation fault
@ 2004-04-06 18:08 ppclinux
  0 siblings, 0 replies; 32+ messages in thread
From: ppclinux @ 2004-04-06 18:08 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,
We have a Motorola-PPC8270 based inhouse blade which runs Uboot-1.0.2 and
Mvista 3.1 Linux.

We have succeeded in downloading the kernel by means of Uboots TFTP,
uncompress, start and NFS mount a rootfile system including Busybox.

However, when typing e.g. command "ls" we get a segmentation fault but
other commands like "cd" or "help" works fine. Could this be a incorrect
memory mapping problem? It seems that the Linux Kernel wants to fork a
process when doing e.g. "ls" and in that sequence fails and gets a
segmentation fault.

Happy for any guidance,

Cheers // Matias

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 32+ messages in thread

* segmentation fault
@ 2004-11-19 16:25 sai srinivas dharanikota
  2004-11-19 16:48 ` Jan Kundrat
  2004-11-19 17:23 ` Keir Fraser
  0 siblings, 2 replies; 32+ messages in thread
From: sai srinivas dharanikota @ 2004-11-19 16:25 UTC (permalink / raw)
  To: xen-devel

Hello,

I am trying to run a povray application on Domain 1.
The execution breaks and outputs the error
"segmentation fault".When I try to execute the same
application on Domain 0 every thing works fine but I
dont understand why the application is not executing
on Domain 1. Any body has pointers to this problem.

Thanking you,
Sai

=====
Sai Srinivas Dharanikota
Master of Science INFOTECH
University of Stuttgart
Germany

Home:+49 711 9963590
Mobile:+49 179 9090669


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-11-19 16:25 sai srinivas dharanikota
@ 2004-11-19 16:48 ` Jan Kundrat
  2004-11-19 17:13   ` sai srinivas dharanikota
  2004-11-19 17:23 ` Keir Fraser
  1 sibling, 1 reply; 32+ messages in thread
From: Jan Kundrat @ 2004-11-19 16:48 UTC (permalink / raw)
  To: sai srinivas dharanikota; +Cc: xen-devel

> I am trying to run a povray application on Domain 1.
> The execution breaks and outputs the error
> "segmentation fault".When I try to execute the same
> application on Domain 0 every thing works fine but I
> dont understand why the application is not executing
> on Domain 1. Any body has pointers to this problem.

are you using the same versions of libraries like glibc on dom0 and dom1?

j.



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-11-19 16:48 ` Jan Kundrat
@ 2004-11-19 17:13   ` sai srinivas dharanikota
  2004-11-19 17:25     ` Ian Pratt
  0 siblings, 1 reply; 32+ messages in thread
From: sai srinivas dharanikota @ 2004-11-19 17:13 UTC (permalink / raw)
  To: Jan Kundrat; +Cc: xen-devel

Hello,


> are you using the same versions of libraries like
> glibc on dom0 and dom1?
> 

I am using the same versions of libraries on dom0 and
dom1. 

Thanking you,
sai

=====
Sai Srinivas Dharanikota
Master of Science INFOTECH
University of Stuttgart
Germany

Home:+49 711 9963590
Mobile:+49 179 9090669


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-11-19 16:25 sai srinivas dharanikota
  2004-11-19 16:48 ` Jan Kundrat
@ 2004-11-19 17:23 ` Keir Fraser
  2004-11-22  8:42   ` sai srinivas dharanikota
  1 sibling, 1 reply; 32+ messages in thread
From: Keir Fraser @ 2004-11-19 17:23 UTC (permalink / raw)
  To: sai srinivas dharanikota; +Cc: xen-devel


Which version of Xen and XenLinux are you using? Did you build it
yourself or download a binary tarball? Sending us the output of Xen
botoing would be useful (either grab from serial line, or use 
'xm dmesg' in domain 0). The banner text that is printed when Xen
starts is particularly useful as it tells us what precise of verison
of Xen you are running.

 -- Keir

> Hello,
> 
> I am trying to run a povray application on Domain 1.
> The execution breaks and outputs the error
> "segmentation fault".When I try to execute the same
> application on Domain 0 every thing works fine but I
> dont understand why the application is not executing
> on Domain 1. Any body has pointers to this problem.
> 
> Thanking you,
> Sai
> 
> =====
> Sai Srinivas Dharanikota
> Master of Science INFOTECH
> University of Stuttgart
> Germany
> 
> Home:+49 711 9963590
> Mobile:+49 179 9090669
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Meet the all-new My Yahoo! - Try it today! 
> http://my.yahoo.com 
>  
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-11-19 17:13   ` sai srinivas dharanikota
@ 2004-11-19 17:25     ` Ian Pratt
  2004-11-22  8:57       ` sai srinivas dharanikota
  0 siblings, 1 reply; 32+ messages in thread
From: Ian Pratt @ 2004-11-19 17:25 UTC (permalink / raw)
  To: sai srinivas dharanikota; +Cc: Jan Kundrat, xen-devel, Ian.Pratt

> Hello,
> 
> 
> > are you using the same versions of libraries like
> > glibc on dom0 and dom1?
> > 
> 
> I am using the same versions of libraries on dom0 and
> dom1. 

Have you got the same amount of memory and swap space configured
in both domains?

Ian


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-11-19 17:23 ` Keir Fraser
@ 2004-11-22  8:42   ` sai srinivas dharanikota
  2004-11-22  8:56     ` Ian Pratt
  0 siblings, 1 reply; 32+ messages in thread
From: sai srinivas dharanikota @ 2004-11-22  8:42 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel


--- Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:

> 
> Which version of Xen and XenLinux are you using? Did
> you build it

I am using xen 2.0 beta version. 

> yourself or download a binary tarball? 
I took the sources and built.

> Sending us
> the output of Xen
> botoing would be useful (either grab from serial
> line, or use 
> 'xm dmesg' in domain 0). The banner text that is
> printed when Xen
> starts is particularly useful as it tells us what
> precise of verison
> of Xen you are running.

 __  __            ____    ___     _          _       

 \ \/ /___ _ __   |___ \  / _ \   | |__   ___| |_ __ _

  \  // _ \ '_ \    __) || | | |__| '_ \ / _ \ __/ _`
|
  /  \  __/ | | |  / __/ | |_| |__| |_) |  __/ || (_|
|
 /_/\_\___|_| |_| |_____(_)___/   |_.__/
\___|\__\__,_|
                                                      

 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory
 
 Xen version 2.0-beta (root@localdomain) (gcc version
3.3.3 20040412 (Red Hat Linux 3.3.3-7)) Fri Oct 29
16:12:03 CEST 2004
 
(XEN) Initialised 1023MB memory (262000 pages) on a
1023MB machine
(XEN) Xen heap size is 10780KB
(XEN) CPU0: Before vendor init, caps: bfebfbff
00000000 00000000, vendor = 0
(XEN) CPU caps: afebfbff 00000000 00000000 00000000
(XEN) found SMP MP-table at 000f64e0
(XEN) Memory Reservation 0xf64e0, 4096 bytes
(XEN) Memory Reservation 0x9fd70, 4096 bytes
(XEN) Intel MultiProcessor Specification v1.4
(XEN)     Virtual Wire compatibility mode.
(XEN) OEM ID: IBM      Product ID: THINKCEN APIC at:
0xFEE00000
(XEN) Processor #0 Pentium 4(tm) XEON(tm) APIC version
20
(XEN) I/O APIC #1 Version 32 at 0xFEC00000.
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Processors: 1
(XEN) Using scheduler: Borrowed Virtual Time (bvt)
(XEN) Initializing CPU#0
(XEN) Detected 2992.539 MHz processor.
(XEN) CPU0: Before vendor init, caps: bfebfbff
00000000 00000000, vendor = 0
(XEN) CPU caps: afebfbff 00000000 00000000 00000000
(XEN) CPU0 booted
(XEN) enabled ExtINT on CPU#0
(XEN) ESR value before enabling vector: 00000000
(XEN) ESR value after enabling vector: 00000000
(XEN) Error: only one processor found.
(XEN) ENABLING IO-APIC IRQs
(XEN) Setting 1 in the phys_id_present_map
(XEN) ...changing IO-APIC physical APIC ID to 1 ...
ok.
(XEN) init IO_APIC IRQs
(XEN) ..TIMER: vector=0x41 pin1=-1 pin2=0
(XEN) ...trying to set up timer (IRQ0) through the
8259A ... 
(XEN) ..... (found pin 0) ...works.
(XEN) Using local APIC timer interrupts.
(XEN) Calibrating APIC timer for CPU0...
(XEN) ..... CPU speed is 2992.5755 MHz.
(XEN) ..... Bus speed is 199.5049 MHz.
(XEN) ..... bus_scale = 0x0000CC4F
(XEN) Time init:
(XEN) .... System Time: 12313308ns
(XEN) .... cpu_freq:    00000000:B25E8820
(XEN) .... scale:       00000001:562F2C30
(XEN) .... Wall Clock:  1100879971s 150000us
(XEN) Testing NMI watchdog --- CPU#0 okay. 
(XEN) PCI: PCI BIOS revision 2.10 entry at 0xfd98d,
last bus=3
(XEN) PCI: Using configuration type 1
(XEN) PCI: Probing PCI hardware
(XEN) PCI: Probing PCI hardware (bus 00)
(XEN) PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
(XEN) Transparent bridge - PCI device 8086:244e
(XEN) PCI: Using IRQ router PIIX/ICH [8086/24d0] at
00:1f.0
(XEN) PCI->APIC IRQ transform: (B0,I29,P0) -> 16
(XEN) PCI->APIC IRQ transform: (B0,I29,P1) -> 19
(XEN) PCI->APIC IRQ transform: (B0,I29,P2) -> 18
(XEN) PCI->APIC IRQ transform: (B0,I29,P0) -> 16
(XEN) PCI->APIC IRQ transform: (B0,I29,P3) -> 23
(XEN) PCI->APIC IRQ transform: (B0,I31,P0) -> 16
(XEN) PCI->APIC IRQ transform: (B0,I31,P1) -> 17
(XEN) PCI->APIC IRQ transform: (B0,I31,P1) -> 17
(XEN) PCI->APIC IRQ transform: (B1,I0,P0) -> 16
(XEN) PCI->APIC IRQ transform: (B3,I11,P0) -> 16
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found:
'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=0xC0000000,LOADER=generic,PT_MODE_WRITABLE'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Kernel image:  02800000->02bbdf08
(XEN)  Initrd image:  00000000->00000000
(XEN)  Dom0 alloc.:   02c00000->12c00000
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c04eeb44
(XEN)  Init. ramdisk: c04ef000->c04ef000
(XEN)  Phys-Mach map: c04ef000->c052f000
(XEN)  Page tables:   c052f000->c0532000
(XEN)  Start info:    c0532000->c0533000
(XEN)  Boot stack:    c0533000->c0534000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three
times to switch input to Xen).

Thanking you
Sai



=====
Sai Srinivas Dharanikota
Master of Science INFOTECH
University of Stuttgart
Germany

Home:+49 711 9963590
Mobile:+49 179 9090669


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-11-22  8:42   ` sai srinivas dharanikota
@ 2004-11-22  8:56     ` Ian Pratt
  0 siblings, 0 replies; 32+ messages in thread
From: Ian Pratt @ 2004-11-22  8:56 UTC (permalink / raw)
  To: sai srinivas dharanikota; +Cc: Keir Fraser, xen-devel, Ian.Pratt

> --- Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:
> 
> > 
> > Which version of Xen and XenLinux are you using? Did
> > you build it
> 
> I am using xen 2.0 beta version. 
> 
> > yourself or download a binary tarball? 
> I took the sources and built.

Please can you upgrade to the latest stable version (2.0.1) --
there's been a number of bug fixes since the beta.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-11-19 17:25     ` Ian Pratt
@ 2004-11-22  8:57       ` sai srinivas dharanikota
  0 siblings, 0 replies; 32+ messages in thread
From: sai srinivas dharanikota @ 2004-11-22  8:57 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel


--- Ian Pratt <Ian.Pratt@cl.cam.ac.uk> wrote:

> > Hello,
> > 
> > 
> > > are you using the same versions of libraries
> like
> > > glibc on dom0 and dom1?
> > > 
> > 
> > I am using the same versions of libraries on dom0
> and
> > dom1. 
> 
> Have you got the same amount of memory and swap
> space configured
> in both domains?
> 
> Ian
> 
I am alloting 256MB of memory for both the domains. 

when I see the statistics using top command for domain
0:
Tasks:  41 total,   1 running,  40 sleeping,   0
stopped,   0 zombie 
Cpu(s):  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0%
wa,  0.0% hi,  0.0% si 
Mem:    257040k total,   252628k used,     4412k free,
   63880k buffers 
Swap:  3071992k total,        0k used,  3071992k free,
   32384k cached 
 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM   
TIME+  COMMAND           
  
  
   46 root      15   0     0    0    0 S  0.0  0.0  
0:00.01 kjournald         
  
  631 root      16   0  1676  752 1496 S  0.0  0.3  
0:00.01 syslogd           
  
  635 root      16   0  1404  428 1244 S  0.0  0.2  
0:00.00 klogd             
  
  656 rpc       16   0  1540  604 1372 S  0.0  0.2  
0:01.15 portmap           
  
  676 rpcuser   17   0  1680  832 1504 S  0.0  0.3  
0:00.00 rpc.statd         
  
  724 root      15   0     0    0    0 S  0.0  0.0  
0:00.00 rpciod            
  
  726 root      16   0     0    0    0 S  0.0  0.0  
0:00.00 lockd             
  
  748 root      16   0 20188  956 3608 S  0.0  0.4  
0:00.00 ypbind   

I took a loopback device loop2 and configured the swap
space. I am using "swapon -a" command to enable
swapping after domain 1 is booted. I still see some
amount of memory left during the execution of the
application.

The statistics for domain 0 using top command.

top - 09:57:03 up 2 days, 17:57,  2 users,  load
average: 0.00, 0.00, 0.00 
Tasks:  64 total,   2 running,  62 sleeping,   0
stopped,   0 zombie 
Cpu(s):  0.3% us,  0.0% sy,  0.0% ni, 99.7% id,  0.0%
wa,  0.0% hi,  0.0% si 
Mem:    255468k total,   252680k used,     2788k free,
   30732k buffers 
Swap:  2040244k total,        0k used,  2040244k free,
   75672k cached 
 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM   
TIME+  COMMAND            
    1 root      16   0  1472  480 1316 S  0.0  0.2  
0:05.84 init               
    2 root      34  19     0    0    0 S  0.0  0.0  
0:00.02 ksoftirqd/0        
    3 root       5 -10     0    0    0 S  0.0  0.0  
0:00.01 events/0           
    4 root      12 -10     0    0    0 S  0.0  0.0  
0:00.00 khelper            
    5 root       5 -10     0    0    0 S  0.0  0.0  
0:03.05 kblockd/0          
   31 root      15   0     0    0    0 S  0.0  0.0  
0:00.00 pdflush            
   32 root      15   0     0    0    0 S  0.0  0.0  
0:00.03 pdflush            
   34 root      15 -10     0    0    0 S  0.0  0.0  
0:00.00 aio/0              
   33 root      16   0     0    0    0 S  0.0  0.0  
0:01.46 kswapd0            
  260 root      15   0     0    0    0 S  0.0  0.0  
0:00.34 xenblkd            
  268 root       6 -10     0    0    0 S  0.0  0.0  
0:00.00 ata/0              
  271 root      16   0     0    0    0 S  0.0  0.0  
0:00.00 kseriod            
  276 root       6 -10     0    0    0 S  0.0  0.0  
0:00.00 kmirrord/0         
  278 root      15   0     0    0    0 S  0.0  0.0  
0:00.10 kjournald          
  964 root      15   0     0    0    0 S  0.0  0.0  
0:00.00 kjournald          
 1378 root      16   0  1460  612 1296 S  0.0  0.2  
0:00.00 syslogd            
 1382 root      15   0  1404  428 1244 S  0.0  0.2  
0:00.01 klogd              
 1403 rpc       16   0  1540  612 1372 S  0.0  0.2  
0:01.89 portmap  

Thanking you,
Sai       



    



=====
Sai Srinivas Dharanikota
Master of Science INFOTECH
University of Stuttgart
Germany

Home:+49 711 9963590
Mobile:+49 179 9090669


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] 32+ messages in thread

* segmentation fault
@ 2004-12-20  5:56 ubberalles
  2004-12-20  8:50 ` primero
  0 siblings, 1 reply; 32+ messages in thread
From: ubberalles @ 2004-12-20  5:56 UTC (permalink / raw)
  To: netfilter

I am using Slackware 10 distro, with 2.4.26 kernel and 1.2.10 iptables, when i try to use something like this:

iptables -A FORWARD -p tcp -s 192.168.0.0/24 -d yahoo.com -j REJECT

a segmentation fault happen.

can somebody help...

cheers
JW



^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-12-20  5:56 segmentation fault ubberalles
@ 2004-12-20  8:50 ` primero
  2004-12-20 10:01   ` R. DuFresne
  0 siblings, 1 reply; 32+ messages in thread
From: primero @ 2004-12-20  8:50 UTC (permalink / raw)
  To: ubberalles; +Cc: netfilter

ubberalles@yahoo.de wrote:

>I am using Slackware 10 distro, with 2.4.26 kernel and 1.2.10 iptables, when i try to use something like this:
>
>iptables -A FORWARD -p tcp -s 192.168.0.0/24 -d yahoo.com -j REJECT
>
>a segmentation fault happen.
>
>can somebody help...
>
>cheers
>JW
>
>  
>
I don't remember well because a lot of time is passed .... but i had 
similar problem while tryng to add a rule to accept OUTPUT traffic to my 
mail server using the name instead of ip. i had the same seg fault 
problem as you ... solved by manual translate of name to ip for 
destination match.
What about if u try to change "-d yahoo.com" in an "ip address"?

bye



^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: segmentation fault
  2004-12-20  8:50 ` primero
@ 2004-12-20 10:01   ` R. DuFresne
  0 siblings, 0 replies; 32+ messages in thread
From: R. DuFresne @ 2004-12-20 10:01 UTC (permalink / raw)
  To: primero; +Cc: netfilter

On Mon, 20 Dec 2004, primero wrote:

> ubberalles@yahoo.de wrote:
> 
> >I am using Slackware 10 distro, with 2.4.26 kernel and 1.2.10 iptables, when i try to use something like this:
> >
> >iptables -A FORWARD -p tcp -s 192.168.0.0/24 -d yahoo.com -j REJECT
> >
> >a segmentation fault happen.
> >
> >can somebody help...
> >
> >cheers
> >JW
> >
> >  
> >
> I don't remember well because a lot of time is passed .... but i had 
> similar problem while tryng to add a rule to accept OUTPUT traffic to my 
> mail server using the name instead of ip. i had the same seg fault 
> problem as you ... solved by manual translate of name to ip for 
> destination match.
> What about if u try to change "-d yahoo.com" in an "ip address"?
> 

Likely in this case due to the fact that yahoo.,com reolses to more then
one address/netblock;

# nslookup yahoo.com
Server:  cache-ns2.rdu.portbridge.com
Address:  209.170.128.71

Non-authoritative answer:
Name:    yahoo.com
Addresses:  66.94.234.13, 216.109.112.135


# host -a yahoo.com

The following answer is not authoritative:
yahoo.com       275 IN  A       66.94.234.13
yahoo.com       275 IN  A       216.109.112.135
...

# fullwho 216.109.112.135|more
[jengate.thur.de]
Process query: '216.109.112.135'
Query recognized as IP.
Querying whois.arin.net:43 with whois.


OrgName:    HotJobs.com, Ltd.
OrgID:      HOTJOB-6
Address:    406 W. 31st St.
City:       New York
StateProv:  NY
PostalCode: 10001
Country:    US

NetRange:   216.109.112.0 - 216.109.127.255
CIDR:       216.109.112.0/20
NetName:    HOTJOBS
...


# fullwho 66.94.234.13|more
[jengate.thur.de]
Process query: '66.94.234.13'
Query recognized as IP.
Querying whois.arin.net:43 with whois.


OrgName:    Yahoo!
OrgID:      YAOO
Address:    701 First Avenue
City:       Sunnyvale
StateProv:  CA
PostalCode: 94089
Country:    US

NetRange:   66.94.224.0 - 66.94.239.255
CIDR:       66.94.224.0/20
NetName:    YAHOO-3
...

manual lookups and maintainaince are required or an internal parser
to get the IP<'s> in question.  Of course things get more complicated if
one considers;

# nslookup hotjobs.com
Server:  cache-ns2.rdu.portbridge.com
Address:  209.170.128.71

Non-authoritative answer:
Name:    hotjobs.com
Address:  66.218.84.150

# fullwho 66.218.84.150|more
[jengate.thur.de]
Process query: '66.218.84.150'
Query recognized as IP.
Querying whois.arin.net:43 with whois.


OrgName:    Yahoo!
OrgID:      YAOO
Address:    701 First Avenue
City:       Sunnyvale
StateProv:  CA
PostalCode: 94089
Country:    US

NetRange:   66.218.64.0 - 66.218.95.255
CIDR:       66.218.64.0/19


Thanks,

Ron DuFresne
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        admin & senior security consultant:  sysinfo.com
                        http://sysinfo.com

...Love is the ultimate outlaw.  It just won't adhere to rules.
The most any of us can do is sign on as it's accomplice.  Instead
of vowing to honor and obey, maybe we should swear to aid and abet.
That would mean that security is out of the question.  The words
"make" and "stay" become inappropriate.  My love for you has no
strings attached.  I love you for free...
                        -Tom Robins <Still Life With Woodpecker>



^ permalink raw reply	[flat|nested] 32+ messages in thread

* Segmentation Fault
@ 2007-09-03 10:50 kashif.ali
  2007-09-03 12:57 ` Nico Kadel-Garcia
  0 siblings, 1 reply; 32+ messages in thread
From: kashif.ali @ 2007-09-03 10:50 UTC (permalink / raw)
  To: xen-users; +Cc: xen-devel


Hello,

I am running a server having 5 guest domains. Few days ago everything is
going fine but i needed to recompile the kernel of the guest domain (xenU)
for iptables supports in the kernel.

When i issued the command 'make menuconfig' the result is nothing but
segmentation fualt.

I have run the memtest also but memtest is good. Now the situation is that
the system is not allowing me to compile, install or upgrade any thing,
even on cp or mv commands, the segmentation fault is coming.

Also the xend service is not running, when i try to start this service the
system goes to waiting state and needed to stop the issued command.

Also on the boot the eth0 is not coming up. ifconfig is showing me only lo
interface. So every time it requires assigning the network settings (ips).
And when the network settings are applied, the eth0 came up and works.

Any body has pointers to this problem. I have searched the mailing list
but not found any feasible solution.

The server has CentOS4.4 installed and also the guest domains.
The xen version is 'xen-3.0.2'

CPU info: Intel(R) Xeon(R)          E5320  @ 1.86GHz
12GB RAM

lspci command has the following output

00:00.0 Host bridge: Intel Corporation 5000P Chipset Memory Controller Hub
(rev b1)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
Port 2-3 (rev b1)
00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
Port 4-5 (rev b1)
00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
Port 6-7 (rev b1)
00:10.0 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting
Registers (rev b1)
00:10.1 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting
Registers (rev b1)
00:10.2 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting
Registers (rev b1)
00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved
Registers (rev b1)
00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved
Registers (rev b1)
00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers
(rev b1)
00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers
(rev b1)
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI
Express Root Port 1 (rev 09)
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #3 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC
Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller
(rev 09)
00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus
Controller (rev 09)
01:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream
Port (rev 01)
01:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X
Bridge (rev 01)
02:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E1 (rev 01)
02:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
Downstream Port E3 (rev 01)
03:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A
(rev 09)
03:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B
(rev 09)
04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
Gigabit Ethernet (rev 10)
06:00.0 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
Controller Copper (rev 01)
06:00.1 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
Controller Copper (rev 01)
07:01.0 RAID bus controller: 3ware Inc 9550SX SATA-RAID
0b:01.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)

I have installed the xen from source not from the rpms.
All the hints will be greatly appreciated...

Thanking you,
Kashif

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation Fault
  2007-09-03 10:50 Segmentation Fault kashif.ali
@ 2007-09-03 12:57 ` Nico Kadel-Garcia
  0 siblings, 0 replies; 32+ messages in thread
From: Nico Kadel-Garcia @ 2007-09-03 12:57 UTC (permalink / raw)
  To: kashif.ali; +Cc: xen-devel, xen-users

kashif.ali@salaar.com wrote:
> Hello,
>
> I am running a server having 5 guest domains. Few days ago everything is
> going fine but i needed to recompile the kernel of the guest domain (xenU)
> for iptables supports in the kernel.
>
> When i issued the command 'make menuconfig' the result is nothing but
> segmentation fualt

> I have run the memtest also but memtest is good. Now the situation is that
> the system is not allowing me to compile, install or upgrade any thing,
> even on cp or mv commands, the segmentation fault is coming.
>   
Could your guest domain have been *hacked*, by a cracker? Can you shut 
down the Xen guest domain and do a "chroot" to the mounted file system, 
and see if anything works? Or are you running from

> Also the xend service is not running, when i try to start this service the
> system goes to waiting state and needed to stop the issued command.
>   
Wait. xend runs only on the server, Dom0, not on DomU. Did you put the 
new kernel on Dom0, or are you using pygrub or its like to boot a local 
kernel on the guest domain?

> Also on the boot the eth0 is not coming up. ifconfig is showing me only lo
> interface. So every time it requires assigning the network settings (ips).
> And when the network settings are applied, the eth0 came up and works.
>   
This sounds like you compiled on top of and overwrite the system kernel 
on Dom0.



> Any body has pointers to this problem. I have searched the mailing list
> but not found any feasible solution.
>
> The server has CentOS4.4 installed and also the guest domains.
> The xen version is 'xen-3.0.2'
>   
Well, upgrade to CentOS 4.5. then, stop compiling your own kernels 
unless you're comfortable with that sort of thing and stick with the 
Xensource CentOS 3.1,0 distribution for RHEL 4.

> CPU info: Intel(R) Xeon(R)          E5320  @ 1.86GHz
> 12GB RAM
>
> lspci command has the following output
>
> 00:00.0 Host bridge: Intel Corporation 5000P Chipset Memory Controller Hub
> (rev b1)
> 00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
> Port 2-3 (rev b1)
> 00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
> Port 4-5 (rev b1)
> 00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8
> Port 6-7 (rev b1)
> 00:10.0 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting
> Registers (rev b1)
> 00:10.1 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting
> Registers (rev b1)
> 00:10.2 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting
> Registers (rev b1)
> 00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved
> Registers (rev b1)
> 00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved
> Registers (rev b1)
> 00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers
> (rev b1)
> 00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers
> (rev b1)
> 00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI
> Express Root Port 1 (rev 09)
> 00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
> UHCI USB Controller #1 (rev 09)
> 00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
> UHCI USB Controller #2 (rev 09)
> 00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
> UHCI USB Controller #3 (rev 09)
> 00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
> EHCI USB2 Controller (rev 09)
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
> 00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC
> Interface Controller (rev 09)
> 00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller
> (rev 09)
> 00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus
> Controller (rev 09)
> 01:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream
> Port (rev 01)
> 01:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X
> Bridge (rev 01)
> 02:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
> Downstream Port E1 (rev 01)
> 02:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express
> Downstream Port E3 (rev 01)
> 03:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A
> (rev 09)
> 03:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B
> (rev 09)
> 04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
> Gigabit Ethernet (rev 10)
> 06:00.0 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
> Controller Copper (rev 01)
> 06:00.1 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
> Controller Copper (rev 01)
> 07:01.0 RAID bus controller: 3ware Inc 9550SX SATA-RAID
> 0b:01.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
>
> I have installed the xen from source not from the rpms.
> All the hints will be greatly appreciated...
>
> Thanking you,
> Kashif
>   
Use the RPM, and edit your own locally built grub.conf. Seriously.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Segmentation fault
@ 2009-08-06 11:51 Marko Saukko
  2009-08-06 22:03 ` Denis Kenzior
  0 siblings, 1 reply; 32+ messages in thread
From: Marko Saukko @ 2009-08-06 11:51 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 2198 bytes --]

Hi,

I'm getting segmentation fault with the latest git version. As a modem
I'm using Nokia E51.

Sent dbus commands:

[root(a)localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
org.ofono.at.Manager.Create string:"dev:/dev/ttyACM0" string:"at"
method return sender=:1.404 -> dest=:1.405 reply_serial=2
   object path "/modem1"
[root(a)localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
org.ofono.at.Manager.Destroy objpath:"/modem1"
method return sender=:1.404 -> dest=:1.406 reply_serial=2
[root(a)localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
org.ofono.at.Manager.Create string:"dev:/dev/ttyACM0" string:"at"
method return sender=:1.404 -> dest=:1.407 reply_serial=2
   object path "/modem2"

gdb output:

ofonod[2191]: SIMManager interface for modem: /modem2 created
ofonod[2191]: Registered call forwarding interface
ofonod[2191]: Registered call settings interface
ofonod[2191]: Sending voice initialization commands
ofonod[2191]: cops_list_cb got result: 1
ofonod[2191]: Final response: OK
ofonod[2191]: Got 0 elements

Program received signal SIGSEGV, Segmentation fault.
operator_list_callback (error=0xbfffe85c, total=0, list=0x0,
data=0x80888f0) at network.c:981
981     network.c: No such file or directory.
        in network.c
Missing separate debuginfos, use: debuginfo-install dbus.i586 glibc.i586
(gdb) where
#0  operator_list_callback (error=0xbfffe85c, total=0, list=0x0,
data=0x80888f0) at network.c:981
#1  0x0806d4fe in cops_list_cb (ok=1, result=0xbffff0d4,
user_data=0x8089600) at atmodem/network-registration.c:316
#2  0x08074513 in g_at_chat_finish_command (p=0x8087820, ok=1,
final=0x808af98 "OK") at gatchat.c:347
#3  0x08074e0e in g_at_chat_handle_command_response () at gatchat.c:396
#4  have_line (p=0x8087820, strip_preceding=1) at gatchat.c:480
#5  0x080752a9 in new_bytes () at gatchat.c:664
#6  received_data (channel=0x80876f0, cond=<value optimized out>,
data=0x8087820) at gatchat.c:759
#7  0xb7f336c7 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x080876f0 in ?? ()
#9  0x00000001 in ?? ()
#10 0x08087820 in ?? ()
#11 0x00000000 in ?? ()

Regards,
Marko


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
  2009-08-06 11:51 Marko Saukko
@ 2009-08-06 22:03 ` Denis Kenzior
  2009-08-07  5:15   ` Marko Saukko
  0 siblings, 1 reply; 32+ messages in thread
From: Denis Kenzior @ 2009-08-06 22:03 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]

Hi Marko,

> [root(a)localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
> org.ofono.at.Manager.Create string:"dev:/dev/ttyACM0" string:"at"
> method return sender=:1.404 -> dest=:1.405 reply_serial=2
>    object path "/modem1"
> [root(a)localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
> org.ofono.at.Manager.Destroy objpath:"/modem1"
> method return sender=:1.404 -> dest=:1.406 reply_serial=2
> [root(a)localhost ~]# dbus-send --print-reply --system --dest=org.ofono /
> org.ofono.at.Manager.Create string:"dev:/dev/ttyACM0" string:"at"
> method return sender=:1.404 -> dest=:1.407 reply_serial=2
>    object path "/modem2"
>
> gdb output:
>
> ofonod[2191]: SIMManager interface for modem: /modem2 created
> ofonod[2191]: Registered call forwarding interface
> ofonod[2191]: Registered call settings interface
> ofonod[2191]: Sending voice initialization commands
> ofonod[2191]: cops_list_cb got result: 1
> ofonod[2191]: Final response: OK
> ofonod[2191]: Got 0 elements
>
> Program received signal SIGSEGV, Segmentation fault.
> operator_list_callback (error=0xbfffe85c, total=0, list=0x0,
> data=0x80888f0) at network.c:981
> 981     network.c: No such file or directory.
>         in network.c

This should not be fixed upstream.  Can you check if this is still broken?

Regards,
-Denis


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
  2009-08-06 22:03 ` Denis Kenzior
@ 2009-08-07  5:15   ` Marko Saukko
  2009-08-08  1:15     ` Denis Kenzior
  0 siblings, 1 reply; 32+ messages in thread
From: Marko Saukko @ 2009-08-07  5:15 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]

Hi Denis,

Something changed as the segfault is different. With adding and removing
the modem like previously showed it now results to one of the following
segmentation faults.

Program received signal SIGSEGV, Segmentation fault.
0x0000013c in ?? ()
(gdb) where
#0  0x0000013c in ?? ()
#1  0xb7e382b6 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb7e37b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#3  0xb7e3b0eb in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb7e3b5ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0x0804d345 in main (argc=3, argv=0xabcdef) at main.c:148
(gdb)

Program received signal SIGSEGV, Segmentation fault.
update_network_operator_list_init (user_data=0x8e67500) at network.c:806
806             if (netreg->flags &
NETWORK_REGISTRATION_FLAG_REQUESTING_OPLIST)
(gdb) where
#0  update_network_operator_list_init (user_data=0x8e67500) at network.c:806
#1  0xb7f172b6 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb7f16b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#3  0xb7f1a0eb in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb7f1a5ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0x0804d345 in main (argc=3, argv=0xabcdef) at main.c:148
(gdb)

Here is a small script which can be used to test this. With Nokia E51 it
always segfaults before the 100 is reached. Sometimes it is able to do
sequence multiple times and sometimes only create-destroy-create is enough.

#!/bin/sh

if [ ! $1 ]; then
  echo "Usage example: $0 dev:/dev/ttyACM0"
  return;
fi

for i in `seq 1 100`; do
  dbus-send --print-reply --system --dest=org.ofono /\
org.ofono.at.Manager.Create string:"$1" string:"at"
  dbus-send --print-reply --system --dest=org.ofono /\
org.ofono.at.Manager.Destroy objpath:"/modem$i"
done

Regards,
Marko

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
  2009-08-07  5:15   ` Marko Saukko
@ 2009-08-08  1:15     ` Denis Kenzior
  0 siblings, 0 replies; 32+ messages in thread
From: Denis Kenzior @ 2009-08-08  1:15 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

Hi Marko,

> Here is a small script which can be used to test this. With Nokia E51 it
> always segfaults before the 100 is reached. Sometimes it is able to do
> sequence multiple times and sometimes only create-destroy-create is enough.
>

I seem to have fixed this issue, it was related to a g_source(s) that were 
never being cleaned up.  

I've now run the script twice (fun to have 100 phonesim windows popping up) 
and have not encountered a segfault.

Please report back if this is still broken.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Segmentation fault
@ 2010-02-15  8:32 Marco Sarzi Madidini
  2010-02-15  9:09 ` Frantisek Hanzlik
  0 siblings, 1 reply; 32+ messages in thread
From: Marco Sarzi Madidini @ 2010-02-15  8:32 UTC (permalink / raw)
  To: linux-msdos

I have a big trouble, i have 5 pc with Red Hat Enterprise Linux Client
release 5.3 (32 bit version - kernel 2.6.18-128.el5 ) and dosemu 1.4.0 with
a common problem, a segmentation fault at startup of dosemu or xdosemu. All
the machines are based on intel e5200 / e5300 cpu, 1gb ddr2 ram, a serial
ata 2 hitachi disk ( 250 gb ) and a mainboard with an intel g31 chipset. I
have just run many test and the fault it seems depend from the hard disk
used. when i change sata disk with a pata disk the problem stops, but not
all the sata disk cause the crash.
Where can I read any dosemu  logfiles ??? Can you solve my problem quickly
??? Thanks for your disponibility. I'm waiting for an answer. Thanks.

Sarzi Madidini Marco
S.A.E. International, Impianti Zootecnici Computerizzati
Via Papa Giovanni XXIII N°39
46010 Cesole di Marcaria (MN), ITALIA
Tel. 0376/969287 Fax 0376/969288

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
  2010-02-15  8:32 Marco Sarzi Madidini
@ 2010-02-15  9:09 ` Frantisek Hanzlik
  0 siblings, 0 replies; 32+ messages in thread
From: Frantisek Hanzlik @ 2010-02-15  9:09 UTC (permalink / raw)
  To: m.sarzi_madidini; +Cc: linux-msdos

Marco Sarzi Madidini wrote:
> I have a big trouble, i have 5 pc with Red Hat Enterprise Linux Client
> release 5.3 (32 bit version - kernel 2.6.18-128.el5 ) and dosemu 1.4.0 with
> a common problem, a segmentation fault at startup of dosemu or xdosemu. All
> the machines are based on intel e5200 / e5300 cpu, 1gb ddr2 ram, a serial
> ata 2 hitachi disk ( 250 gb ) and a mainboard with an intel g31 chipset. I
> have just run many test and the fault it seems depend from the hard disk
> used. when i change sata disk with a pata disk the problem stops, but not
> all the sata disk cause the crash.
> Where can I read any dosemu  logfiles ??? Can you solve my problem quickly
> ??? Thanks for your disponibility. I'm waiting for an answer. Thanks.
>
> Sarzi Madidini Marco
> S.A.E. International, Impianti Zootecnici Computerizzati
> Via Papa Giovanni XXIII N°39
> 46010 Cesole di Marcaria (MN), ITALIA
> Tel. 0376/969287 Fax 0376/969288

Dosemu log file is "~/.dosemu/boot.log" (in user's homedir).
Is possible set various debug levels and groups - see
/etc/dosemu/dosemu.conf and documentation.
Why should be disk problem? You are doing some direct hardware access?
What are your config files? You are setting any unusual things?

regards,
Franta Hanzlík
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Segmentation fault
@ 2023-08-21 12:09 Michael John
  2023-08-21 12:13 ` James Prestwood
  0 siblings, 1 reply; 32+ messages in thread
From: Michael John @ 2023-08-21 12:09 UTC (permalink / raw)
  To: iwd@lists.linux.dev

Hello,

I hit a segmentation fault with iwd version 2.7, and captured a coredump. I've attached it at my onedrive below, please let me know if you need more information.

https://midmark-my.sharepoint.com/:u:/r/personal/mjohn_midmark_com/Documents/core.iwd.0.a68e5068b8214b27904b0fc85601ac35.241.1692277585000000?csf=1&web=1&e=4NPwg3

Thanks,
-Michael John
CONFIDENTIALITY NOTICE: This message, including any attachments, contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and any disclosure, copying, or distribution of this message, or the taking of any action based on it, by you is strictly prohibited.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
  2023-08-21 12:09 Segmentation fault Michael John
@ 2023-08-21 12:13 ` James Prestwood
  2023-08-21 12:50   ` James Prestwood
  0 siblings, 1 reply; 32+ messages in thread
From: James Prestwood @ 2023-08-21 12:13 UTC (permalink / raw)
  To: Michael John, iwd@lists.linux.dev

Hi Michael,

If this is a debug-enabled dump could you just post the stack trace? 
That way it won't require people log in to MS to see it. If not, how big 
is the file? We may want to figure out another way to share it.

Thanks,
James

On 8/21/23 5:09 AM, Michael John wrote:
> Hello,
> 
> I hit a segmentation fault with iwd version 2.7, and captured a coredump. I've attached it at my onedrive below, please let me know if you need more information.
> 
> https://midmark-my.sharepoint.com/:u:/r/personal/mjohn_midmark_com/Documents/core.iwd.0.a68e5068b8214b27904b0fc85601ac35.241.1692277585000000?csf=1&web=1&e=4NPwg3
> 
> Thanks,
> -Michael John
> CONFIDENTIALITY NOTICE: This message, including any attachments, contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and any disclosure, copying, or distribution of this message, or the taking of any action based on it, by you is strictly prohibited.
> 

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Segmentation fault
  2023-08-21 12:13 ` James Prestwood
@ 2023-08-21 12:50   ` James Prestwood
  0 siblings, 0 replies; 32+ messages in thread
From: James Prestwood @ 2023-08-21 12:50 UTC (permalink / raw)
  To: Michael John, iwd@lists.linux.dev

On 8/21/23 5:13 AM, James Prestwood wrote:
> Hi Michael,
> 
> If this is a debug-enabled dump could you just post the stack trace? 
> That way it won't require people log in to MS to see it. If not, how big 
> is the file? We may want to figure out another way to share it.

In addition, I tried logging in and was unauthorized.

> 
> Thanks,
> James
> 
> On 8/21/23 5:09 AM, Michael John wrote:
>> Hello,
>>
>> I hit a segmentation fault with iwd version 2.7, and captured a 
>> coredump. I've attached it at my onedrive below, please let me know if 
>> you need more information.
>>
>> https://midmark-my.sharepoint.com/:u:/r/personal/mjohn_midmark_com/Documents/core.iwd.0.a68e5068b8214b27904b0fc85601ac35.241.1692277585000000?csf=1&web=1&e=4NPwg3
>>
>> Thanks,
>> -Michael John
>> CONFIDENTIALITY NOTICE: This message, including any attachments, 
>> contains confidential information intended for a specific individual 
>> and purpose. If you are not the intended recipient, you should delete 
>> this message and any disclosure, copying, or distribution of this 
>> message, or the taking of any action based on it, by you is strictly 
>> prohibited.
>>

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2023-08-21 12:50 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 10:50 Segmentation Fault kashif.ali
2007-09-03 12:57 ` Nico Kadel-Garcia
  -- strict thread matches above, loose matches on Subject: below --
2023-08-21 12:09 Segmentation fault Michael John
2023-08-21 12:13 ` James Prestwood
2023-08-21 12:50   ` James Prestwood
2010-02-15  8:32 Marco Sarzi Madidini
2010-02-15  9:09 ` Frantisek Hanzlik
2009-08-06 11:51 Marko Saukko
2009-08-06 22:03 ` Denis Kenzior
2009-08-07  5:15   ` Marko Saukko
2009-08-08  1:15     ` Denis Kenzior
2004-12-20  5:56 segmentation fault ubberalles
2004-12-20  8:50 ` primero
2004-12-20 10:01   ` R. DuFresne
2004-11-19 16:25 sai srinivas dharanikota
2004-11-19 16:48 ` Jan Kundrat
2004-11-19 17:13   ` sai srinivas dharanikota
2004-11-19 17:25     ` Ian Pratt
2004-11-22  8:57       ` sai srinivas dharanikota
2004-11-19 17:23 ` Keir Fraser
2004-11-22  8:42   ` sai srinivas dharanikota
2004-11-22  8:56     ` Ian Pratt
2004-04-06 18:08 Segmentation fault ppclinux
2003-02-24  9:55 Zealous
2003-01-27 17:31 segmentation fault Andrew Langdon-Davies
     [not found] <OF5DFD5B6D.7D47A4C9-ON65256B98.0022D8F5@pune.tcs.co.in>
2002-04-16 19:30 ` Segmentation fault Kurt Kehler
     [not found] <20020411084352.65e693fe.subscript@free.fr>
2002-04-16 19:30 ` Kurt Kehler
     [not found] <1328439575.20020411104849@kgpa.ru>
2002-04-16 19:29 ` Kurt Kehler
2001-12-05 13:52 Segmentation Fault Tom Beer
2000-10-06  8:39 Segmentation fault H.S. Kim
2000-10-06 13:57 ` Wolfgang Denk
2000-08-10  6:52 Li Guangdong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.