Questions tagged [dbx]

DBX is a source-level debugger, product of Oracle Coporation (formally Sun Microsystem) used to control the execution of a program (step by step, breakpoints, ...) and inspect the content of the memory.

111 questions
0
votes
0 answers

DBX: Unable to get conditional breakpoint to work

I could not get: stop at "": if (strncmp(..., "", ) = 0) to work while debugging a program in DBX (on an AIX machine). It…
Swarna Gowri
  • 277
  • 2
  • 10
0
votes
1 answer

Getting Last Day of Month (2 Months Ago) in ODBC

I'm trying to get the last day of 2 months ago on an ODBC server but can't seem to get it quite right as the EOMONTH built-in function of SSMS is not functional in ODBC. The part of the code that I currently have in my WHERE clause returns the 1st…
OnThaRise
  • 117
  • 1
  • 1
  • 9
0
votes
0 answers

Access violation at address 04FD6CC2 in module 'dbxora.dll'. Read of address 00000004

I have created DELPHI database application which will use DBX TSQLConnection component to connect to Oracle database (19c version). I'm getting access violation error , When i call oracle listagg function (SQLQuery1.open --in this line). When i…
0
votes
0 answers

Value of class variable mysteriously changing

I have an Elf class which reads in Elf headers and constructs various data structures; I am using mmap and mmap the file to a variable maddr in the above class. A pointer to this class is passed to a DwarfSymTab class (which relies on a Dwarf class…
N. Hunt
  • 51
  • 7
0
votes
0 answers

What does '.() at 0xdeadbeef' mean in a (core file) stacktrace generated by dbx on AIX?

I'm running some tests on AIX, and I'm getting a bunch of crashes similar to the following: build 25-May-2019 18:40:46 Segmentation fault in ThreadSafeSharedObject_cpp::ChangeRefCount(unsigned int&,int) at line 21 in file "" ($t8) build …
Bwmat
  • 4,314
  • 3
  • 27
  • 42
0
votes
2 answers

debugging with dbx an checking memory leaks with rtcaudit.so

i saw this page and found that we can check memory leaks of a program using dbx. i never practically did it but it seems a good toll for checking the memory leaks. i used to work on HPUX and IBM AIX UNIX OS's,where there is no GUI and always used…
Vijay
  • 65,327
  • 90
  • 227
  • 319
0
votes
0 answers

Is there a way to associate an action on a trace event in dbx

Here is what I'm trying to acheive : For every malloc call in my application, I want to dump out the stack trace (to find out who is making malloc calls) and I need to track this over a period of time. I know that we can use trace command in dbx,…
ajayreddy
  • 83
  • 1
  • 1
  • 8
0
votes
1 answer

What do the numbers mean in a disassembled CALL instruction on SPARC?

Analysing a core dump using mdb and dbx debuggers under SPARC Solaris. mdb dis DCMD shows: >fn_name+0x1cc::dis lib.so`fn_name+0x1cc: call +0xa92fc <0xfafbc36c> dbx dis command for the same address and the core file shows: (dbx) dis…
dmitri
  • 3,183
  • 23
  • 28
0
votes
1 answer

In DBX i am not able to step into a particular function?

In dbx i have a put a break on a particular function using stop.Like stop function. But it is not stopping there instead when i try to step in using step command I get this error after line 17745: (noname) = @0xf1deaa3c What could be the…
user205688
  • 153
  • 1
  • 1
  • 7
0
votes
1 answer

How to show a tree structure database in Splunk?

How to display a tree structure database table/collection(any database) in Splunk. For example: If we have Parent that has ChildA and ChildB. Further ChildA has ChildA1, ChildA2 and ChildA3. ChildB has ChildB1 and ChildB2. When I choose Parent, it…
Mr Singh
  • 415
  • 1
  • 6
  • 14
0
votes
1 answer

dbx, solaris: selectively enable/disable shared libraries to instrument for memory access check?

(dbx) check -access Turns on access checking an instruments at load time all shared libraries that the application uses. Is there a way to selectively indicate which libraries should/not be instrumented? I have a large application which uses a lot…
Ya.
  • 1,671
  • 4
  • 27
  • 53
0
votes
2 answers

Segmentation fault in AIX for null value of argv

On AIX 6.1, I have a piece of code where the argv is getting set to NULL somehow after a call to strdup. The exact same code was working on Linux, HPUX and Solaris. Here's the excerpt from production code where I am getting core dump: Makefile …
Phalgun
  • 1,181
  • 2
  • 15
  • 42
0
votes
1 answer

How to show/modify the source directories dbx searches?

dbx keeps complaining it can't find the source code. How can i show/modify the source code directories dbx searches when looking for source file?
Mo Tahan
  • 21
  • 4
0
votes
1 answer

How do I print the full value of a long string in dbx?

I want to print the full length of a C-string in dbx. How do I force dbx to print the whole string? if its a long string it gives following msg: (dbx) p svalue expression too large to evaluate (dbx)
Grv
  • 273
  • 3
  • 14
0
votes
1 answer

Shared object load in AIX?

I have a C program hello.c. I created a shared object hello.so. hello.c and hello.so are in directory /u/grv/program/hello.c /u/grv/objects/hello.so respectively LIBPATH is set to /u/grv/objects:$LIBPATH when i use dbx to debug the code..dbx asks me…
Grv
  • 273
  • 3
  • 14