unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* A bug, unless I'm mistaken
@ 2009-02-07  9:43 Michael Burschik
  2009-02-11  0:28 ` Marijn Schouten (hkBst)
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Burschik @ 2009-02-07  9:43 UTC (permalink / raw)
  To: guile-devel

(use-modules (oop goops))

(define-class <test-class> (<class>)
  name)

(make <test-class>)



This makes guile 1.8.5 crash with a segmentation fault on Linux. I don't 
think it should.


Regards

Michael





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A bug, unless I'm mistaken
  2009-02-07  9:43 Michael Burschik
@ 2009-02-11  0:28 ` Marijn Schouten (hkBst)
  2009-02-11  0:52   ` Marijn Schouten (hkBst)
  0 siblings, 1 reply; 5+ messages in thread
From: Marijn Schouten (hkBst) @ 2009-02-11  0:28 UTC (permalink / raw)
  To: Michael Burschik; +Cc: guile-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Burschik wrote:
> (use-modules (oop goops))
> 
> (define-class <test-class> (<class>)
>  name)
> 
> (make <test-class>)
> 
> 
> 
> This makes guile 1.8.5 crash with a segmentation fault on Linux. I don't
> think it should.
> 
> 
> Regards
> 
> Michael
> 
> 
> 

Works for me with 1.8.6 on linux.

- --
Sarcasm puts the iron in irony, cynicism the steel.

Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmSG7sACgkQp/VmCx0OL2z4gQCfRHLe0VJaDo0FLYhxIqIvAaK4
KxYAoLiGth6TLqNICT6wyStWpNKP3j84
=/5Jl
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A bug, unless I'm mistaken
  2009-02-11  0:28 ` Marijn Schouten (hkBst)
@ 2009-02-11  0:52   ` Marijn Schouten (hkBst)
  0 siblings, 0 replies; 5+ messages in thread
From: Marijn Schouten (hkBst) @ 2009-02-11  0:52 UTC (permalink / raw)
  To: Michael Burschik; +Cc: guile-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marijn Schouten (hkBst) wrote:
> Michael Burschik wrote:
>> (use-modules (oop goops))
> 
>> (define-class <test-class> (<class>)
>>  name)
> 
>> (make <test-class>)
> 
> 
> 
>> This makes guile 1.8.5 crash with a segmentation fault on Linux. I don't
>> think it should.
> 
> 
>> Regards
> 
>> Michael
> 
> 
> 
> 
> Works for me with 1.8.6 on linux.

Actually I confirm. The above code appears to work, but any further activity
makes guile segfault:


$ guile
guile> (use-modules (oop goops))

(define-class <test-class> (<class>)
 name)

(make <test-class>)guile> guile> (+ 3 4)
Segmentation fault
marijn@hakbak ~ $ + 3 4)


as you can see, guile did not even consume all the input

Marijn

- --
Sarcasm puts the iron in irony, cynicism the steel.

Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmSIUgACgkQp/VmCx0OL2yzwwCfWr4sNMi7r63T1s4IJgA6BPpZ
t6MAn12ch/vkz9QzIqX1efnDPuaxfZrC
=aFhF
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A bug, unless I'm mistaken
       [not found] <cmu-lmtpd-13985-1234372114-1@mail-imap1.uio.no>
@ 2009-02-11 17:11 ` Kjetil S. Matheussen
  2009-02-11 17:36   ` Kjetil S. Matheussen
  0 siblings, 1 reply; 5+ messages in thread
From: Kjetil S. Matheussen @ 2009-02-11 17:11 UTC (permalink / raw)
  To: guile-devel


"Marijn Schouten (hkBst)":
> Hash: SHA1
>
> Michael Burschik wrote:
>> (use-modules (oop goops))
>>
>> (define-class <test-class> (<class>)
>>  name)
>>
>> (make <test-class>)
>>
>>
>>
>> This makes guile 1.8.5 crash with a segmentation fault on Linux. I don't
>> think it should.
>>
>>
>> Regards
>>
>> Michael
>>
>>
>>
>
> Works for me with 1.8.6 on linux.
>

But it segfaults for me on linux. Gentoo here as well.
Both 1.8.6 and 1.8.4 behave similarly:

kjetil@ttleush ~ $ /usr/bin/guile
guile> (use-modules (oop goops))
guile> (define-class <test-class> (<class>) name)
guile> (make <test-class>)guile> guile> (+ 3 4)
Segmentation fault





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A bug, unless I'm mistaken
  2009-02-11 17:11 ` A bug, unless I'm mistaken Kjetil S. Matheussen
@ 2009-02-11 17:36   ` Kjetil S. Matheussen
  0 siblings, 0 replies; 5+ messages in thread
From: Kjetil S. Matheussen @ 2009-02-11 17:36 UTC (permalink / raw)
  To: Kjetil S. Matheussen; +Cc: guile-devel



On Wed, 11 Feb 2009, Kjetil S. Matheussen wrote:

>
> But it segfaults for me on linux. Gentoo here as well.
> Both 1.8.6 and 1.8.4 behave similarly:
>
> kjetil@ttleush ~ $ /usr/bin/guile
> guile> (use-modules (oop goops))
> guile> (define-class <test-class> (<class>) name)
> guile> (make <test-class>)guile> guile> (+ 3 4)
> Segmentation fault
>

Strange Cut-and-paste error above, but
it segfaults right after evaluating
"(make <test-class>)"

I also get this one from executing dmesg:

guile[10808]: segfault at 608 ip b7f2a2f3 sp bfcaab70 error 4 in libguile.so.17.1.2[b7ed7000+c9000]





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-11 17:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cmu-lmtpd-13985-1234372114-1@mail-imap1.uio.no>
2009-02-11 17:11 ` A bug, unless I'm mistaken Kjetil S. Matheussen
2009-02-11 17:36   ` Kjetil S. Matheussen
2009-02-07  9:43 Michael Burschik
2009-02-11  0:28 ` Marijn Schouten (hkBst)
2009-02-11  0:52   ` Marijn Schouten (hkBst)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).