Re: [dev] Fwd: skvm bug and question

From: Martin Kopta <martin_AT_kopta.eu>
Date: Tue, 9 Feb 2010 22:32:35 +0100

Hi,

  I have nothing to do with this issue but I just noticed something interesting:

$ hg clone http://hg.suckless.org/skvm skvm
requesting all changes
adding changesets
adding manifests
adding file changes
added 28 changesets with 55 changes to 13 files
updating to branch default
12 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd skvm/
$ make
gcc -ggdb -o skvm skvm.c -I/usr/include -I/usr/include/hal -Wall -Wextra
  -std=gnu99 -Wformat-security -Wshadow -Wpointer-arith -ggdb
  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
  -I/usr/lib/dbus-1.0/include -lhal -lhal-storage -ldbus-glib-1 -ldbus-1
  -lpthread -lrt -lgobject-2.0 -lglib-2.0
$ ./skvm --help
./skvm: unrecognized option '--help'
$ make clean
$ make CC=clang
clang -ggdb -o skvm skvm.c -I/usr/include -I/usr/include/hal -Wall -Wextra
  -std=gnu99 -Wformat-security -Wshadow -Wpointer-arith -ggdb
  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
  -I/usr/lib/dbus-1.0/include -lhal -lhal-storage -ldbus-glib-1 -ldbus-1
  -lpthread -lrt -lgobject-2.0 -lglib-2.0
$ ./skvm --help
Segmentation fault
$

Hope this helps somehow..

best regards, dum8d0g

On Tue, Feb 09, 2010 at 08:59:28PM +0000, stateless wrote:
> Hi,
>
> Could you run it through valgrind and attach the output? You can also
> run it under gdb and see where it fails.
>
> thx
>
> On Tue, Feb 9, 2010 at 4:49 PM, Jonas H. <jonas_AT_lophus.org> wrote:
> > On 02/08/2010 06:04 PM, stateless wrote:
> >>
> >> How exactly did you execute skvm?
> >
> > $ skvm --help
> > Segmentation fault
> >
> > I'm using the following version: (current Arch linux User Repository
> > version)
> >
> > $ pacman -Qi skvm-hg
> > Version        : 0.1-1
> > Build Date     : Sun 07 Feb 2010 01:22:21 PM CET
> >
> >
> > So this should be the latest hg tip.
> >
> >
>
Received on Tue Feb 09 2010 - 21:32:35 UTC

This archive was generated by hypermail 2.2.0 : Tue Feb 09 2010 - 21:36:02 UTC