This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

step over "next" cause the application to crash


Hello,

I am debugging (gdb 6.0) one of our applications and when I step over
"next" (after one or two tries) I get the below error.
How do I resolve this problem?

NOTE: The application is running on UML (
2.4.20_mvlcge31-uml-2.4.27-1-1um) hosted on Red Hat (Red Hat Linux
release 9 (Shrike)).

NOTE: I have renamed the function, file and constant names for email
communication purpose.

Program received signal SIGTRAP, Trace/breakpoint trap.

0x0813399a in mxxSxxMxxXXXList (pHdr=0x4e244770, pMsb=0x480ebc94,
mpiDesc=0x4e2453fc)
    at mxxNsxx.c:2747

2747        cniprintf(CAT_XXX_XXX,CNI_DEBUG_LVL_INFO, "%s (line; %d):
MS_X_XXX\n",
(gdb)
Warning:
Cannot insert breakpoint 0.
Error accessing memory address 0x1: Input/output error.

(gdb)
Warning:
Cannot insert breakpoint 0.
Error accessing memory address 0x1: Input/output error.

(gdb) c
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 294931]

0x081339a9 in mxxSxxMxxXXXList (pHdr=0x4e244770, pMsb=0x480ebc94,
miDesc=0x4e2453fc)

    at mxxNsxx.c:2747
2747        cniprintf(CAT_XXX_XXX,CNI_DEBUG_LVL_INFO, "%s (line; %d):
MS_X_XXX\n",
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 360470]
0x4001bd46 in __pthread_cleanup_upto (target=0x0,
targetframe=0x4eff44a4 "ÄDÿN\200\031\037@")
    at ../linuxthreads/sysdeps/pthread/ptlongjmp.c:35
35      ../linuxthreads/sysdeps/pthread/ptlongjmp.c: No such file or directory.
        in ../linuxthreads/sysdeps/pthread/ptlongjmp.c
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x4001bd46 in __pthread_cleanup_upto (target=0x0,
targetframe=0x4eff44a4 "ÄDÿN\200\031\037@")
    at ../linuxthreads/sysdeps/pthread/ptlongjmp.c:35
35            in ../linuxthreads/sysdeps/pthread/ptlongjmp.c


Thanks,

Jeeva


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]