After executing a exe file, gdb pring many 'VT102', what does this mean?


 
Thread Tools Search this Thread
Top Forums Programming After executing a exe file, gdb pring many 'VT102', what does this mean?
# 1  
Old 12-15-2008
After executing an exe file, gdb print many 'VT102', what does this mean?

(gdb) VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102 VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102 VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102 VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102VT102 VT102VT102

Please give some explanations. Thanks

Last edited by cdbug; 12-15-2008 at 07:50 PM..
# 2  
Old 12-29-2008
This is probably due to the program trying to open the terminal for input. But the terminal is currently opened by gdb and not the program. The terminal emulation would normally be "VT100" or "XTERM" or "VT102" or something. So it looks like the program is unable to open the terminal, not catching the failure condition, and then trying to do something with a NULL pointer, resulting in this output. It's possible to tell gdb to read its input commands from a file, but then you cannot use it interactively. Maybe you can disable the program's attempt to read from the terminal? Or fix the source so that it handles the fail-to-open condition?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Pring starting and ending numbers using UNIX

Hi all, I need to do scrip for printing starting and ending numbers along with count in given file.:wall: Input: a.txt 10000030 10000029 10000028 10000027 10000026 10000024 10000023 10000021 10000018 10000018 10000017 10000016 10000015 10000014 (2 Replies)
Discussion started by: jackbell2013
2 Replies

2. Shell Programming and Scripting

Executing .exe file at WS Server from Unix

Hi We use Unix for our application, I need to execute a .exe file at WS server, I am not sure if its possible with shell scripting. PLease let me know how it can be. Let me know if I am not clear. Thanks in advance. (4 Replies)
Discussion started by: Dharv
4 Replies

3. Programming

GDB No line in file error

Hi, I have a c program i compile with gcc4.5. This elf, if I use gdb and put a breakpoint on main, instead has a breakpoint in a function other than main or says no line in file. I verified the elf is 1 to 1 with source, have all debug symbols for compilation etc. The problem I think is the... (2 Replies)
Discussion started by: dragonpoint
2 Replies

4. Windows & DOS: Issues & Discussions

Hide svchost.exe (dos prompt) when executing scheduled task

hello everyone. I created a java program that will pop up a dialog, and scheduled it as a task. Everything works fine except when the scheduled java program runs and the dialog pops up, there is another dos prompt (svchost.exe) hanging behind the dialog box and doesn't go anywhere until the java... (0 Replies)
Discussion started by: milhan
0 Replies

5. HP-UX

How to run .exe file

Hello, I have an test.exe file under a directory. When i execute the .exe file directory from the prompt, i get following error: $ test.exe <enter> ksh: test.exe: not found How do i solve this error? TIA, Ramesh (1 Reply)
Discussion started by: brap45
1 Replies

6. UNIX for Dummies Questions & Answers

Vt102

whenever i type ls coomand i get this code after the prompt...anyone knows what it stands for? thanx. (2 Replies)
Discussion started by: fiol73
2 Replies

7. Programming

how To edit exe to insert a serial no wich can be usd by runing exe

At time of installation I have to open the resource. and i have to insert a string serial number in the exe. please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies

8. UNIX for Advanced & Expert Users

.exe file

Hello all, how to run windows .exe file in Linux and vice the versa (3 Replies)
Discussion started by: rajashekaran
3 Replies

9. Programming

about exe file

Hi, I am using dual operating system(windows/linux) in my system.Now the problem is i want to run my .exe(of c languege) before system ask for loading of operating system.Like my system ask for linux or dos.I want to run my .exe before this. Tell me how can i use this. (2 Replies)
Discussion started by: at_renai2001
2 Replies
Login or Register to Ask a Question