[Bug 1516] regedit generates a segmentation fault

Wine Bugs wine-bugs at winehq.com
Sat Oct 25 14:28:12 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1516





------- Additional Comments From alexander.janssen at gmx.de  2003-25-10 14:28 -------
If you want to run "ls" for example, do the following:

sh-2.05b$ gdb ls
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) r
Starting program: /bin/ls 
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 2659)]
####### output of program here #######
one  three  two  typescript
####### end of output #######
(no debugging symbols found)...
Program exited normally.
(gdb) quit
sh-2.05b$ 

Note that i inserted the "### outpur here###" statements.
However, if you want to run "ls -l" or generally a program with an arguemt, you
have to do a bit more since "gdb ls -l" does not work:

sh-2.05b$ gdb ls
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) set args -l
(gdb) r
Starting program: /bin/ls -l
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 2665)]
total 0
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
-rw-r--r--    1 test     users           0 Oct 25 21:23 one
-rw-r--r--    1 test     users           0 Oct 25 21:23 three
-rw-r--r--    1 test     users           0 Oct 25 21:23 two
-rw-r--r--    1 test     users           0 Oct 25 21:24 typescript
(no debugging symbols found)...(no debugging symbols found)...
Program exited normally.
(gdb) quit

Do the same for wineinstall. If the program crashes, you will land on the gdb
console again. There you have to type "bt" for backtrace.

If everyting fails inside "make install", you would have to do:

$ gdb make
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) set args install
(gdb) r
[... output here ...]
[program crashes here]
(gdb) bt
[lots of stackstrace]
(gdb) quit

Provide the output of your debugging session.

Hope that helps, Alex.



-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list