|
pdbx example session [segmentation fault]
Cu12:~/mpi 101% pdbx -procs 4 -labelio yes hello_world_tv pdbx Version 3, Release 2 -- Jan 10 2005 12:24:15
0:reading symbolic information ... 1:reading symbolic information ... 2:reading symbolic information ... 3:reading symbolic information ... 1:[1] stopped in main at line 21 ($t1) 1: 21 MPI_Init(&argc, &argv); 0:[1] stopped in main at line 21 ($t1) 0: 21 MPI_Init(&argc, &argv); 3:[1] stopped in main at line 21 ($t1) 3: 21 MPI_Init(&argc, &argv); 2:[1] stopped in main at line 21 ($t1) 2: 21 MPI_Init(&argc, &argv); 0031-504 Partition loaded ...
pdbx(all) cont 0:Hello world! I'm 0 of 4 on Cu12 2:Hello world! I'm 2 of 4 on Cu12 1:Hello world! I'm 1 of 4 on Cu12 3:Hello world! I'm 3 of 4 on Cu12 1: 1:Segmentation fault in unnamed block $b1 at line 33 ($t1) 1: 33 *f=3.5; ^C pdbx-subset(all) halt 0029-2108 The following RUNNING task(s): "0 2 3" have been interrupted. 0029-2109 No action taken on task(s): "1", because they have either been stoppedby the debugger, finished executing, or have been unhooked. 0029-2105 The current context contains at least one RUNNING task. When these RUNNING task(s) reach a breakpoint or complete execution, a pdbx prompt is displayed. 1: 1: 1: 0: 0:Interrupt in _event_sleep at 0xd0057bec ($t2) 0:0xd0057bec (_event_sleep+0x90) 80410014 lwz r2,0x14(r1) 3: 3:Interrupt in _event_sleep at 0xd0057bec ($t2) 3:0xd0057bec (_event_sleep+0x90) 80410014 lwz r2,0x14(r1) 2: 2:Interrupt in _event_sleep at 0xd0057bec ($t2) 2:0xd0057bec (_event_sleep+0x90) 80410014 lwz r2,0x14(r1)
pdbx(all) where 0:_event_sleep(??, ??, ??, ??, ??) at 0xd0057bec 0:sigwait(??, ??) at 0xd005d2d4 0:pm_async_thread(??) at 0xd4dfcbc0 0:_pthread_body(??) at 0xd004d40c 1:unnamed block $b1, line 33 in "hello_world_tv.c" 1:main(argc = 1, argv = 0x2ff2245c, ... = 0x2ff22464, 0x28, 0x2ff22ff8, 0x0, 0x109fa097, 0x5), line 33 in "hello_world_tv.c" 2:_event_sleep(??, ??, ??, ??, ??) at 0xd0057bec 2:sigwait(??, ??) at 0xd005d2d4 2:pm_async_thread(??) at 0xd4dfcbc0 2:_pthread_body(??) at 0xd004d40c 3:_event_sleep(??, ??, ??, ??, ??) at 0xd0057bec 3:sigwait(??, ??) at 0xd005d2d4 3:pm_async_thread(??) at 0xd4dfcbc0 3:_pthread_body(??) at 0xd004d40c
pdbx(all) on 1
pdbx(1) where 1:unnamed block $b1, line 33 in "hello_world_tv.c" 1:main(argc = 1, argv = 0x2ff2245c, ... = 0x2ff22464, 0x28, 0x2ff22ff8, 0x0, 0x109fa097, 0x5), line 33 in "hello_world_tv.c"
pdbx(1) list 25,40 1: 25 MPI_Get_processor_name(name, &len); 1: 26 1: 27 printf ("Hello world! I'm %d of %d on %s\n", rank, size, name); 1: 28 1: 29 if ( (rank ==1) || (rank == 31) ) 1: 30 { 1: 31 double *f; 1: 32 f=0; 1: 33 *f=3.5; 1: 34 } 1: 35 MPI_Finalize(); 1: 36 exit(0); 1: 37 }
pdbx(1) print f 1:(nil)
pdbx(1) print *f 1:reference through nil pointer
pdbx(1) quit Cu12:~/mpi 102%
|