Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Error on my SWF embroidery machine

This thread is locked; no one can reply to it. rss feed Print
Error on my SWF embroidery machine
beritch1
Member #15,873
February 2015

Dear allegro people,

I am getting an Allegro error on my SWF embroidery machine which occurred after the electricity was cut. When I started the machine afterwards it gives me this text message:
Shutting down allegro due to signal SIGSEGV general protection fault at eip=00000224 .

Now I am not a programmer, so I was wondering if there is a way of resetting the programme????

Thomas Fjellstrom
Member #476
June 2000
avatar

That means the program crashed, and we can't really help figure it out without knowing more details or having access to the code.

Short of that, I can only suggest resetting whatever settings are on that machine. wipe it clean back to original state, and it should work like it did before the crashes.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Mark Oates
Member #1,146
March 2001
avatar

wipe it clean back to original state, and it should work like it did before the crashes.

{"name":"609201","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/a\/ca2f6798e9e3d805463742ef73215a59.jpg","w":1920,"h":1080,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/a\/ca2f6798e9e3d805463742ef73215a59"}609201

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

beoran
Member #12,636
March 2011

Is this one of these machines?
http://www.swfeast.com/embroidery-machines
Anyway, interesting to know they used Allegro for their UI. However, we are not responsible for enforcing the proper use of the Allegro library. Contact SWF for support.

pkrcel
Member #14,001
February 2012

It's clearly an (embedded I hope) linux system, COOL to know Allegro made it on something like this.

But Beoran's right, you should contact SwF support as this most probably has to be fixed but firmware reset, and might be not possible for the everyday user by design, since this is an professional appliance.

It is unlikely that Google shares your distaste for capitalism. - Derezo
If one had the eternity of time, one would do things later. - Johan Halmén

beritch1
Member #15,873
February 2015

Thank you, it is kind of you to help me. I have enclosed some screendumps, maybe you have an idea, what to do. Like you say, I think it needs a reset, but I do not have a reset button on the machine.

Shutting down exiting allegro duo to signal SIGSEGV
General protection fault at eip =00000224
general protection eip=3c52:flags =3006
error=00ac
D:\)_

I was quite astonished to see that the programme was primarily a gaming programme too ;-)

It is a machine looking like the link, yes.

pkrcel
Member #14,001
February 2012

It looks like an X86 running DOS (?!). wEIRD.

Anyway you're beffer off contacting your local representative for SWF, I don't think there's a way for the user to reset to factory settings on this kind of hardware, but you never know.

EDIT:
By the way, it could also be that the improper shutdown damaged some othe component and the firmware is shutting down the UI application....it could very well be that Allegro shuts down correctly and the segfault is caused by something else.

In this case resetting to factory settings woudl not help.

and to be perfectly clear, here I don't think we have a way to help you further, unfortunately.

It is unlikely that Google shares your distaste for capitalism. - Derezo
If one had the eternity of time, one would do things later. - Johan Halmén

bamccaig
Member #7,536
July 2006
avatar

This isn't the only software project called "Allegro". There is also an Allegro Lisp, for example. I don't see any reason to believe that the Allegro in use on this device is the Allegro game programming library... I'd be quite surprised if it was. Some other embedded system seems far more likely. You guys are all n00bs for jumping to the conclusion that liballeg is used in this machine... For shame. :-[

https://www.google.ca/search?q=allegro+embedded

I don't mean you, OP. How could you have known...? I'm sorry these n00bs have mislead you. :P They should know better.

Chris Katko
Member #1,881
January 2002
avatar

If it's an old machine, and it's running DOS, it's entirely possible that the hard drive is dying, or the memory is faulty. If you have access to the internals, unplugging and reinserting the RAM could help. But since it's consistantly failing, that's more likely the harddrive or software installed on the harddrive.

Either way, though, as neat as it is knowing Allegro is used on those, we cannot really help over the internet. SWF is definitely the one to contact.

bamccaig said:

This isn't the only software project called "Allegro".

How many projects do you know of that still support DOS. ::) Hang on, I better make sure we're not talking about a .NET library for ARM processors.

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

bamccaig
Member #7,536
July 2006
avatar

{"name":"facepalm.gif","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/0\/0\/004f7b26306d99397fe2f849283cdf3c.gif","w":512,"h":384,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/0\/0\/004f7b26306d99397fe2f849283cdf3c"}facepalm.gif

pkrcel
Member #14,001
February 2012

bamccaig said:

his isn't the only software project called "Allegro".

Of course not, my very first encoounter with Allegro was in CAD environment, but this in this case seemed likely to be.

And in any case this does not change the matter, we could not help with that...as likely the other Allegro components....the OP should refer to SWF support.

It is unlikely that Google shares your distaste for capitalism. - Derezo
If one had the eternity of time, one would do things later. - Johan Halmén

Chris Katko
Member #1,881
January 2002
avatar

{"name":"KL26GLQ.gif","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/e\/1e18f10ff827c69ae023008c4d718394.gif","w":512,"h":384,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/e\/1e18f10ff827c69ae023008c4d718394"}KL26GLQ.gif

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

Thomas Fjellstrom
Member #476
June 2000
avatar

The message from the crash is a clear indication it's allegro 3 or 4. Allegro hooks the SIGSEGV and then prints it's message (I presume it also tries to clean up before exiting, which is kindof dumb to do during a segfault). And no, it isn't embeded linux, it's clearly DOS.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

LennyLen
Member #5,313
December 2004
avatar

The message from the crash is a clear indication it's allegro 3 or 4. Allegro hooks the SIGSEGV and then prints it's message (I presume it also tries to clean up before exiting, which is kindof dumb to do during a segfault).

I remember that error message well. I used to get it a lot with Allegro back in the DOS days.

Chris Katko
Member #1,881
January 2002
avatar

Same here. Especially if I touched a bitmap pointer that didn't point to anything anymore.

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

Go to: